#1  
Old 02-07-2008, 07:30 AM
ASPGuru ASPGuru is offline
Junior Member
 
Join Date: Nov 2007
Posts: 61
Default Deploying asp.net site


hi,
I've created new asp.net website using visual studio 2005 and now I want to deploy it on my server. What will be the best way doing that?

Thank you
Reply With Quote
  #2  
Old 02-07-2008, 08:07 AM
HostingASPNet HostingASPNet is online now
Moderator
 
Join Date: Nov 2007
Posts: 235
Default

Hello,
Basically you have two choices:

1. Just copy all project files to the web server and configure it to use ASP.NET version 2.0. In this scenario it will compile your application on the fly and this will cost you some performance, the good part is that you could very easily update your site, just copy the new files.

2. From VS 2005 click with right mouse button on the project and choose Publish Web Site, after that you have a few options. In this scenario the performance is much better, because you precompiled your website before publishing, but you should precompiled and deploy again the whole site if you have some changes.

Regards
Reply With Quote
  #3  
Old 05-12-2008, 01:51 PM
Cale Cale is offline
Junior Member
 
Join Date: May 2008
Posts: 5
Default

Very good explanation, thank you!
Reply With Quote
  #4  
Old 08-26-2008, 07:33 AM
binoy_rajan binoy_rajan is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Default Website Deployment

Can u please explain the Second method...
I am new to ASP.Net
I want to Deploy my Website into 1. My PC, 2. In Remote Server
I am Using VS2005 and SQLServer2005
Plz guide me for this


Quote:
Originally Posted by HostingASPNet View Post
Hello,
Basically you have two choices:

1. Just copy all project files to the web server and configure it to use ASP.NET version 2.0. In this scenario it will compile your application on the fly and this will cost you some performance, the good part is that you could very easily update your site, just copy the new files.

2. From VS 2005 click with right mouse button on the project and choose Publish Web Site, after that you have a few options. In this scenario the performance is much better, because you precompiled your website before publishing, but you should precompiled and deploy again the whole site if you have some changes.

Regards
Reply With Quote
  #5  
Old 08-26-2008, 12:02 PM
CMage CMage is offline
Junior Member
 
Join Date: Feb 2008
Posts: 46
Default

Hi,

Right Click on your Web Project and select "Publish Web Site". It will prompt you with a "Publish Web Site" dialog where you can specify the path to be published. You can do a variety of options like "Allow this precompiled site to be updatable". What it means is that, the website is precompiled and the code behind source gets into a BIN directory that is created. The ASPX pages, Images etc., and other markup files are copied to the location specified AS IS.

You can also consider creating an installer file. For SQL Server 2005 it depends on your server, you can just attach the database file to existing SQL Sever.

Cheers!
Reply With Quote
  #6  
Old 08-26-2008, 12:08 PM
Ani90 Ani90 is offline
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default

Hi,

You can also read this article: http://msdn.microsoft.com/en-us/libr...10(VS.85).aspx
Reply With Quote
  #7  
Old 08-27-2008, 07:04 AM
binoy_rajan binoy_rajan is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Default

Quote:
Originally Posted by CMage View Post
Hi,

Right Click on your Web Project and select "Publish Web Site". It will prompt you with a "Publish Web Site" dialog where you can specify the path to be published. You can do a variety of options like "Allow this precompiled site to be updatable". What it means is that, the website is precompiled and the code behind source gets into a BIN directory that is created. The ASPX pages, Images etc., and other markup files are copied to the location specified AS IS.

You can also consider creating an installer file. For SQL Server 2005 it depends on your server, you can just attach the database file to existing SQL Sever.

Cheers!
hi....
Thanks for the reply...
Path : Means Path to Remote Server ?
And also, How can I access my website?
Reply With Quote
  #8  
Old 08-27-2008, 01:39 PM
CMage CMage is offline
Junior Member
 
Join Date: Feb 2008
Posts: 46
Default

Hi,

Path can be on local or remote server.
1. You could access your website by typing IP address of web the website - by example 127.0.0.1 if it's localhost.
2. You could access your website by typing domain name - website.com, but in this case you should first buy a domain name and point the name to your server (change the DNS records).

Cheers!
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Powerful Windows Dedicated Hosting & VPS ASP.NET Hosting