RE: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp



Hello Rolf,

Regarding on the problem you met, it is due to the new project and
application compilation model of ASP.NET 2.0/VS 2005 web application
project. It has the following main changes comparing to the ASP.NET 1.1/VS
2003 projects:

1. ASP.NE T 2.0 web project is projectless which doesn't have a project
file and a web application is a simple file directory with well-defined
folder hierarchy and structure.

2. ASP.NET 2.0 pages by default support pure dynamic compilation mode, that
means we do not need to precompile any codebehind into assembly at
development time and can directly deploy all the aspx page and codebehind
or code files(in app_code folder) to target IIS site and let those pages be
compiled at runtime dynamically.

3. If we do not want to put source code to deployment environment and let
the page be dynamically compiled, we can precompile the whole web
application through the "Publish Web Site" menu in VS 2005 or the
"aspnet_compiler.exe" command line tool.

Here is a blog article on ASP.NET product manager's blog site which
detailed describes the new ASP.NET 2.0/vs 2005 project model:

http://weblogs.asp.net/scottgu/archive/2005/08/21/423201.aspx

Also, for your scenario, I think you can consider precompile the web
project which will produce some precompiled assemblies (in the private bin
dir) and you can deploy the precompiled web site contents instead of the
original one at development time.

In addition, the ASP.NET development team have provided a new add-on
project "Web Deployment Project" which can help customize the
precompilation of ASP.NET 2.0 web site(more precompile customization
options). You can have a look to see whether it also helps:

#Visual Studio 2005 Web Deployment Projects
http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial

response from the community or a Microsoft Support Engineer within 1
business day is

acceptable. Please note that each follow up response may take approximately
2 business days

as the support professional working with you may need further investigation
to reach the

most efficient resolution. The offering is not appropriate for situations
that require

urgent, real-time or phone-based interactions or complex project analysis
and dump analysis

issues. Issues of this nature are best handled working with a dedicated
Microsoft Support

Engineer by contacting Microsoft Customer Support Services (CSS) at

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.




.



Relevant Pages

  • Re: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
    ... I have also downloaded the Web Deployment Projects. ... means we do not need to precompile any codebehind into assembly at ... Microsoft MSDN Online Support Lead ... response from the community or a Microsoft Support Engineer within 1 ...
    (microsoft.public.vsnet.general)
  • RE: Global resources not localized on IIS
    ... Through code or static resource expressions? ... you can test them without precompile to see whether the ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Updating a Web-Site
    ... The "updatable" means after you precompile and deploy the ASP.NET ... you can still modify the aspx or ascx template and the ASP.NET ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Run source code on the fly from a browser
    ... After compiling the code into an assembly, we have to decide how to execute ... "Discover Dynamic Code Compilation" ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)
  • RE: Performance questions
    ... "merge all pages and control outputs to a single assembly", ... For partial precompile, the ASP.NET runtime still ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)