473,657 Members | 2,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

difference between Web-Site and Web-Application-Project

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 ?

Thanks

Avi
Mar 7 '07 #1
4 20395
The Web Site project is compiled on the fly. You end up with a lot more DLL
files, which can be a pain. It also gives problems when you have pages or
controls in one directory that need to reference pages and controls in
another directory since the other directory may not be compiled into code
yet. Another problem can be in publishing. If VS isn't told to re-use the
same names constantly, it will come up with new names for the dll files
generated by pages all the time. That can lead to having several close
copies of dlls containing the same class name, which will generate plenty of
errors. The Web Site project was introduced with VS 2005, but has turned out
not to be extremely popular.

The Web Application Project was created as an add-in and now exists as part
of SP 1 for VS 2005. The main differences are the Web Application Project
was designed to work similar to the Web projects that shipped with VS.net
and VS 2003. It will compile the application into a single dll at build
time. In order to update the project it must be recompiled and the dll
published for changes to occur. Another nice feature of the Web Application
project is it's much easer to exclude files from the project view. In the
Web Site project, each file that you exclude is renamed with an exclude
keyword in the filename. In the Web Application Project, the project just
keeps track of which files to include/exclude from the project view without
renaming them, making things much tider.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Hafner Avi" <ha****@technio n.ac.ilwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
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 ?

Thanks

Avi


Mar 7 '07 #2
I will add, and adjust, some of what Mark has stated.

The web site template is included with VS 2005. There are two compilation
methods, depending on how you do things:

1. Compile on the fly - default if you simply copy the bits to a server.
Each page is compiled into its own assembly
2. Compile ahead - You still have quite a few DLLs, but directories can be
compiled together

The web applications template is downloaded from www.asp.net. It compiles
into a single DLL like ASP.NET 1.x.

If you want to be able to change a single page, the web site template is
better if you use compile on the fly. The precompile option does not help
much.

I am less concerned than Mark about the multiple DLLs, as the publish option
will package everything necessary in a folder of your choosing. I do find
the .exclude to be a royal pain, however.

For me, I would use the web applications template, as it is cleaner and has
nice options not available in the web site template. The exception is if you
are going to update single files (and keep full source on the site), which I
would not recommend in most situations.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** ***************
Think outside the box!
*************** *************** ***************
"Hafner Avi" <ha****@technio n.ac.ilwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
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 ?

Thanks

Avi

Mar 7 '07 #3
Mark:

I just reinstalled and do not see the web applications template in the mix.
I was going to download it for my work. If someone does a fresh install, is
there a trick? :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** ***************
Think outside the box!
*************** *************** ***************
"Mark Fitzpatrick" <ma******@fitzm e.comwrote in message
news:eo******** *****@TK2MSFTNG P06.phx.gbl...
The Web Site project is compiled on the fly. You end up with a lot more
DLL files, which can be a pain. It also gives problems when you have pages
or controls in one directory that need to reference pages and controls in
another directory since the other directory may not be compiled into code
yet. Another problem can be in publishing. If VS isn't told to re-use the
same names constantly, it will come up with new names for the dll files
generated by pages all the time. That can lead to having several close
copies of dlls containing the same class name, which will generate plenty
of errors. The Web Site project was introduced with VS 2005, but has
turned out not to be extremely popular.

The Web Application Project was created as an add-in and now exists as
part of SP 1 for VS 2005. The main differences are the Web Application
Project was designed to work similar to the Web projects that shipped with
VS.net and VS 2003. It will compile the application into a single dll at
build time. In order to update the project it must be recompiled and the
dll published for changes to occur. Another nice feature of the Web
Application project is it's much easer to exclude files from the project
view. In the Web Site project, each file that you exclude is renamed with
an exclude keyword in the filename. In the Web Application Project, the
project just keeps track of which files to include/exclude from the
project view without renaming them, making things much tider.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Hafner Avi" <ha****@technio n.ac.ilwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>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 ?

Thanks

Avi


Mar 7 '07 #4
Gregory,
Did you install SP1 yet? The pre-sp1 add-in is still available at:
http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx Note: before you
install it you'll need this update for VS
http://www.microsoft.com/downloads/d...displaylang=en
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamMwrote in
message news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Mark:

