Microsoft 9GD00001 Computer Accessories User Manual


 
322 Microsoft Visual Studio 2010: A Beginner’s Guide
TIP
You must run VS as Administrator to publish. To do this, close VS (if running), locate the
VS Start menu item (don’t click yet), right-click, and select Run As Administrator.
The technique used in the preceding section to create a Web site distinguished the Web
site by making it run on port 8080. Although the Web site is named WcfDemo, it’s located
on the local machine, whose domain is localhost. If you deployed the W
eb service to a site
that already had a domain, you would use that domain name. For example, the domain for
the C# Station community site is csharp-station.com, which is addressed as http://www.
csharp-station.com. Each Web service at a location is addressed by a *.svc file name and
the name that VS creates is called WcfDemoCS.CustomerService.svc. Putting the pieces
of WcfDemo site together results in an address of http://localhost:8080/WcfDemoCS.
CustomerService.svc.
Figure 11-9 The Authentication And Authorization window