Most voted "owin" questions
Owin defines a standard interface between web servers . NET and web applications. The goal of the Owin interface is to dissociate the server from the application, encouraging the development of simple modules for web development with. NET, and for being an open standard, stimulate the open source ecosystem of tools . NET web development.
Learn more…30 questions
Sort by count of
-
13
votes2
answers2568
viewsOWIN and Katana - How does it really work and how to use it?
In recent times I have tried to understand better about OWIN in the aspects of why to use it, how it works and how to use it. About why to use I have asked here and already convinced myself that the…
-
10
votes2
answers151
viewsRelationship between Middleware and Application Delegate
I’m studying the OWIN and its implementation Katana by Microsoft. I’ve asked about it here and the answers already help to have a good overview of the subject. Going deeper I found this doubt. In…
-
10
votes1
answer2093
viewsOWIN and Oauth What are they and how to use them?
I am seeing Webapi tutorials with authentication/ authorization and I came across these two concepts, although explained in the tutorials the settings are not clear. Even searching the web, the…
-
10
votes2
answers342
viewsRedirect from Http to Https on Owin + Oauth + Google Externallogin
Host where my application is hosted uses ARR to redirect all pages to Https. The problem is that the way the code of the asp.net mvc understands that the requisition is http, even though https. When…
-
8
votes1
answer356
viewsWeb API and Owin Oauth - redirect to another domain (redirect_uri)
Good afternoon, I’m having a problem implementing external login on a project I’m working on. ASP.NET Web API + Owin + Oauth. Ambience: Work with two Server1 and Server2 servers. Server1: Server…
-
6
votes2
answers1307
viewsWhat does a "Thread Safety" class mean?
According to the MSDN to Webapp Class (Microsoft.Owin.Hosting) is Thread Safety. What exactly does that mean? This class specifically has a method Start that: Start a web app.... Every request to…
-
5
votes1
answer270
viewsMotivation for OWIN
These days I read about OWIN on the MSDN website but I still can’t find a good motivation for it. What I read is that OWIN is a way to uncouple the server application so we can swap the server if…
-
4
votes1
answer727
viewsFundamental principles REST
In this Article by Infoq, the author highlights the five fundamental principles of REST: Give all things an identifier Link things (resources/identifier) Use standardized methods Features with…
-
4
votes1
answer2349
viewsWhat is the reference to Httpcontext.Getowincontext() ?
I had to abstract the Controllers of an application ASP.NET MVC for a Class Library because I’m using different technologies in the same application. However, I have the error:…
-
3
votes2
answers149
viewsHow to resolve error with OWIN?
Well friends, I created an Asp.Net MVC web project No Authentication, but now I’m in need of authentication. I’m following some tutorials like that to put authentication from scratch, but after…
-
3
votes1
answer68
viewsRemove Return Header Owin Webapi
A simple return query to my REST service brings the following answer: { "Id": 1, "Descricao": "TIROLESA DE AÇO", "Und": "UND", "Fabrica": "STARROW", "Estoque": 9, "Preco": 0.39 }, But the query with…
-
3
votes1
answer698
viewsTesting simultaneous queries on the REST server
I have a server REST/WebApi and wanted to test its performance with simultaneous consultations. My goal is to test, logically the performance, and also if the same is treating each request…
-
2
votes1
answer324
viewsHow do I get access_token when I log in with Facebook on MVC5?
When I create a project MVC5 the Visual Studio automatically creates a website for me with option to login by Facebook, Google... Just need to enable in the file "Startup.Auth.cs". But he does the…
-
2
votes1
answer322
viewsAccess to DAL data with ASP.Net MVC Identity and Owin
Today my solution has a MVC 5 Web application project and a DAL Library (Data Access Layer) with EF Databasefirst. I want to create a layer with MVC Identity + Owin, however I would like the data…
-
2
votes1
answer187
viewsGlobal Filter on MVC 5 not working
Hello. I am following the tutorial below with the intention of better understanding the authentication process of . net Identity with OWIN.…
-
2
votes1
answer106
viewsEnsure that Httpconfiguration.Ensureinitialized()
Goodnight! I’m studying about ASP.NET (I come from java) and I’m a little confused by all this. I am trying to create an endpoint to return the client list of my database, however, I can not in any…
-
2
votes1
answer108
viewsError while logging in using Facebook
Trying to login through facebook I come across the following error: Server Error in Application '/'. Undefined object reference for an object instance. Description: An untreated exception occurred…
-
2
votes1
answer35
viewsDon’t call class Startup, Owin
My API is not calling my Startup class, therefore it does not call my controller via Postman. Startup [assembly: OwinStartup(typeof(GestaoFrotas.Security.API.Startup))] namespace…
-
2
votes1
answer83
viewsPrint Owin Identity Projects
How I can print all different types of claims that I created during my Owin Identity authentication? I’m using @User.Identity.Nome to be able to print only the name, I can’t access the other keys I…
-
1
votes1
answer474
viewsHow to "call" an ASP.NET page without using IIS?
I need to get the result of processing an ASP.NET page via programming, but I cannot use IIS. The right, would be, if ASP.NET, had a CGI to be called, just like PHP has, but I found nothing, only…
-
1
votes1
answer77
viewsHow to get user type in view?
I have an Asp.Net MVC project that uses Individual User Account with Owin. Everything is working perfectly, but I would like to get user type (role) in View. I’m using Request.IsAuthenticated to…
asp.net-mvc razor authentication asp.net-identity owinasked 9 years, 6 months ago Jedaias Rodrigues 6,718 -
1
votes1
answer215
viewsIIS Express or Owin self host (as a service)
What are the advantages/disadvantages of these two approaches. Some characteristics: Will be a server REST. The project at first will have few requests Local server (not cloud)…
-
1
votes2
answers1886
viewsAssembly Microsoft.Owin not found
In my project I am using the OWIN library for user authentication. I already installed the package, but when I run the project I return the error: Could not load file or Assembly 'Microsoft.Owin,…
-
1
votes2
answers129
viewsRegister an "admin" user when running the c# mvc application
good afternoon, I need some idea for a web system to automatically create a user Admin as soon as I run(open) the application. that is, when running the application with a zeroed database, so that I…
-
1
votes0
answers69
viewsInclude associated class objects (Applicationuser and Userprofile) - Applicationusermanager and OWIN
I have the following problem: Within the method GrantResourceOwnerCredentials in class OAuthProvider : OAuthAuthorizationServerProvider i am filling in custom properties to be returned with the…
-
1
votes1
answer170
viewsCustomize Identityuserclaim
I’m trying to customize the Identity Claims table, through the Identityuserclaim class. I am using a mapping, through the Entitytypeconfiguration class, but I get the error: A Configuration for type…
-
1
votes0
answers64
viewsOauth Authentication doesn’t work in Azure Function
I created a webapi selfhost and used Oauth to generate an authentication token, it worked as a console application but when I try to create a function in Azure it only return server error(500) My…
-
1
votes0
answers61
viewsAPI bearer client authentication
I have a API that return token bearer, normal, as per image The question is this, it has an application MVC that consumes this API, and I want to put [Authorize] in the classes of that MVC…
-
0
votes1
answer96
viewsWeb api 2 within MVC project. How to prevent redirection to login page when token is not valid
I’m doing a Rest API on an MVC project. On the API controllers (ApiController) place the Dataannotation Authorize, when the token entered is invalid, it detects and tries to redirect to the login…
-
-1
votes1
answer67
viewsClient Identity x Azure AD x ADFS integration
I have a database authentication application using OWIN and Identity. A client requested single Sign on with ADFS on premisse. I did it directly through OWIN, but the client requests a federation…