Start a new topic

Issue of OWIN (VC with Angularjs 2 & mvc 6 .net 5)

Hi all, 


With MVC 6 and .NET 5, how to use UrlRewriterOwinMiddleware in startup class?


IApplicationBuilder has replaced IAppBuilder in new version of .net vnext. It looks like that we have to use delegate to add action to OWIN pipe line... is there a way to upgrade startup class to support .NET 5 please? 


Thanks.


You still can use middleware, just need to modify it a little.

Here is the article describing how to write a middleware class:

https://docs.asp.net/en/latest/fundamentals/middleware.html#writing-middleware

Thank you.

Login or Signup to post a comment