Page view counter

What's the different of Web Application Projects and Web Deployment Projects ?

Last post 04-13-2006 3:02 PM by mbund. 1 replies.

Sort Posts:

  • What's the different of Web Application Projects and Web Deployment Projects ?

    04-13-2006, 5:11 AM
    • Loading...
    • ASPVista.NET
    • Joined on 01-18-2006, 12:45 PM
    • Posts 18
    • Points 90

    What's the different of Web Application Projects and Web Deployment Projects ?
    I have read some articles about WAP and WDP,
    but i feel confuse between WAP / WDP and  aspnet_compiler.exe under .NET Framework folder .
    because all of them is use for deploy the web application and compile the resource (eg. *.VB, *.aspx ,*.ASCX etc...) to a single or mutli assambly Library, so i wonder what the different between them.

    i can using aspnet_compiler.exe to compile a library simply , so why i need WAP / WDP?

    My Blog : http://mingalive.mysinablog.com
    My Web : http://www.aspvista.net
  • Re: What's the different of Web Application Projects and Web Deployment Projects ?

    04-13-2006, 3:02 PM
    • Loading...
    • mbund
    • Joined on 04-22-2005, 1:48 PM
    • Redmond
    • Posts 126
    • Points 630
    • AspNetTeam

    Web Deployment Projects (WDP) was initially designed to provide msbuild and assembly merge features to WSP (Web Site Projects, the default web project model in VS05 RTM). It complements WSP nicely since WSP does not use msbuild and produces many non-deterministic assemblies versus a single assembly. WDP also allows the user to switch out web.config sections, and use custom pre- and post-build tasks. Note WDP has an additional program called aspnet_merge.exe (based on ilmerge) which merges the assemblies produced by aspnet_compiler.exe.

    Web Application Projects (WAP) extend the client project system and provide a web project experience that is very similar to the VS03 web project. It uses msbuild and compiles all class files into a single assembly (note the aspx and ascx pages are still compiled dynamically on the server). Since WAP already uses msbuild, using WDP for that reason alone does not make sense.

    The reason most people want to use WDP with WAP is to

    1. Switch out the web.config sections
    2. Merge all assembles (aspx+apcx assemblies and the class assembly) to a single assembly

    Currently, WDP supports #1 but not #2. We are looking to add that feature in the future.

    HTH!

     

    -Mike-

Page 1 of 1 (2 items)