Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. .NET Framework - Restarting Framework

.NET Framework - Restarting Framework

Scheduled Pinned Locked Moved .NET (Core and Framework)
questioncsharpdotnetcom
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jawz X
    wrote on last edited by
    #1

    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

    S J Y J 4 Replies Last reply
    0
    • J Jawz X

      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

      S Offline
      S Offline
      Sebastien Lachance
      wrote on last edited by
      #2

      You can't. The Framework is only a set of DLL. :confused: My Blog

      J 1 Reply Last reply
      0
      • J Jawz X

        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

        J Offline
        J Offline
        Josh Smith
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • J Jawz X

          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

          Y Offline
          Y Offline
          Yogesh Kshatriya
          wrote on last edited by
          #4

          Stop all managed Apps & restart any one of them!

          1 Reply Last reply
          0
          • J Jawz X

            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

            J Offline
            J Offline
            Jun Du
            wrote on last edited by
            #5

            Why do you want to "cold start .NET Framework"? Best, Jun

            J 1 Reply Last reply
            0
            • J Jun Du

              Why do you want to "cold start .NET Framework"? Best, Jun

              J Offline
              J Offline
              Jawz X
              wrote on last edited by
              #6

              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.

              J 1 Reply Last reply
              0
              • S Sebastien Lachance

                You can't. The Framework is only a set of DLL. :confused: My Blog

                J Offline
                J Offline
                Jawz X
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                • J Jawz X

                  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.

                  J Offline
                  J Offline
                  Jun Du
                  wrote on last edited by
                  #8

                  Jawz-X wrote:

                  I need to simulte a fresh boot cycle

                  An interesting idea, but I am not aware of any such approaches. Best, Jun

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups