简体   繁体   English

在iis 6.0中托管asp.net 3.5发布的网站的步骤是什么?

[英]What are the steps to host an asp.net 3.5 published website in iis 6.0?

What are the steps to host an asp.net 3.5 published website in iis 6.0? 在iis 6.0中托管asp.net 3.5发布的网站的步骤是什么? Any suggestion... 任何建议...

在IIS中创建一个虚拟目录,然后使用Visual Studio的“发布”向导来发布站点。

Make sure server has microsoft .net framework 3.5 (with sp1 recommended) runtime installed. 确保服务器安装了Microsoft .net Framework 3.5(建议使用sp1)运行时。 Use web deployment projects for deploying your asp.net application in single output assembly or use web publishing wizard for extract a release build. 使用Web部署项目在单个输出程序集中部署asp.net应用程序,或使用Web发布向导提取发布版本。 Make sure the build does not use debug configuration and it must be in release mode. 确保构建不使用调试配置,并且它必须处于发布模式。 Create a website or virtual diretory and configure it to run under asp.net 2.0. 创建一个网站或虚拟目录,并将其配置为在asp.net 2.0下运行。 You will also need to define under which application pool the application shall run, it could be shared or isolated one. 您还需要定义应用程序应在哪个应用程序池下运行,它可以是共享的也可以是隔离的。 Copy your asp.net build to the root directory of the website or the virtual directory and you're good to go.. 将您的asp.net版本复制到网站的根目录或虚拟目录中,就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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