Monday, September 12, 2011

Multiple Start-Up Projects in "Visual Studio"

Right Click on solution and select theSet StartUp projects as shown below.


Select the multiple projects radio button as shown below and set the active action to "start" for selected projects.


Self-hosting WCF Services


Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

If you install DotNet framework 4.0 on IIS server and then enable DotNet 3.0 or 3.5 WCF features, you might see following error when browse your application site made of ASP.NET 4.0 (or run on ASP.NET 4.0 application pool).

Resolution:
  To resolve this issue, run the following from Visual Studio command prompt:
  aspnet_regiis.exe -iru

Hosting WCF Services in IIS

"Hosting WCF Services in IIS"

Configuring Services with Endpoints

"Configuring Services with Endpoints"