473,569 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Preferred way to start website project in VS 2005

What's the preferred (best) way to start a website project in VS 2005? I
know of 2 ways and each creates a site differently and has different
behavior.

Open VS 2005
1) from the start page click on Create, then select asp.net web
application. This creates a properties folder and references folder in
solution explorer.

2) go to the File menu and select New/Website. this just creates the
project and adds the default aspx page
Things seem to work better when creating the project using method #1 and one
of the many noticeable differences is when I add a reference to the project,
#1 adds it to the references folder and #2 adds it to the web config file.
Also, I'm using some of the Infragistics controls and some of their design
time functionality doesn't work right using method #1.

So I'm wondering what are most people doing out there and why.

Thanks.
--
mo*******@newsg roup.nospam
Sep 6 '07 #1
3 1807
On Sep 6, 8:15 am, "moondaddy" <moonda...@news group.nospamwro te:
What's the preferred (best) way to start a website project in VS 2005? I
know of 2 ways and each creates a site differently and has different
behavior.

Open VS 2005
1) from the start page click on Create, then select asp.net web
application. This creates a properties folder and references folder in
solution explorer.

2) go to the File menu and select New/Website. this just creates the
project and adds the default aspx page

Things seem to work better when creating the project using method #1 and one
of the many noticeable differences is when I add a reference to the project,
#1 adds it to the references folder and #2 adds it to the web config file.
Also, I'm using some of the Infragistics controls and some of their design
time functionality doesn't work right using method #1.

So I'm wondering what are most people doing out there and why.

Thanks.

--
moonda...@newsg roup.nospam
Comparing Web Site Projects and Web Application Projects
http://msdn2.microsoft.com/en-us/lib...px#wapp_topic5

Sep 6 '07 #2
Thanks for Alexey's input.

Hi Moondaddy,

"WebSite" project model is the default one with VS 2005 as it matches the
new ASP.NET 2.0 dynamic compilation style. While the "Web Application
Project" model(through new project ---web application ...) is added later
to provide a vs 2003/ASP.NET 1.1 like development experience. You can
choose either. If you do not care about those design experience from VS
2003, I suggest you choose "Website" approach. Here are two articles from
Scottgu's blog introduce these ASP.NET 2.0 project models:

#Visual Studio 2005 Web Application Project Option
http://webproject.scottgu.com/

#VS 2005 Web Project System: What is it and why did we do it?
http://weblogs.asp.net/scottgu/archi...21/423201.aspx

Hope this also helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: Alexey Smirnov <al************ @gmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Subject: Re: Preferred way to start website project in VS 2005
Date: Wed, 05 Sep 2007 23:40:04 -0700
>
On Sep 6, 8:15 am, "moondaddy" <moonda...@news group.nospamwro te:
>What's the preferred (best) way to start a website project in VS 2005? I
know of 2 ways and each creates a site differently and has different
behavior.

Open VS 2005
1) from the start page click on Create, then select asp.net web
application. This creates a properties folder and references folder in
solution explorer.

2) go to the File menu and select New/Website. this just creates the
project and adds the default aspx page

Things seem to work better when creating the project using method #1 and
one
>of the many noticeable differences is when I add a reference to the
project,
>#1 adds it to the references folder and #2 adds it to the web config
file.
>Also, I'm using some of the Infragistics controls and some of their
design
>time functionality doesn't work right using method #1.

So I'm wondering what are most people doing out there and why.

Thanks.

--
moonda...@news group.nospam

Comparing Web Site Projects and Web Application Projects
http://msdn2.microsoft.com/en-us/lib...px#wapp_topic5

Sep 6 '07 #3
Thanks that helps.

"Steven Cheng[MSFT]" <st*****@online .microsoft.comw rote in message
news:8i******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Thanks for Alexey's input.

Hi Moondaddy,

"WebSite" project model is the default one with VS 2005 as it matches the
new ASP.NET 2.0 dynamic compilation style. While the "Web Application
Project" model(through new project ---web application ...) is added
later
to provide a vs 2003/ASP.NET 1.1 like development experience. You can
choose either. If you do not care about those design experience from VS
2003, I suggest you choose "Website" approach. Here are two articles from
Scottgu's blog introduce these ASP.NET 2.0 project models:

