title: does startup.cs file require application pool restart or recycle when there is change in startup.cs file
body: <p>I have one custom middleware which i have to configured like this way if we disable it from backend then that middleware should detach from request pipeline and if i enable then it should i again attached to request pipeline but during this process do i have to restart or recycle application pool on server? check below example.</p>
  <pre><code> class Startup{
  
   public void Configure(IApplicationBuilder app)
          {
              if(isCustomMiddlewareEnable){
                app.Custommiddleware()
              }
  }
      }
  </code></pre>