|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Very good explanation, thank you!
|
|
#4
|
|||
|
|||
|
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:
|
|
#5
|
|||
|
|||
|
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! |
|
#6
|
|||
|
|||
|
|
|
#7
|
|||
|
|||
|
Quote:
Thanks for the reply... Path : Means Path to Remote Server ? And also, How can I access my website? |
|
#8
|
|||
|
|||
|
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! |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|