Home > Microsoft .Net Development Tips > .NET Developer > Nick Allen's tips for developing SOA for .NET
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

.NET DEVELOPER

Nick Allen's tips for developing SOA for .NET


George Lawton
05.14.2008
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Windows Communication Foundation (WCF) is SOA for MS and Nicholas Allen tells developers how to make it work. Allen - a program manager at Microsoft working on BizTalk Server, Windows Communication Foundation and other projects for the .NET Framework - provides some valuable tips and tricks for getting the most out of your WCF development efforts. Here are some highlights of some of his most popular blogs.

If you have moved over to Windows Vista, you might have run into problems running HTTP services. In Configuring HTTP for Windows Vista, Allen explains that the problems may occur because many developers are not running with administrator privileges by default, as they were on earlier platforms. In Windows 2003, the administrator could just add other users in the httpcfg.exe tool. On Vista, you are going to need to learn the intricacies of the netsh.exe tool to do the same thing.

In "Inside the Standard Bindings," Allen covers how to set up the most common bindings in your WCF apps. NetTCP binding is the most popular choice for communicating over an Internet. It is faster than HTTP, but only works for WCF. BasicHTTP allows connectivity with other applications via SOAP and HTTP protocols.

Poison messages are permanently unprocessable, which can lock an application in an infinite loop, sucking the life out of your application. In MSMQ and Poison Messages, Allen explains the primary strategy MSMQ uses for poison messages. The application needs to set a threshold of attempts for determining if a message is not getting processed. In MSMQ 3 these got moved to a dead letter box that had to be manually cleared. MSMQ 4 adds another step to retry the queue without burdening the administrator or the application.

In Making Sense of Transport Quotas, Allen explains how transport quotas prevent Denial of Service (DoS) atta


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
.NET Developer
How to speed up Visual Studio 2008's slow WPF designer
How to list fonts in WPF using markup extensions and data templates
How to convince management to buy Microsoft Visual Studio 2008
Microsoft webcast series previews new Visual Studio 2010 features
New features in Windows 7 bring new UI considerations for developers
User Account Control (UAC): How to develop code for standard users
Introduction to Vista's user account control (UAC) for developers
Visual Studio 2008 code metrics tools will help keep code clean
Downloadable MSDN library released for VS 2008 SP 1
Widgetbox provides good example of how to use Facebook Developer Toolkit

.NET Framework application development
.NET 3.5 SP1 set to arrive - offers ADO.NET updates, ease-of-install
MiniGuide: Parallel programming in .NET
Visual Studio Team System Add-ins: Conchango Scrum for Team System and Scrum Dashboard
Infragistics Silverlight 2.0 chart and gauge components released
Book Excerpt: Sams Teach Yourself Visual Basic 2008 in 24 Hours -- Complete Starter Kit
Silverlight and Parallel .NET updates due from Microsoft
Check out CodePlex for a ton of interesting .NET projects
Microsoft delivers upgrades in .Net 3.5 SP1 Beta
Gates to show TouchWall to CEOs
Microsoft Popfly turns online visual tools to good use
.NET Framework application development Research

.NET Framework application testing and security
Rise of .NET enterprise apps drives need for performance management
Advanced Windows Debugging Book Chapter and Podcast

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
reparse point  (SearchWinDevelopment.com)
Visual Basic  (SearchWinDevelopment.com)
Visual Basic .NET  (SearchWinDevelopment.com)
Visual InterDev  (SearchWinDevelopment.com)
Visual Studio .NET  (SearchWinDevelopment.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


cks by setting a hard limit on network usage. In general, the developer does not need to touch these unless an installation is running out of resources or connections are being limited despite resource availability. The three main types of quotas are one) Timeouts; two) Memory allocation limits; and three) Collection size limits that bound indirectly allocated resource consumption.

In this How to Enable Streaming blog posting, Allen describes how to scale up your application and how turning on streaming can reduce the need for large memory buffers, particularly for larger messages. By default, this is turned off and all messages are sent using buffered transfers. But there are restrictions imposed by streaming such as one) A single input/and or output parameter; two) No support for Reliable Messaging, Transaction and SOAP security; and three) SOAP headers are always buffered.

Network Address Translators and Firewalls can get in the way of the direct path between the client and server. Allen spells out in great detail some of the different issues and fixes for integrating WCF communications through an organization's infrastructure. NAT allows multiple machines to share a single IP address. This is great for sharing a DSL modem in an office, but makes it more difficult to deliver WCF messages to the right client. Firewalls examine packets and discard what they don't like. They could prove problematic when an employee is trying to get work done from home. On the NAT side, one solution is Teredo, IPV6 translation technology.

When a developer turns off anonymous access to improve security, Allen points out in Preventing Anonymous Access that you must change it in both the IIS and service configuration settings. This can be tricky because some calls, such as TransportCredentialOnly are not supported by every binding.


Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts