VS 2008 的“转换为网站"有什么用?意思? [英] What does VS 2008's "Convert to Website" mean?

查看:32
本文介绍了VS 2008 的“转换为网站"有什么用?意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 MS Visual Studio 应用程序从 VS 2003 升级到 VS 2008(面向 .NET 2.0).作为转换过程的一部分,向导说我需要采取额外的步骤,通过右键单击将我的项目转换为网站,等等……

I have upgraded a MS Visual Studio Application from VS 2003 to VS 2008 (Targeting .NET 2.0). As part of the conversion process the wizard said I needed to take the additional step of Converting my Project to a Website by Right-Clicking and blah blah blah...

我没有按照说明进行操作,网络应用程序似乎运行良好.

I didn't follow directions and the web application seems to be working fine.

我的问题是,我是否应该担心将其推送到生产系统?这里到底发生了什么?

My question is, should I be concerned about pushing this to a production system? What exactly is going on here?

推荐答案

在 ASP.NET 中有两种类型的 Web 应用程序:网站和 Web 应用程序项目.此处讨论两者之间的区别:

There are two types of web applications in ASP.NET: The Web Site and Web Application Project. The difference between the two are discussed here:

网站和网络应用程序之间的区别可视化工作室 2005

转换为网站允许您将 Web 应用程序项目转换为网站.

Convert to Website allows you to convert a Web Application Project to a Web Site.

Visual Studio 2003 使用 Web 应用程序项目样式,但最初 VS2005 仅支持网站.VS2005 SP1 带回了 Web 应用程序.

Visual Studio 2003 used the Web Application Project style, but initially VS2005 only supported web sites. VS2005 SP1 brought back Web Applications.

如果您不想将项目转换为网站,如果您使用的是 VS2005,请应用 SP1.VS2008 都可以支持.

If you don't want to convert your project to a web site, apply SP1 if you're using VS2005. VS2008 can support either.

这篇关于VS 2008 的“转换为网站"有什么用?意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