3
Answers

How to publish specific files not all file on ASP.NET web Ap

Danish Habib

Danish Habib

10y
780
1
Dear i have a web application hosted on a server , Now I have a change on a single page and i just want to upload that  page instead of all how to upload specific page on to the server which files i need to upload with that page ....and how it does not affect the other files already there on hosted server 
Answers (3)
0
Nikhil Sangani

Nikhil Sangani

NA 1k 60k 8y
Hi, 
if changes in code side(.cs) :
1. first of allbuild the solution so that will generate the projename.dll file.
2. Upload that dll in bin folder.
3. Check the website. your changes are now affected on live.
if changes in design side(.aspx) :
1. Just upload updated page. no need to uploadprojename.dll file.
2. Check the website. your changes are now affected on live.
0
Danish Habib

Danish Habib

NA 691 123k 10y
Thanks Raja T , The Issue is that if i have 15 pages into my project and I had a change in just one page and when I build that project and make a published version to upload that .aspx page along with three more files from bin folder these files extension are .XML.PDb,dll then these also effect my other 14 pages that is the question ..??
0
Raja T

Raja T

NA 7.4k 6k 10y
Hi Danish,

1. You can backup already existing files in server.


2. Now you changes file in project. So u can build the solution there will generate the projename.dll and  projectname..pdb files.


3. This files is locator in your source path(..\FirstWebApp\bin\)


4.Now copy the this two files move to IIS server means(C:\inetpub\wwwroot\projectname\bin).


5. Now you can check it.


Thanks