Deploy VS2005 Web Site Project

G

Guest

Hi all,

This is the first time I create web application using VS2005 web site
project. How can I deploy application to my web server? With VS2005 web
application project, I just copy the DLL in bin folder and all the .aspx,
..ascx to the web server (after I setup the IIS virtual directory).

Can I copy the .aspx, .ascx (I did not see any DLL in bin folder) the same
way as web application project?

If I need to update only one page how do I handle it?

Thanks for any advise.
 
S

Steven Cheng[MSFT]

Hi Madison,

For ASP.NET 2.0 web site application project, it use a new develop &
compile model. When you develop the web site application in visual studio,
unlike 1.1 project, it won't generate a precompiled dll. This is because
ASP.NET 2.0 adopt a complete dynamic compile model, you can directly deploy
all the source files with aspx pages to the deployment virtual directory
and ASP.NET runtime can dynamically compile them. However, for production
deployment, you're suggested to manually perform a precompilation on your
ASP.NET 2.0 application before deploy it to production server. VS 2005
built-in features have a "publish web site" that can help precompile and
deploy application to target location, you can also use command line
"aspnet_compiler.exe" to do the precompilation. Also, ASP.NET team provide
an dedicated "web deployment project" for customized web site application
precompilation, you can use it to precompile your ASP.NET 2.0 web
application:

#Visual Studio 2005 Web Deployment Projects
http://msdn2.microsoft.com/en-us/asp.net/Aa336619.aspx

Here are some other web reference about deploy ASP.NET 2.0 web application:

#ASP.NET Deployment
http://msdn2.microsoft.com/en-us/library/ms178610.aspx

#ASP.NET 2.0 Options for Packaging and Deploying Web Apps
http://www.codeguru.com/csharp/.net/net_asp/webforms/article.php/c8885/

#Efficient Deployment & Management of ASP.NET 2.0 Applications on IIS 6.0
http://download.microsoft.com/download/1/1/a/11a3a3c1-475b-4561-9ad2-f02d4e8
84398/RoadShow_ASP.NET.ppt

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.
 
S

Steven Cheng[MSFT]

Hi Madison,

Have you got any further idea on this issue or does the suggestion in my
last reply help you some? If there is anything else we can help, please
feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top