I just reinstalled and do not see the web applications template in the
mix. I was going to download it for my work. If someone does a fresh
install, is there a trick? :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** ***************
Think outside the box!
*************** *************** ***************
"Mark Fitzpatrick" <ma******@fitzm e.comwrote in message
news:eo******** *****@TK2MSFTNG P06.phx.gbl...
>The Web Site project is compiled on the fly. You end up with a lot more
DLL files, which can be a pain. It also gives problems when you have
pages or controls in one directory that need to reference pages and
controls in another directory since the other directory may not be
compiled into code yet. Another problem can be in publishing. If VS isn't
told to re-use the same names constantly, it will come up with new names
for the dll files generated by pages all the time. That can lead to
having several close copies of dlls containing the same class name, which
will generate plenty of errors. The Web Site project was introduced with
VS 2005, but has turned out not to be extremely popular.

The Web Application Project was created as an add-in and now exists as
part of SP 1 for VS 2005. The main differences are the Web Application
Project was designed to work similar to the Web projects that shipped
with VS.net and VS 2003. It will compile the application into a single
dll at build time. In order to update the project it must be recompiled
and the dll published for changes to occur. Another nice feature of the
Web Application project is it's much easer to exclude files from the
project view. In the Web Site project, each file that you exclude is
renamed with an exclude keyword in the filename. In the Web Application
Project, the project just keeps track of which files to include/exclude
from the project view without renaming them, making things much tider.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Hafner Avi" <ha****@technio n.ac.ilwrote in message
news:%2******* *********@TK2MS FTNGP05.phx.gbl ...
>>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 ?

Thanks

Avi



Mar 7 '07 #5

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

Similar topics

34
7067
by: yensao | last post by:
Hi, I have a hard time to understand difference and similarities between Relational database model and the Object-Oriented model. Can somebody help me with this? Thank you in advance. Yensao
21
2998
by: b83503104 | last post by:
Hi, Can someone tell me the difference between single quote and double quote? Thanks
26
4397
by: Frank | last post by:
For my website i would like to display the age of my son in years, months, days and hours. For now i manage to get a result for totals. Like the total number of days. This is the beginning: starttime = Date.parse("Aug 10,2003, 07:07") sdt = new Date(starttime)
21
2833
by: Rich | last post by:
I was considering C# for developing a scientific application, but I have noticed a ~30% difference between VC++ .NET and C# on the same machine, under identical conditions: double a = 0,b = 0, c = 0, d = 0, e = 0; for(int n = 0; n != 6000000; n++) { a = n % 5 *2 / 3 - 4 + 6 / 3 - n + n * 2; b = n * 2.3 - 1 *2 / 3 - 4 + 6 / 3 - n + n * 2; c = n * 3 / 3.5 *2 / 3 - 4 + 6 / 3 - n + n * 2;
4
15725
by: jamesyreid | last post by:
Hi, I'm really sorry to post this as I know it must have been asked countless times before, but I can't find an answer anywhere. Does anyone have a snippet of JavaScript code I could borrow which calculated the difference in years and days between two dates, and takes leap years into account? I'm calculating the difference in the usual way, i.e....
3
4152
by: bbawa1 | last post by:
Hi, I have a table which has a field ItemsReceived of type datetime. I have a grid view which has two columns. In first column i have to show the data from field ItemsReceived and in second column I have to show difference between Currenttime and date from ItemReceived. How can I do that.
12
2705
by: Petronius | last post by:
Hallo, does anyone have an idea how to implement difference lists in Javascript? Thanks allot in advance
5
3483
by: Julius | last post by:
Hej dudes, I need to calc the difference between two timestamps / dates ... For example what i need to calculate: Date 1: 2007.11.06 - 20:13:04 Date 2: 2007.11.07 - 21:13:04 Difference: 1 day, 1hour
9
2668
by: viki1967 | last post by:
Hi all! This new forum its great! :) Congratulations !!! My answer: why this my code not working? Nothing error but not work the difference.... : <html>
11
12105
by: cmb3587 | last post by:
I have two arrays and I'm trying to create a 3rd array that is the difference between the two arrays Ex: arrayA: 3 5 8 9 arrayB: 3 4 6 9 difference of A-B: 5 8 however, my code is just returning me an array of 0's
0
8385
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
8821
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8723
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...
1
8502
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8602
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
7316
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...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1601
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.