网站与Web应用程序项目 [英] Web site vs Web Application Project

查看:118
本文介绍了网站与Web应用程序项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



您更喜欢哪种项目类型?网站或网络应用程序

项目是最佳解决方案吗?我即将编写的应用程序是完全新的,因此从vs 2003迁移不是问题,但它必须易于部署应用程序(预编译,我我不想给我的消息来源



Hi,
Which project type do you prefer? Is the web site or web application
project the best solution? The application I am about to write is
completly new so migrating from vs 2003 is not an issue, but it has to
be easy to deploy the application (precompiled, I don''t want to give
away my source)

推荐答案

最初,Visual Studio 2005做了不提供Web应用程序项目。这个原因

就是它只是一个大PITA而且完全不合逻辑。当我第一次使用VS2005并且在使用网站时看到这种改变的行为时,我只是在这个问题上欢呼雀跃。对我而言,

VS2003中的整个Web应用程序行为绝对是令人愤怒的,完全是asinine。但是,这里有两个选项的良好细分(链接

以下)。也许这仅仅是因为我头脑中潜意识的偏见,但我发誓这篇文章正在反对网络应用程序项目。

http://msdn2.microsoft.com /en-us/lib...80(vs.80).aspx


Ray at work

< ny *** ********@gmail.com在留言中写道

新闻:11 ********************** @ b58g2000hsg。 googlegr oups.com ...
Originally, Visual Studio 2005 did not offer a Web app project. The reason
for this is that it was just a big PITA and totally illogical. When I first
used VS2005 and saw this changed behavior in working with a Web site, I just
about cried out in joy over this. To me, the whole Web app behavior in
VS2003 was absolutely infuriating and totally asinine. But, here''s (link
below) a good breakdown of both options. Perhaps this is just because of a
subconscious bias in my head, but I swear this article is rallying against
the Web app project.

http://msdn2.microsoft.com/en-us/lib...80(vs.80).aspx

Ray at work
<ny***********@gmail.comwrote in message
news:11**********************@b58g2000hsg.googlegr oups.com...

您好,

您更喜欢哪种项目类型?网站或网络应用程序

项目是最佳解决方案吗?我即将编写的应用程序是完全新的,因此从vs 2003迁移不是问题,但它必须易于部署应用程序(预编译,我我不想给我的消息来源


Hi,
Which project type do you prefer? Is the web site or web application
project the best solution? The application I am about to write is
completly new so migrating from vs 2003 is not an issue, but it has to
be easy to deploy the application (precompiled, I don''t want to give
away my source)


4月20日下午1:03,nyhetsgrup .. 。@ gmail.com写道:
On Apr 20, 1:03 pm, nyhetsgrup...@gmail.com wrote:

您好,

您更喜欢哪种项目类型?网站或网络应用程序

项目是最佳解决方案吗?我即将编写的应用程序是完全新的,因此从vs 2003迁移不是问题,但它必须易于部署应用程序(预编译,我我不想给我的消息来源


Hi,
Which project type do you prefer? Is the web site or web application
project the best solution? The application I am about to write is
completly new so migrating from vs 2003 is not an issue, but it has to
be easy to deploy the application (precompiled, I don''t want to give
away my source)



比较网站项目和网络应用程序项目
http://msdn2.microsoft.com/en- us / lib ... 80(VS.80).aspx

Comparing Web Site Projects and Web Application Projects
http://msdn2.microsoft.com/en-us/lib...80(VS.80).aspx


但是......


在VS2005中,如果你在项目开始时创建一个新的网站,

VS2005 - 凭其智慧 - 将解决方案文件放在另一个文件系统中

项目文件中的树。如果你使用VSS 6.0或Subversion(因此可能是CVS和许多其他源代码控制

系统),这会使源代码控制变得混乱。


解决方案是使用VS2003 Web应用程序模板;或者

(另选)创建一个新的空白解决方案并将新网站添加到空白项目中。然后,您将获得正确的所有内容。地方(从我的

POV,无论如何),即项目文件夹嵌套在解决方案中

文件夹。


必须要做这是一个很大的痛苦,可能是一个主要的原因,因为很多人都会对MS大喊大叫,直到他们把Web应用程序重新设置为
模板。


为了记录,我创建了一个空白的解决方案,然后添加一个VS2005网站

it - 因为我同意在所有其他方面,VS2005网站似乎是< br $>
superior。

彼得


Ray Costanzo <我在第34巷的第一个名字在商业上写的消息

新闻:79 *************************** ******* @ microsof t.com ...
But...

In VS2005, if you create a new web site at the start of your project,
VS2005 - in its wisdom - puts the solution file in a different file system
tree from the project file. This makes a mess of source control if you''re
using VSS 6.0 or Subversion (so presumably CVS and many other source control
sysems as well).

The solution is either to use the VS2003 Web application template; or
(alternatively) to create a new, blank solution and to add a new Web site to
the blank project. You then get everything in the "right" place (from my
POV, anyway) i.e. with the project folders nested inside the solution
folder.

Having to do this is a pain and is probably a major contributing reason as
to why so many people yelled at MS until they put the Web application
template back.

For the record, I create an blank solution and then add a VS2005 Web site to
it - because I agree that in all other respects, VS2005 Web sites seem to be
superior.
Peter

"Ray Costanzo" <my first name at lane 34 dot commercialwrote in message
news:79**********************************@microsof t.com...

最初,Visual Studio 2005没有提供Web应用程序项目。

的原因是它只是一个大的PITA并且完全不合逻辑。

当我第一次使用VS2005并且看到这种改变的行为时使用了

网站,我只是为此高兴地喊道。对我来说,VS2003中的整个Web

应用程序行为绝对令人愤怒,并且完全是asinine。

但是,这里(下面的链接)两个选项的良好细分。也许这只是因为我头脑中存在潜意识偏见,但我发誓这篇

文章正在反对Web应用程序项目。

http://msdn2.microsoft.com /en-us/lib...80(vs.80).aspx


Ray at work


< ny***********@gmail.com在留言中写道

新闻:11 ********************* *@b58g2000hsg.googlegr oups.com ...
Originally, Visual Studio 2005 did not offer a Web app project. The
reason for this is that it was just a big PITA and totally illogical.
When I first used VS2005 and saw this changed behavior in working with a
Web site, I just about cried out in joy over this. To me, the whole Web
app behavior in VS2003 was absolutely infuriating and totally asinine.
But, here''s (link below) a good breakdown of both options. Perhaps this
is just because of a subconscious bias in my head, but I swear this
article is rallying against the Web app project.

http://msdn2.microsoft.com/en-us/lib...80(vs.80).aspx

Ray at work
<ny***********@gmail.comwrote in message
news:11**********************@b58g2000hsg.googlegr oups.com...

>
您更喜欢哪种项目类型?网站或Web应用程序是否是最佳解决方案?我即将编写的应用程序是完全新的,因此从vs 2003迁移不是问题,但它必须易于部署应用程序(预编译,我不想给
离开我的来源)
>Hi,
Which project type do you prefer? Is the web site or web application
project the best solution? The application I am about to write is
completly new so migrating from vs 2003 is not an issue, but it has to
be easy to deploy the application (precompiled, I don''t want to give
away my source)



这篇关于网站与Web应用程序项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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