473,614 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web site vs Web Application Project

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)

Apr 20 '07 #1
19 1865
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.goo glegroups.com.. .
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)
Apr 20 '07 #2
On Apr 20, 1:03 pm, nyhetsgrup...@g mail.com wrote:
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)
Comparing Web Site Projects and Web Application Projects
http://msdn2.microsoft.com/en-us/lib...80(VS.80).aspx

Apr 20 '07 #3
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******** *************** ***********@mic rosoft.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.goo glegroups.com.. .
>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)

Apr 20 '07 #4
"Ray Costanzo" <my first name at lane 34 dot commercialwrote in message
news:79******** *************** ***********@mic rosoft.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.
I disagree totally!

I cannot abide the web site model, and was overjoyed when the WAP add-on for
VS.NET 2005 was released.
Apr 20 '07 #5
Avoiding the fiery debate, it's important to point out that microsoft is
committed to supporting both models going forward.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
<ny***********@ gmail.comwrote in message
news:11******** **************@ b58g2000hsg.goo glegroups.com.. .
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)

Apr 20 '07 #6
I personally like that the SLN is elsewhere. When I setup projects in
source control, I do not include the SLN file. To me, an SLN is a personal
thing. When you're working on an application that has 30 projects, it
should be up to each developer to create his own solution (or multiple
solutions depending on which hat he's wearing that day) and just add the
projects he needs from source control. Nothing's more annoying than working
on a project with just 4 or 5 files, but having to open 30 projects to do so
because of a communal SLN!

Ray at work

"Peter Bradley" <pb******@uwic. ac.ukwrote in message
news:eE******** ******@TK2MSFTN GP04.phx.gbl...
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******** *************** ***********@mic rosoft.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.go oglegroups.com. ..
>>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)

Apr 20 '07 #7
I guess that's the reason they offered the add-in. Each of us has his own
preference. :] Thanks MS!

Ray at work

"Mark Rae" <ma**@markNOSPA Mrae.netwrote in message
news:uN******** ******@TK2MSFTN GP02.phx.gbl...
I disagree totally!

I cannot abide the web site model, and was overjoyed when the WAP add-on
for VS.NET 2005 was released.
Apr 20 '07 #8
Hi,

Mark Rae wrote:
>
I disagree totally!

I cannot abide the web site model, and was overjoyed when the WAP add-on for
VS.NET 2005 was released.
The simple fact that the WAP was pushed very much by Scott Guthrie
should be enough to make one think that this is really the way to go.
This guy is my personal hero.

OTOH, I imagine that he was supervising the team that came with the
website model too, so...

Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Apr 20 '07 #9
Hi,

ny***********@g mail.com wrote:
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)
IMHO, the web site model is good for websites, and the web application
model is good for web applications. I guess it all depends how you
consider what you write. The website model is nice if you want to update
only certain files (including source code) without changing the whole
rest. I think that web developers nowadays, however, work rather on web
applications, where the whole "package" must be tested and released
consistently.

Ask yourself: Do you want to version your site as a whole? If the answer
is yes, then you're probably rather writing a web application, and
should use the WAP.

Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Apr 20 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
3065
by: Me | last post by:
I would like to redesign my existing site into php using classes. I am not the most experienced developer with PHP, and would like to know if anyone can give me some input on a starting point for a class library. Basically, the idea is to have as much of the content served dynamically, using a mySQL database. My catalog site has grown to over 1,100 pages, and is continuing to grow. It's getting ridiculous to keep performing manual...
5
2511
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant applications. I am testing an upgrade of all of the sites and have converted the main root site...although not necessarily fixed any issues. I move on instead and converted one of the virtual roots that is a seperate
2
2048
by: Rob Dob | last post by:
Hi, How do I go about installing another Web Site Project inside my existing VS2005 website project. I currently have both a forum WSP and my main WSP application within the same solution. Both compile and run without error. However they are separate applications and I would like to have them together in order to make use of my masterpages, and share controls between. Do I need to combine the web.config files? I figured I would just...
3
1497
by: Tom | last post by:
I did a Build --Publish web site last night on my web app, It publish correctly but it created 12 DLL's for it. Is there a way to only get 1 dll for the entire web project like in 03 or a is there another way to publish from my local box to the test web server? what is the best way to publish an .NET 05 web site to a server? Also for publishing updates to the web site how does that work because I have to drag and drop dll's that I'm...
4
2188
by: Per Bolmstedt | last post by:
(This question has been asked previously in this group, but I don't think it was ever really properly answered.) I want to use reflection - preferably - to find all Web Forms in my web site that inherit my base page class (which in turn inherits System.Web.UI.Page). Behold the following code: For Each asm As System.Reflection.Assembly In System.AppDomain.CurrentDomain.GetAssemblies() For Each mdl As System.Reflection.Module In...
3
1368
by: Timbo | last post by:
This is a really weird one and very odd. I have written a web site using VS2005 and .Net 2.0, all works very well when running it locally. However when I publish it to my web server (hosted by HELM), I get unknown errors when I connect to some of the aspx pages, however if I keep surfing around my web site the pages suddenly start working for no apparent reason. Once each page has been displayed at least once that particular page won't...
4
20395
by: Hafner Avi | last post by:
Hi, I am trying to find out what is the difference between Web-Site and Web-Application-Project in Visual Studio 2005 ? People – what do you recommend ?
3
1492
by: =?Utf-8?B?RnJlZCBCcnVuZXQ=?= | last post by:
Have a web site project with only a few pages. The site is in a solution that has about 20 projects that are business objects that the site is dependent on. When I do a build the compiler says "Build succeeded" in about 5 seconds but then the screen is frozen for about 40 or more seconds after that. The solution explorer and other IDE parts go blank and redraw during that time. What is happening during the 40 seconds after the build and how...
0
2551
by: rmgalante | last post by:
I was developing a large web site in VS 2005 as a web site project. I was having problems with the VS 2005 publish tool. It was slow, and provided no feedback. It has other issues as outlined below. Here is my solution. I converted the application from a Web Site Project (WSP) to a Web Application Project (WAP). Go to http://webproject.scottgu.com/ and read about the Web Application Project in VS 2005. Why?
0
8180
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8130
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8576
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8429
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7091
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5538
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4121
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1423
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.