WCF REST service hosted in Windows service not working without IIS installation -


i have developed rest service using wcf , hosted in windows service , works fine on machine has iis installed, not on machine not have iis. on machine has no iis, if browse http://localhost, says "cannot display webpage". need install iis working, though wcf service not hosted in it?

no, iis not required. reason can not brows localhost because going port 80 default, , because have no iis, there nothing there direct to webpage. (not unless had windows service take in http request on port 80 , send html page, weird.)

but in short, not need iis run windows services.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -