RE: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Tue, 08 Aug 2006 09:40:48 GMT
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.
.
- Follow-Ups:
- Re: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- From: Rolf Welskes
- Re: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- References:
- Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- From: Rolf Welskes
- Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- Prev by Date: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- Next by Date: TFS: Fails to create a new team project from a networked client
- Previous by thread: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- Next by thread: Re: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
- Index(es):
Relevant Pages
|