I've got a ASP.NET website which I'm attempting to edit, however my Visual Studio broke. Someone just told me that i can simply use any text editor to modify the .cs files on the live webserver and whenever the page is opened they'll automatically be compiled.
Could anyone explain whether this is true or false?
I did some googling mentioning JIT-compiling. But it still isn't quite clear to me what it means and how it is used within .NET
It depends on your server settings but yes, you can edit them directly and as long as you've not gone the page precompile route (given there are .cs files in there it doesn't look like it) the changes should get picked up by IIS. I would NOT do that on a live webserver however unless you're REALLY sure about the change you're making.
PS: Backups. Make them.
If it is .aspx file then it will be fine but for .cs file it is not possible you have to republish the site again...because the dll is created when you publish the site...after that you can not modify the site...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With