Navigation


RSS: Matt Pavey RSS Feed



Thursday, August 12, 2010 @ 3:40 pm,WCF,Matt Pavey

"... it appears this is caused by the usage of multiple platforms. It appears that the configuration is only created when consuming the service on my Windows 7 development box, but then not recognized by other platforms such as Windows Server 2003... However due to its staged rollout, it is not fully supported and hence the above errors are generated."

"The fix? Simple for the time being. Just remove the tag and redeploy the configuration."

http://allen-conway-dotnet.blogspot.com/2010/03/dealing-with-unrecognized-element.html


Monday, May 24, 2010 @ 5:36 pm,WCF,Matt Pavey

"By default, WCF services do not return information from unhandled exceptions to protect sensitive data. Exception data contains low-level information about the implementation of a service that can be used by attackers to compromise a Web service. During development, it is often necessary to view this information to troubleshoot issues with the service. As a result, WCF provides the ability to configure a service to return information from unhandled exceptions."
 


Friday, April 23, 2010 @ 12:24 pm,WCF,Matt Pavey

HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension of the configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

  • Start the command window (cmd) as an Administrator.
  • C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\
  • Run the following command: ServiceModelReg –i

http://blogs.microsoft.co.il/blogs/bursteg/archive/2008/12/01/wcf-on-iis7-on-vista-adding-svc-handler.aspx


Monday, January 12, 2009 @ 8:54 pm,WCF,Matt Pavey

"These hosting options range from running inside a console application to server environments such as a Windows service running within a worker process managed by Internet Information Services (IIS) or by Windows Process Activation Service (WAS). Developers choose the hosting environment that satisfies the service's deployment requirements. These requirements might derive from the platform on which the application is deployed, the transport on which it must send and receive messages, or on the type of process recycling and other process management required to ensure adequate availability, or on some other management or reliability requirements."
 
 
The article above provides some great information on how to use the different hosting services and explains in detail the key benefits and limitations to each.
 
For more specific information about each hosting service check out the following links also referenced in the above article:
 
 
These links were very helpful in understanding the different hosting options available for WCF services and more importantly understanding the right hosting environment to use based on  "... the version of Windows on which it is deployed, the transports it requires to send messages and the type of process and application domain recycling it requires."


Monday, January 12, 2009 @ 8:34 pm,WCF,Matt Pavey

If you are just getting started with Windows Communication Foundation (WCF) here's a great resource with videos that really help get you moving in the right direction.
 
The videos will make more sense if watched in the following order:
 
 
The videos demonstrate the following:
 
- Creating a WCF service
- Configuring a WCF service with various endpoints
- How to host a WCF service in IIS
- How to self-host a WCF service in your own applications
 
For additional information on WCF, check out the WCF Dev Center on MSDN and the .NET Endpoint team blog.


The opinions expressed on this website are my personal opinions
and do not represent my employer's or my clients' views in any way.