|
-
Feb 5th, 2004, 11:13 AM
#1
Thread Starter
Fanatic Member
Code behind edit problem
I copied my site onto a live server and found that I was having trouble with my SMTP mail.
I opened the code behind page of the email page in Notepad (on the server) and commented out a large chunk of code.
When I saved the page and tried to run the site the site ran as normal, as if the changes never occured.
Can someone explain this to me please ?
Thanks in Advance
-
Feb 5th, 2004, 11:26 AM
#2
PowerPoster
Sure, the dll never changed, only the code behind file. You would need to recompile your app so the changes are in the dll, then stick the new dll with the changes into the bin directory over top the old one.
ASP.Net doesn't compile the code on the fly to IL, you do that from the IDE or command line when you select build. The dll that is created is the IL compiled version of all your code. That is what the asp.net worker process uses to run your web app.
-
Feb 5th, 2004, 11:48 AM
#3
Thread Starter
Fanatic Member
Thanks.
Is there any way to compile the code behind without Visual Studio.net ?
-
Feb 5th, 2004, 11:49 AM
#4
Thread Starter
Fanatic Member
It just seems a pain having to copy over an entire sites files when I have only changed 1 line of code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|