c# - Edit CS file on webserver -


I'm running a website (.net 4.5) on a Windows Server 2008 R2 standard with IIS 7.5 I

I have a web site I am using Visual Studio 2012 to create and I published it from Visual Studio 2012.

Now my point is that the key person in my job wants to be able to directly edit CS files, without changing the Visual Studio, make changes on the website or compiling DLL and copy it to the web server Is for. I know this is not the safest way, but I have no choice to do this work.

That was the establishment of our old website / web server. I wanted to make it more secure, so I ran the compiled route and not even told it.

  1. How can I change my current setup to allow this?
  2. Do I have to republish everything? The site is live and I can not interrupt it in use.
  3. I have a class that manages the database connection. Can it be edited again without compiling it?
  4. Direct it to this thread where everyone is saying it's a terrible, horrible The idea is

    I mean, even in dynamic languages ​​(ruby, node .js, etc.) not to change files in this running web server The best practice is I

    That said, there are several ways to do this: Perhaps the easiest way is to use the code in the App_Code folder. Any class files present there will be forced to restart the site with changes compiled again with the framework. I recommend limiting the stuff on those who really have a need , wants to change not only the stuff


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -