Link to home
Start Free TrialLog in
Avatar of Bharat Guru
Bharat Guru

asked on

How to deploy the *.aspx and *.aspx.cs pages only

How can I deploy only *.aspx and *.aspx.cs  without deploying the dll in production.  
Is there any way we can setup the project to so after I copy the page2.aspx and page2.aspx.cs without mysite.dll in production the production site worked with my new changes

Local PC
mysite/
   bin/mysite.dll
   Page1.aspx
   Page1.aspx.cs
   Page2.aspx               (Modified)
   Page2.aspx.cs          (Modified)

Production
   bin/mysite.dll
   Page1.aspx
   Page1.aspx.cs
   Page2.aspx  
   Page2.aspx.cs
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

if you have the mysite.dll the CS files are compiled into that . . . so the CS pages are doing nothing.  

If you don't use the .dll the aspx and CS pages will be used and compiled into a temporary directory (and then again when an update is made to a CS file).
@Kyle

Are you sure about that?  I thought only website projects had dynamic compilation. Web applications have to be compiled.
Avatar of Bharat Guru
Bharat Guru

ASKER

How can I verify if my website is using dll or asps.cs files?
ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Kyle

I am aware of that. But if this is a web application, then you cannot use dynamic code. (At least I didn't think you could.)
thanks