Click here to Skip to main content
15,922,650 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Is there any way to deploy Asp.net code to Production server without Debugging.
I changed one line of code and it's very hectic for me to move tho whole Debugged code again to Production server to make application back into work.Any body help me in doing simple deployment for changed webform only. Thanks inadvance!!
Posted

1 solution

First of all, it should not be 'debugging'.It should be either 'built' or 'published'.

Case 1:If you have not published your code earlier, i mean your prod server is having the unpublished version(a bad practice),you may simply replace the edited webform.


Case 2: If the prod server had published code, there is no other way than to replace the entire published version.

Smile for the World has not reached a stage where everything can be done in a flash,
or there would be nothing to optimize !!


HTH
-Rajeev
 
Share this answer
 
Comments
fjdiewornncalwe 8-Mar-11 16:07pm    
OP Comment moved from answer:
Thanks for your prompt reply!!
My application has been deployed after built the complete solution Explorer.
I know it can be accomplished with Web Application Project. I understand you are talking about Web Site Projects, where you can edit your source code directly on Prod. server.
I don't want to expose my code outside and in this case I can fulfill my requirement with Web Application Project by placing the built code(dll file) into the bin folder of my application on Production server. My concern here was deploying the Project with Solution file(which contains my Application layer as Primary Web Project and Business layer as referenced project) and when I built the solution the business layer referred by Application layer and stored as dll in bin folder.
And my Q Is there any way to deploy the changes to Production server without deploying entire solution Project files?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900