• Print
  • Share
  • Dark
    Light

Using with ASP.NET Core

  • Updated on 07 Jun 2018
  • 1 minute to read
  • Contributors

Prefix Free vs Premium Difference
Prefix free only works if you are running your application with IIS Express or IIS.

To make ASP.NET Core work, you must install our middleware.  Follow the following steps to install the middleware.  

  1. Add the StackifyMiddleware nuget package to your project.
PM> Install-Package StackifyMiddleware
  1. Modify your Configure() method in Startup.cs to add our middleware. The order in which you add middleware in your code matters. The StackifyMiddleware must be added before you add MVC via the "app.UseMvc()" method.
app.UseMiddleware<StackifyMiddleware.RequestTracerMiddleware>();
  1. Start the app from Visual Studio with IIS Express