Click here to Skip to main content
16,016,391 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
"http://localhost:8732/Design_Time_Addresses/WcfMathServLib/MathService/" />


what is Design_Time_Addresses in above uri used in App.config file in WCF ?
Posted

1 solution

NET 3.5 creates an ACL (Access Control List) for the namespace "http://+:8731/Design_Time_Addresses" during the installation of Visual Studio so users without administrator privilege are able to develop WCF services. The ACL is set to (UI), which includes all interactive users logged on to the machine. Administrators can add or remove users from this ACL, or open additional ports.

This ACL enables WCF or WF templates to send and receive data in their default configuration. It also enables users to use the WCF Service Auto Host (wcfSvcHost.exe) without granting them administrator privileges.

You can modify access using the netsh.exe tool in Windows Vista under the elevated administrator account. The following is an example of using netsh.exe.

netsh http add urlacl url=http://+:9002/MyService user=\

TIP: If you are developing as Administrator and also you have disabled Windows Vista UAC (User Account Control), then you shouldn't have to deal with this matter. You could choose any URI you want. But, you'd better do a good testing with no Administrators users before deploying your WCF Service, or you'll be facing this security control when you don't have time to deal with it (deployment phase, production environment, etc.). ;-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900