WCF ServiceHost Custom Config from AppSettings

 hi All the code snippet below would create a simple service host loaded from a normal app.config instead of having to understand the complex WCF service configuration this is how we would initiate the servicehost.. MyFramework.ServiceModel.WCFService<IHelloWorld, HelloWorldImpl> sh = new WCFService<IHelloWorld, HelloWorldImpl>();  this is how the Servicehost override would look like .. using System; using System.Collections.Generic;…

0

Override Default Xml Serialization

This is some hidden fact about xml serializers in .Net.  There is an option is to use a special pattern to create a Boolean field recognized by the XmlSerializer, and to apply the XmlIgnoreAttribute to the field. The pattern is created in the form of propertyNameSpecified. For example, if there is a field named “MyFirstName”…

0

WCF .NET 4.0 RoadMap

  .NET 4.0 brings several improvements in the areas of WCF and WF, including improved REST capabilities, a new workflow model, seamless integration between WF and WCF, and a new visual designer. It also provides the ability to author completely declarative (XAML-based) workflow services that can be more easily deployed, hosted, and managed   WCF…

0