How to create a Web site using Visual Studio 2008 WEB
This article mainly shows you "how to use Visual Studio 2008 WEB to create a website", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use Visual Studio 2008 WEB to create a website" this article.
This problem occurs when you create a Web site using Visual Studio 2008 WEB and select the HTTP or FTP hosting option instead of the default File system option. If you use the add New item command to add a WCF service to a Web site, the service will be added, but it may not work as expected.
This problem occurs when you create a Web site using Visual Studio 2008 WEB and select the HTTP or FTP hosting option instead of the default File system option. If you use the add New item command to add a WCF service with AJAX enabled to the site, the service will be added, but it may not work as expected.
You can use one of the following workarounds to resolve this problem:
Use the ASP.NET Web application project type (instead of the Web site solution). Use the File system hosting option (instead of HTTP or FTP).
If you must use a Web site with HTTP or FTP, add a WCF service with AJAX enabled, and then modify the resulting web.config file as follows. The element contains an element, and you must remove the namespace information from all and elements.
For example:
Visual Studio 2008 WEB initially generated configuration
Service > services >
Visual Studio 2008 WEB repaired configuration
Service > services > above is all the content of the article "how to create a website with Visual Studio 2008 WEB". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!