endpoint.tv Screencast - Hosting WCF Services in Windows Services
- Posted: Oct 29, 2008 at 8:00 AM
- 33,319 Views
- 5 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
good video..
good explanation and thanks for ur video tutorials. which is helpfull for me very much......
Good explanation and nice tutorials for beginners.thanks for uploading this video for free use.
I have been doing the video tutorial on WCF. However, on trying to start the service on EvalServiceHost in Services, i get the following error
"Error 1053: The service did not respond to the start or control request in a timely fashion"
Notes:
Add System.ServiceModel to bring in the WCF namespaces. Add reference to service project.
Create a new ServiceHost(typeof(MyService)). Use host.Open() and host.Close() in OnStart and OnStop, respectively.
Copy app.config from the WCF service library to the Windows service project, possibly editing (e.g. metadata behavior).
In design view, right-click and "add installer". For 'serviceProcessInstaller', maybe change the account to "LocalSystem" (to register http endpoints with httpsys [whatever that means]).
Use 'installutil' from the commandline (e.g. installutil WindowServiceHost.exe) to install the service. Then use 'services.msc' snap-in to start/stop/edit windows service. If you start the service, you can browse to the endpoint URL (e.g. http://localhost:8080/evalservice) to see the documentation and WSDL.
Remove this comment
Remove this thread
close