Reputation: 21178
I've add a project type of WCF Service Library to my project. Doing this has allowed me to develop and test a WCF Service, however this service runs off an App.config and not Web.config. In addition, it has no .SVC file like my prior projects. What do I need to do in order to deploy this to IIS 6.
Regards.
Upvotes: 4
Views: 8006
Reputation:
If you're on Visual Studio 2008 SP1, there is actually a publish feature from the WCF Service Library template which you can use to publish to IIS. It's available through the Build menu, or from the context menu when you right-mouse-click on the project from Solution Explorer.
Upvotes: 5
Reputation: 754468
Basically four steps:
<system.serviceModel>
part from your app.config and put it in web.configAdd an MyService.svc
file to that directory which contains :
That's about all there is to it!
Marc
Upvotes: 9