473,325 Members | 2,671 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,325 software developers and data experts.

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*******@newsgroup.nospam
Sep 6 '07 #1
3 1797
On Sep 6, 8:15 am, "moondaddy" <moonda...@newsgroup.nospamwrote:
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...@newsgroup.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.public.dotnet.framework.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...@newsgroup.nospamwrote:
>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...@newsgroup.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.comwrote in message
news:8i**************@TK2MSFTNGHUB02.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.public.dotnet.framework.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...@newsgroup.nospamwrote:
>>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...@newsgroup.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
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...
10
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...
5
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...
6
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...
6
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...
13
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...
12
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/...
10
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....
5
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.