Questions about Asp.
I've been struggling to get the Response.Body property from an ASP.NET Core action and the only solution I've …
c# asp.net-core asp.net-core-mvc asp.net-core-middlewareAfter a lot of reading, I have found a way to implement a custom JWT bearer token validator as below. …
c# asp.net asp.net-core jwt asp.net-core-middlewareIn net 4.5 we are working with proxy like this: <system.net> <!-- --> <defaultProxy enabled="…
c# asp.net asp.net-core asp.net-core-mvc asp.net-core-middlewareI have a question regarding authentication in ASP.NET Core 2: what exactly is the call app.UseAuthentication() for? Is it …
c# authentication asp.net-core-2.0 asp.net-core-middlewareHi I have a question about the SharedResources file. It is glanced over in the tutorial here: https://docs.microsoft.…
asp.net asp.net-core asp.net-core-middleware asp.net-core-localizationI am trying to inject dependency into my middleware constructor as follows public class CreateCompanyMiddleware { private readonly RequestDelegate _next; private …
c# asp.net-core asp.net-core-2.0 asp.net-core-middlewareIn ASP.Net Core 2.0, I am trying to validate the incoming request headers in a custom middleware. The problem is …
c# asp.net-core asp.net-core-2.0 asp.net-core-middleware request-pipelineI am building up an ASP.Net Core API and I have not been able to find a way to …
c# asp.net-core asp.net-core-mvc entity-framework-core asp.net-core-middlewareMy requirement: write a middleware that filters all "bad words" out of a response that comes from another subsequent middleware (…
asp.net-core .net-core asp.net-core-middlewareI want to do a substitution on HttpContext.Request.Body. I've tried to do it inside a middleware: public async …
c# asp.net-core .net-core asp.net-core-middleware