HomeLearnGeneral ASP.NET VideosHow Do I: Determine Whether to Use a Web Site or a Web Application Project  

[How Do I:] Determine Whether to Use a Web Site or a Web Application Project

Please install Silverlight or click download to watch video locally.

In this video Chris Pels will contrast the differences between an ASP.NET web site project and a web application project. Learn the considerations for using one type of project or the other. First, learn about the major attributes of a web application project including its folder basis. Next, see the major attributes of a web site project and its traditional Visual Studio project based nature which provides more granularity and flexibility including adding classes, dealing with namespaces, and referencing user controls or pages programmatically. The compilation model for each type of web site is then discussed along with alternatives that include the use of the aspnet_compiler.exe and aspnet_merge.exe utilities and the Visual Studio 2008 web deployment project.

Presented by Chris Pels

Duration: 29 minutes, 57 seconds

Date: 22 August 2008

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 17

Leave a Comment

benfree : On August 25, 2008 12:11 PM said:

Thanks Chris..Excellent video lesson. I always wondered about the differences between these two project types, now I know thanks to your lesson..

May I request video lessons on the following topics?

1. How to sign assemblies and put them into GAC? More details about GAC and why to use it will be most useful.

2. How to develop an Asynchronous web page process? Like a time consuming process which can be called asynchronously and the page will display a progress bar until the process is completed..

Thanks!!

pthalacker : On August 25, 2008 1:14 PM said:

What I am hearing in this video is inconsistent with my experience.  I thought I could recompile my web site and just put out the aspz and dll associated with the single folder, but I got an error that the new web page dll could not find the application dll (it had been renamed by the recompilation)  So I was forced to redeploy all the dlls and therefore all the aspx pages since they are dependent on the random-generated name of their code-behind file.  I must be doing something wrong. I would love to just deploy a single folder rather than a whole application.

asater : On August 25, 2008 3:02 PM said:

thank you

jehazlett : On August 25, 2008 3:59 PM said:

Thanks - nice vid.

softly : On August 26, 2008 4:15 AM said:

Hello everybody. Excelent video but better explained, thanks for posting.

Regardind web application projects, I'm wondering how to get rid off some undesired files and folders that appear when I use web deployment projects. It's courious but if I use them over web site applications, everything I get in the output folder is useful. Does anyone know it?

On the other hand I've always had a question about web projects combined with Team Foundation Server. Whatever is the video I see about TFS and Web Sites I always find they work in local mode (ie, they test the website using http://localhost:XXXX/demowebsite).

How can I develop a web site / web application project with TFS if I need the website to be on a server different than the local machine? Does Web application projects o web sites allow me to do this?

Thank you very much in advance,

Miquel Parejo

nuwanda : On August 26, 2008 4:50 PM said:

Great video, thanks.

apradhan : On October 06, 2008 9:00 AM said:

Great video

ipjyothi : On October 14, 2008 6:37 PM said:

nice video, very helpful

djafer : On November 13, 2008 12:59 AM said:

Thanks, çok yardımcı olacağına eminim.

zhehan : On December 18, 2008 3:06 PM said:

Excellent video...Helped me a lot. Thanks, Chris.

djibril_chimere_DIAW : On December 29, 2008 6:06 PM said:

Thanks! Jërëjëf!

TesfayeM : On January 30, 2009 2:15 AM said:

Thanks Chris!

durjan : On February 03, 2009 9:09 AM said:

Cool Video, Thanks Chris!

uwspstar : On February 04, 2009 12:22 PM said:

great !!!

johndrake : On February 08, 2009 11:44 PM said:

SIMPLE THANKS ^^,

bohunt : On February 13, 2009 5:39 PM said:

Thanks!

kkeerty : On August 10, 2009 10:20 PM said:

Excellent Video. Thanks

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities