Skip to main content

Posts

Showing posts from April, 2011

New Features in WCF 4

1. New features in WCF4 a. Simplified configuration b. Discovery c. Routing Service d. WCF WebHttp Services e. Workflow Services f. Advanced Features 2. WCF 3.x required at least one endpoint to be defined. WCF 4 comes with a default endpoint for each address/contract. 3. The moment you configure even a single endpoint for your service all the default endpoint will disappear. 4. You could also further add default endpoints in code after configuring your custom endpoints using AddDefaultEndpoints(). 5. To modify default behaviors simply add a behavior and do not give any name to it. 6. We no longer need .svc files and instead use the configuration as follows a. System.serviceModel/serviceHostingEnvironment/serviceActivations/Add <add relativeAddress=”Greeting.svc” Service=”GreetingService” /> 7. There are two types of Service Discovery a. Adhoc – within local subnet (LAN) using UDP b. Managed – outside but managed network us...