Requirement: 1) FTP(File Transer Protocol) details.
It contain the login credentials "Username" and password.
These are required to login on remote server.
2) Any software that establish a connection between client machine and server.
>Filezila
>ws_FTPpro (you can use any one of these)
If you do not have download from the following link:
http://www.soft32.com/download_94584.html
http://www.download.com/3000-2160_4-10771265.html
http://filezilla-project.org/
3) Your web site code that is complied.
There is some difference when we are going publish website from as.net(Version 1.1) and asp.net(Version 2.0)
In Case of ASP.NET ( Version 1.1). Follow these steps:
Step1: Rebuild your web site in the "release"mode. The benefit of this mode is that it remove all break points if there is any in your project. (Make a separate copy of your project)
Click to see full image
step2: Now delete the file having following extention:
- .sln
- .cs
- .suo
- .resx
- csproj
Do not delete having .aspx, .asax, .webinfo, .config extenstion.
Now transfer the the final folder to the server with the help of any software that provide the interface between your client machine and server. Its interface will look like this:
Click to see full image
Left hand side will show the client machine and right side will show the server machine. Now you can simply select the folder from the client machine and transfer to the server.(For transfer you should have login credential of the server)
Note in the future if you.
- Made changes in .cs (in any dll)file in that case you have to build your project again and replace the dll that is in the bin folder of your project after build and replace with that is on the live server.
- Made changes in web config(or .aspx file) file then in this case you do not have any need to replace any other file simply replace web config file.
Deploy web application in ASP.NET (2.0)
In Asp.Net(2.0) is very easy you donot have any need to delete these files.(already deleted)
Simply Go Build and select the option publish Web Site and give the folder name where you want to place the final build. When the publish process is complete you can transfer to the live server.

No comments:
Post a Comment