Why / how to migrate a self-service WCF service to IIS7?

I wrote several WCF services that I started as independently for development and debugging. Now I have a web server, and I am considering whether there are any reasons for changing my services to work under IIS 7 ... and if so, how? ..

+3
source share
4 answers

There is an article on MSDN that discusses various WCF hosting . Here's what he has to say about Self Hosting:

The following are the benefits of self-hosting:

  • Easy to use: with just a few lines of code, your service works for you.
  • : Open() Close() ServiceHost.
  • : WCF, , , .
  • : , Windows , xcopy. .. Windows, WCF ServiceHost.
  • : Self-hosting . Windows XP Windows Server 2003 IIS HTTP.

:

  • : .
  • . , , , , . , WCF , ; , IIS .
+4

:)

: net.tcp WCF IIS. . HTTP WCF .

+1

VS2010 "WCF Service Application". , . , , VS2010 , IIS, " " .

+1

. , IIS:

1: WCF.NET Framework 4

2. WCF.
3: Service1.scv( ) " ". : code <% @ServiceHost Language = "#" Debug = "true" Service = "WcfService4.Service1" CodeBehind = " Service1.svc.cs" % > .
4: "... Service1" DLL. CodeBehind = "Service1.svc.cs".
5: , /. " ...".
6: /yourpage/Service1.scv

+1

All Articles