.NET Framework - Restarting Framework
-
Simple Question: Is it possible to restart the .NET framework to simulate a “cold start?” (I.E. similar to restarting your computer and inheritly the framework without restarting your computer.) If this is possible, how does one accomplish this? Thank you, Frank V. www.TheOpenSourceU.com
-
Simple Question: Is it possible to restart the .NET framework to simulate a “cold start?” (I.E. similar to restarting your computer and inheritly the framework without restarting your computer.) If this is possible, how does one accomplish this? Thank you, Frank V. www.TheOpenSourceU.com
You can't. The Framework is only a set of DLL. :confused: My Blog
-
Simple Question: Is it possible to restart the .NET framework to simulate a “cold start?” (I.E. similar to restarting your computer and inheritly the framework without restarting your computer.) If this is possible, how does one accomplish this? Thank you, Frank V. www.TheOpenSourceU.com
The .NET framework exists in any process which is running managed code. "Restarting" the framework basically means killing the process and rerunning the managed app. Josh
-
Simple Question: Is it possible to restart the .NET framework to simulate a “cold start?” (I.E. similar to restarting your computer and inheritly the framework without restarting your computer.) If this is possible, how does one accomplish this? Thank you, Frank V. www.TheOpenSourceU.com
Stop all managed Apps & restart any one of them!
-
Simple Question: Is it possible to restart the .NET framework to simulate a “cold start?” (I.E. similar to restarting your computer and inheritly the framework without restarting your computer.) If this is possible, how does one accomplish this? Thank you, Frank V. www.TheOpenSourceU.com
-
You can't. The Framework is only a set of DLL. :confused: My Blog
I think that you are correct. You can't. But the framework is more than just DLLs. There is an engine that runs to compile these apps. The 'DLLs' are loaded in to memory (by the engine) and then used through the use of the session. (Until the computer turns off). I'm looking to unload all of the dlls from memory. And again, I think you are right. you simply cant without restarting and flushing the memory... Thanks for your response! Frank V. http://www.TheOpenSourceU.com
-
I need to simulte a fresh boot cycle (and am trying to save time) so that I can test performance of an application that will only be ran once the computer starts up. Hence, inital load time is important. Thank you, Frank V.