title: How to get complete URL in Owin Startup.cs
body: <p>I want to get <strong>XYZClient</strong> from url: <a href="https://companyabc.com/stockapp/XYZClient/login" rel="nofollow noreferrer">https://companyabc.com/stockapp/XYZClient/login</a> in owin startup.cs,MVC ASP.net.</p>
  
  <pre><code>using Microsoft.Owin;
  using Owin;
  [assembly: OwinStartupAttribute(typeof(companyABC.Web.Startup))]
  namespace companyABC.Web
  {
      public partial class Startup 
      {
          public void Configuration(IAppBuilder builder) 
          {
              throw new Exception(HttpContext.Current.Request.Url.ToString()); 
              //gets companyabc.com/stockapp only. I want to get companyabc.com/stockapp/XYZClient/login 
          }
      }
  }
  </code></pre>