c# - When creating a WCF in vs.net, how can I run and view a web page with all the endpoints? -
when hit f5 doesn't fire web browser end points exposed.
how behavoir service?
my web.config looks like:
<?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetframework="4.0" /> </system.web> <system.servicemodel> <behaviors> <servicebehaviors> <behavior> <!-- avoid disclosing metadata information, set value below false , remove metadata endpoint above before deployment --> <servicemetadata httpgetenabled="true"/> <!-- receive exception details in faults debugging purposes, set value below true. set false before deployment avoid disclosing exception information --> <servicedebug includeexceptiondetailinfaults="false"/> </behavior> </servicebehaviors> </behaviors> <servicehostingenvironment multiplesitebindingsenabled="true" /> </system.servicemodel> <system.webserver> <modules runallmanagedmodulesforallrequests="true"/> </system.webserver> </configuration>
it won't. should run wcf service hosting window if set project wcf service project. view in browser you'll need manually browse address it's being hosted at.
Comments
Post a Comment