owin-middleware Questions
1
I'm working on a server-side Blazor application and ran into some problems regarding a scoped service.
For simplicity's sake I have re-created my issue using the default Blazor template (the one w...
Judges asked 11/2, 2020 at 16:9
3
Solved
I have an ASP.NET 4.6 web app that I'm trying to add OpenId Connect using OWIN.
I added my Owin startup class and everything appears to be configured correctly, but the problem I'm having is the A...
Shermanshermie asked 22/4, 2019 at 15:47
4
Solved
I am re-implementing a request logger as Owin Middleware which logs the request url and body of all incoming requests. I am able to read the body, but if I do the body parameter in my controller is...
Joyjoya asked 15/2, 2014 at 23:53
1
I would like to cache static content (index.html) in my web API 2 (net. framework 4.6.2 app)
I wrote OWIN middleware that adds a cache-control header to the response, allowing for subsequent reques...
Lozar asked 20/5, 2020 at 10:27
3
Solved
I'm trying to create a unified error handling/reporting in ASP.NET Web API 2.1 Project built on top of OWIN middleware (IIS HOST using Owin.Host.SystemWeb).
Currently I used a custom exception logg...
Sholokhov asked 27/12, 2015 at 10:18
1
Solved
I'm working with a ASP.NET WebForms application running on .NET Framework 4.7.2 which is sitting behind an Azure Application Gateway. The gateway performs SSL hand-off so is adding a X-Forwarded-Pr...
Inosculate asked 26/2, 2021 at 8:52
2
Solved
As known, IApplicationBuilder of the method Configure (class Startup) in ASP.NET Core requires specific semantics (to have method 'Invoke' with input parameter of HttpContext type and Task as retur...
Variometer asked 30/11, 2016 at 20:40
3
Solved
I am attempting to write an ASP.NET application that uses a hybrid authentication scheme.
A user can either have his username and password hash stored in the UserStore, or he can authenticate via A...
Eminent asked 25/4, 2017 at 1:3
1
From the recent release and conversation below, it says that now Katana(4.1.0) supports code-flow with automatic code redemption(that meaning we do not have call tokenendpoint explicitly to redeem ...
Salable asked 29/1, 2020 at 10:30
3
Solved
Before I ask my question I have already gone through the following posts:
Can't get the OWIN Startup class to run in IIS Express after
renaming ASP.NET project
file and all the posts mentioned ...
Kirtley asked 9/12, 2016 at 12:13
1
I'm trying to integrate serilog for global handling of exceptions, however when I try to add ILoggerFactory as new parameter to Configuration() the app doesn't load because it can't recognize the O...
Openfaced asked 13/7, 2017 at 9:23
1
Solved
Is it possible to send a custom parameter to an external login provider/custom owin middleware
I have an Identity Server 3 who handles my authentication, and I have an external identity provider m...
Alica asked 13/4, 2018 at 9:18
1
Solved
I am looking to get the route template from a request. I am using OwinMiddleware and am overriding the Invoke method accepting the IOwinContext.
public override async Task Invoke(IOwinContext cont...
Sustainer asked 17/5, 2016 at 23:12
2
Solved
Thank you for providing help. I have a site that can authenticate with Active Directory Federated Services for Single Sign On. Currently, the way my site works is that, by default, when a user hits...
Stenosis asked 9/1, 2018 at 17:53
1
This article shows how to host an entire web API stack in memory for testing using OWIN:
http://www.davidwhitney.co.uk/Blog/2015/01/07/testing-an-asp-net-webapi-app-in-memory/
Whereas this articl...
Rupp asked 7/9, 2017 at 5:12
1
Solved
I am developing an MVC5 web application. This application has 2 areas, 'SU' and ''App'. Each area should be authenticated independently. Each area also have their own login pages.
I am using OWIN f...
Pattiepattin asked 11/1, 2017 at 18:43
1
Solved
I want to establish Web API Token Authentication with Angular JS as client. I am very new to this concept of Token Authentication inside Web API.
I do not want to use ASP.NET Identity default tab...
Plains asked 1/7, 2017 at 4:50
1
I'm using WebApi in Asp .Net Core and I'm wondering if/how I can add a new scoped service that all following middleware and controllers can get access to through dependency injection? Or should I s...
Signature asked 23/3, 2017 at 18:22
1
Solved
I read some examples(1,2,3,4) about setting up authentication in the owin pipeline when using web api and the examples declare the
authentication middleware as the first middleware in the Configur...
Dosh asked 14/3, 2017 at 15:54
3
Is it possible with an Owin Middleware implementation to add claims prior to the execution of a Web API controller?
Created an OwinMiddleware implementation and added an identity:
var id = new C...
Sidle asked 5/2, 2015 at 13:56
2
Solved
As I understand it, ASP.NET Core has support for OWIN middleware (via app.UseOwin()) in addition to its own native middleware.
What is the difference between ASP.NET Core middleware and OWIN middl...
Empress asked 10/9, 2016 at 18:11
4
Solved
Background
First let me explain the background. I am working on a project that attempts to marry a backend server that uses Web API configured via OWIN- hosted on IIS now, but potentially other OW...
Tallbot asked 20/11, 2014 at 9:51
2
Solved
In our ASP.NET Core based web application, we want the following: certain requested file types should get custom ContentType's in response. E.g. .map should map to application/json. In "full" ASP.N...
Tweet asked 20/6, 2016 at 9:8
0
I have a website that has it's own login screen, where the user types in their username and password. Upon hitting the login button, the user should be authenticated through ADFS, and I should get ...
Anyways asked 8/7, 2016 at 20:48
2
Solved
I have an owin culture middle ware running very nice.
It just changes the culture according to the url. This works in 4.5.* perfectly. Now when the runtiome is changed to 4.6.1, the culture isn't ...
Aperture asked 6/4, 2016 at 15:35
1 Next >
© 2022 - 2024 — McMap. All rights reserved.