tagged [owin]
What is the difference between using Owinhost.exe to run an OWIN web service or a Console App
What is the difference between using Owinhost.exe to run an OWIN web service or a Console App I´m starting developing a new web application and looking at using OWIN. One thing that I can´t work out f...
How to use IAppBuilder-based Owin Middleware in ASP.NET 5
How to use IAppBuilder-based Owin Middleware in ASP.NET 5 ASP.NET 5 (ASP.NET vNext) is OWIN based like Katana was, but has different abstractions. Notably `IAppBuilder` has been replaced by `IApplicat...
GenerateEmailConfirmationTokenAsync default expiration timespan
GenerateEmailConfirmationTokenAsync default expiration timespan What is default expiration timespan of GenerateEmailConfirmationTokenAsync? and what kind of errors should I get from ConfirmEmailAsync?...
- Modified
- 7 Mar at 11:44
'Owin.IAppBuilder' does not contain a definition for 'MapSignalR'
'Owin.IAppBuilder' does not contain a definition for 'MapSignalR' ### Error > 'Owin.IAppBuilder' does not contain a definition for 'MapSignalR' and no extension method 'MapSignalR' accepting a first a...
How can I pass a SSL certificate to Nowin when using Nancy
How can I pass a SSL certificate to Nowin when using Nancy So I am using [Nancy](http://nancyfx.org/) with [Nowin](https://github.com/Bobris/Nowin). The beauty of using Nowin is I don't have to mess a...
Asp.Net MVC 5 without Owin?
Asp.Net MVC 5 without Owin? Mvc 5 seems to depend on Owin, which is great if you want to self host or run on a Mac. But lets assume I just want to run under IIS just like the previous versions and I'm...
- Modified
- 19 Apr at 21:27
ASP.Net MVC Alternative Login to identity
ASP.Net MVC Alternative Login to identity After reading tutorials and trying out, I have found login with Identity is convoluted, inflexible way. Changing to use username and completely remove Email w...
- Modified
- 8 Aug at 14:44
Getting Current OwinContext without using HttpContext
Getting Current OwinContext without using HttpContext With I can recieve the current OwinContext in web applications. With `OwinContext.Set` and `OwinContext.Get` I store values which should be presen...
The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener I have implemente signalR in window service. ``` private IDisposable SignalR { get; set; } public void Con...
Why do I get "Cannot resolve symbol 'CreatePerOwinContext'"?
Why do I get "Cannot resolve symbol 'CreatePerOwinContext'"? I have a self hosted owin Web Api and I'm trying to use a single instance of my EF Context per Owin Request. Here is my config code for the...
- Modified
- 2 Jan at 01:30
TraceListener in OWIN Self Hosting
TraceListener in OWIN Self Hosting I am using `Microsoft.Owin.Hosting` to host the following, very simple web app. Here is the call to start it: Here is the startup class I am using: I am runni
Hangfire dashboard with Servicestack self host
Hangfire dashboard with Servicestack self host I'm using ServiceStack for self host (AppSelfHostBase), and I need to use hangfire dashboard. I do add Owin Startup class in the project but when I run i...
- Modified
- 12 Jan at 10:36
Hw to pass arguments to my own Startup class?
Hw to pass arguments to my own Startup class? I'm trying to develop a web api self hosting app using OWIN. In my own XyzStartup class, I need an external argument: contentFolderPath. However, I didn't...
Get IPrincipal from OAuth Bearer Token in OWIN
Get IPrincipal from OAuth Bearer Token in OWIN I have successfully added OAuth to my WebAPI 2 project using OWIN. I receive tokens and can use them in the HTTP Header to access resources. Now I want t...
- Modified
- 14 Dec at 17:0
OWIN HttpListener not located
OWIN HttpListener not located When I try to start : I get the following exception. What could be the root cause? ``` System.MissingMemberException was caught HResult=-2146233070 Message=The server f...
- Modified
- 13 Nov at 06:19
Get the user's email address from Azure AD via OpenID Connect
Get the user's email address from Azure AD via OpenID Connect I'm trying to authenticate users to my site with their Office 365 accounts, so I have been following the guidance on using the OWIN OpenID...
- Modified
- 16 Nov at 12:22
What is the difference in the use of UserStore and UserManager in ASP.NET Identity?
What is the difference in the use of UserStore and UserManager in ASP.NET Identity? I'm very new to ASP.NET Identity and please bear with me if this question seems silly. When I read the definition fo...
- Modified
- 2 Jun at 07:46
How to fix "IDX20804: Unable to retrieve document from: '[PII is hidden]'" error in C#
How to fix "IDX20804: Unable to retrieve document from: '[PII is hidden]'" error in C# Trying to get an access token to use MS Graph in my WebApi. But keep getting this error, > [TaskCanceledException...
- Modified
- 12 Feb at 10:26
How to set the NameClaimType in an application using OWIN security middleware
How to set the NameClaimType in an application using OWIN security middleware I have created an OWIN web application that is using OpenId Connect for authentication via `Microsoft.Owin.Security.OpenId...
The type or namespace IAppBuilder could not be found(missing using a directive pr an assembly reference)
The type or namespace IAppBuilder could not be found(missing using a directive pr an assembly reference) I am working on an Asp.Net MVC 4 Application in which I am using SignalR 2.0.1 and I Mapped it ...
- Modified
- 8 Jan at 03:18
No assembly found containing an OwinStartupAttribute Error
No assembly found containing an OwinStartupAttribute Error This error The following errors occurred while attempting to load the app. - No assembly found containing an OwinStartupAttribute. - The give...
- Modified
- 29 Aug at 02:50
OWIN OpenIdConnect Middleware IDX10311 nonce cannot be validated
OWIN OpenIdConnect Middleware IDX10311 nonce cannot be validated I have an application using the OWIN middleware for OpenIdConnect. The startup.cs file uses the standard implementation of app.UseOpenI...
- Modified
- 9 Sep at 13:22
WebApi + Simple Injector + OWIN
WebApi + Simple Injector + OWIN I am trying to use SimpleInjector with OWIN in a WebAPI project. However, the following line in `ConfigureAuth` fails The exception is I am using `container.RegisterWeb...
- Modified
- 23 May at 10:30
Owin auth - how to get IP address of client requesting the auth token
Owin auth - how to get IP address of client requesting the auth token Using Owin Security, I'm trying to make the API have 2 methods of authentications. Is there a property in the `context` variable (...
- Modified
- 21 Sep at 04:28