#Visual Studio 2005 Web Application Project Option
http://webproject.scottgu.com/

#VS 2005 Web Project System: What is it and why did we do it?
http://weblogs.asp.net/scottgu/archi...21/423201.aspx

Hope this also helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
>>From: Alexey Smirnov <al************ @gmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Subject: Re: Preferred way to start website project in VS 2005
Date: Wed, 05 Sep 2007 23:40:04 -0700
>>
On Sep 6, 8:15 am, "moondaddy" <moonda...@news group.nospamwro te:
>>What's the preferred (best) way to start a website project in VS 2005?
I
know of 2 ways and each creates a site differently and has different
behavior.

Open VS 2005
1) from the start page click on Create, then select asp.net web
application . This creates a properties folder and references folder in
solution explorer.

2) go to the File menu and select New/Website. this just creates the
project and adds the default aspx page

Things seem to work better when creating the project using method #1 and
one
>>of the many noticeable differences is when I add a reference to the
project,
>>#1 adds it to the references folder and #2 adds it to the web config
file.
>>Also, I'm using some of the Infragistics controls and some of their
design
>>time functionality doesn't work right using method #1.

So I'm wondering what are most people doing out there and why.

Thanks.

--
moonda...@new sgroup.nospam

Comparing Web Site Projects and Web Application Projects
http://msdn2.microsoft.com/en-us/lib...px#wapp_topic5


Sep 7 '07 #4

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

Similar topics

2
1206
by: Tim::.. | last post by:
Can someone please tell me how I release an asp.net website using VS 2003... Do I have to go through the whole site and change the links for the picutes using find and replace of is there an easier way to do this??? Do you have to manually delete all the res and vb files so you only publish the aspx files??? Thanks...
10
1440
by: Amelyan | last post by:
It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when external DLL is modified. As a matter of fact, when I click 'Build', it looks like VS 2005 hangs for most of that time before it actually starts compiling. If I modify something inside WebSite project itself without modifying DLL, it takes few seconds to...
5
2572
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my solution: 1) web service website. 2) SOAP Extension Class Lib that compiles to a dll 3) WinForm application with a proxy to test the web service.
6
3097
by: kai | last post by:
Hi, I was tring to run an example (HelloWorld.aspx) from MSPrss book, I get this message: "ASP.NET Development Server faild to start listening port 1034. Error message: An attempt was made to access a socket in a way fobidden by its access permissions."
6
1516
by: VB Programmer | last post by:
I have a full shopping cart website that is in VS2003. I want to create a BRAND NEW non-related website, now using VS2005. I'd like to use all the shopping related pages/code from the original 2003 site. What is the best way to do this? Thanks!
13
2290
by: Kobee | last post by:
Hi, I'm having a few issues adapting to new 2.0 "website" project vs. the old 1.1 "web application". One of the major issues I'm having is with the notion of namespaces. Using the old way, I could add a directory to my project (say, "Controls"), then add a user control to that directory. From an .aspx I could then import the namespace...
12
5885
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/ folder in the same directory as the source code. However, in Visual Studio .NET 2005 when I selected 'Publish Web Site' and selected a target...
10
3366
by: TS | last post by:
i just noticed the website i created in VS 2005 is running on a different port than the default. I see that it is running on the local web server, and also that the website i created isn't in IIS. My crystal report looks weird because it is trying to show images from the crystalreportviewers10 virtual directory based on the current website...
5
2997
by: daveh551 | last post by:
What, from a high level point of view, is the difference (in Visual Studio 2005) between Website (accessed with Open Website or Create Website from the StartPage) that is an ASP.NET Website, and a Project that is created with the "ASP.NET Application" template? I see some obvious differences: the Project creates the working folder under...
0
7703
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...
0
7618
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...
1
7679
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...
0
7983
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...
0
5223
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...
0
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.