473,386 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1849
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...
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...@gmail.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**********************************@microsof t.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...
>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**********************************@microsof t.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.googlegr oups.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**************@TK2MSFTNGP04.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**********************************@microsof t.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.googleg roups.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**@markNOSPAMrae.netwrote in message
news:uN**************@TK2MSFTNGP02.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***********@gmail.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
"Ray Costanzo" <my first name at lane 34 dot commercialwrote in message
news:35**********************************@microsof t.com...
>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!
Ah, now there I totally agree with you!

I never add the .sln files to SourceSafe either...
Apr 20 '07 #11
"Ray Costanzo" <my first name at lane 34 dot commercialwrote in message
news:53**********************************@microsof t.com...
>I guess that's the reason they offered the add-in.
They offered the add-on because of the massive outcry in the ASP.NET
development community when VS.NET 2005 was first released...

As soon as they realised what an awful mistake they'd made, the rushed the
release of the WAP add-on...

I'd be *very* surprised if the website model lasts more than one major
version...
Apr 20 '07 #12
"Alvin Bruney [MVP]" <some guy without an email addresswrote in message
news:em****************@TK2MSFTNGP04.phx.gbl...
Avoiding the fiery debate, it's important to point out that microsoft is
committed to supporting both models going forward.
Are you sure about that...?
Apr 20 '07 #13
Based on what you have pointed out, either will work. With the website
template, you can use the publish option to remove your source code and
precompile the site. The big difference is the number of DLLs you end up
with. :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
<ny***********@gmail.comwrote in message
news:11**********************@b58g2000hsg.googlegr oups.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 #14
Each to his own, I suppose. I hate having it squirrelled away somewhere
else. A problem associated with being an ex-librarian, I suspect :)

Just because the .sln file is in the same file system doesn't mean you have
to include it in your list of source controlled files. However, VSS 6.0
does so by default (or it did for us) and creates a Byzantine directory
system in its repository (Again, this was just our experience. We could
have been doing something wrong). We've now moved to Subversion - which
asks you to specify what files you want under source control. So it's easy
to leave a .sln file out, but having it in the solution folder makes it
accessible if you want it.
Peter
"Ray Costanzo" <my first name at lane 34 dot commercialwrote in message
news:35**********************************@microsof t.com...
>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**************@TK2MSFTNGP04.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**********************************@microso ft.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.google groups.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 #15
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
However, VSS 6.0 does so by default (or it did for us)
VSS 6.0d really doesn't work very well with VS.NET 2005

VSS 2005, however, works perfectly...
Apr 20 '07 #16
In one of my projects I use the ajax control toolkit. To get this work
you have to add the AjaxControlToolkit.dll to the bin folder of the
web site (add reference), but this reference is not stored anywhere,
because in the web site model you don't have a project file to store
it in. I find it strange to include this dll file in source controll,
so I don't. If I later try to download this project from sourcecontrol
on another machine and try to build it I will obviously be missing
AjaxControllToolkit.dll. If I run the web site model I will get a lot
of errors because of the missing dll, but there is nothing telling me
which dll is missing (the errors will have something to do with ajax
so I can hopefully guess it), but if I run the web application project
model I will instantly see which dll is missing because it is part of
the project file. Any opinions on this?
Apr 20 '07 #17
<ny***********@gmail.comwrote in message
news:11**********************@b75g2000hsg.googlegr oups.com...
Any opinions on this?
It's one of the many reasons not to use the website model...
Apr 20 '07 #18
Web sites should be web sites ....

I think this says it all:

Note: Web application projects do not work with Visual Web Developer Express Edition.


<ny***********@gmail.comwrote in message news:11**********************@b58g2000hsg.googlegr oups.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 #19
Yes, see eric gunnerson's blog.

--
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
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:eh**************@TK2MSFTNGP04.phx.gbl...
"Alvin Bruney [MVP]" <some guy without an email addresswrote in message
news:em****************@TK2MSFTNGP04.phx.gbl...
>Avoiding the fiery debate, it's important to point out that microsoft is
committed to supporting both models going forward.

Are you sure about that...?

Apr 20 '07 #20

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

Similar topics

28
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...
5
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...
2
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...
3
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...
4
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...
3
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...
4
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
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...
0
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.