简体   繁体   中英

Add new virtual directory under IIS6 Default Web Site and change the .net Framework to 4.0

I have windows 2003 and IIS6. I have a WCF service written in .net 4.0. Default web site under IIS6 runs under .net 2.0. How can I add new virtual directory that will point to my wcf service which will be running under .net 4.0? Currently under Default web sites there are 3 web sites running. I know I can simply add new web site but then I will have to run it using different port, isn't right?

You will first need to install .Net 4.0 in IIS 6. You can do this with the Web Platform Installer . Once this is done you can set the framework version of the virtual directory from the ASP.NET tab on the virtual directory property sheet. You may also need to enable ASP.NET 4.0 under Web Service Extensions .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM