Click here to Skip to main content
15,891,657 members
Everything / Owin

Owin

OWIN

Great Reads

by kusnaditjung
Web specification and framework
by Marc Clifton
Discovering some of the nuances of IIS and looking under the hood at how Katana/Owin does its initialization.
by Pawel idzikowski
How to replace the web API request query string to provide case insensitive OData search
by Shawn1Xu
OData Interoperability with .NET C# and Java applications

Latest Articles

by Jeremy Likness
Wisej is a powerful platform that abstracts away the nuances of client/server interactions while embracing all the web has to offer, including third-party HTML5-based solutions, it is the perfect tool for building enterprise web applications.
by kusnaditjung
Web specification and framework
by CurtisOHD
Best dialog for maintaining many to many tables
by Aydin Homay
How to use Microsoft OWIN to build a Microservice

All Articles

Sort by Score

Owin 

17 Sep 2020 by kusnaditjung
Web specification and framework
9 Jul 2017 by Marc Clifton
Discovering some of the nuances of IIS and looking under the hood at how Katana/Owin does its initialization.
31 Jan 2018 by Pawel idzikowski
How to replace the web API request query string to provide case insensitive OData search
22 Jan 2015 by Mohan Gopi
Maybe can be useful to somebody, I found the answer here: You will get the Solution if you refer the the follwing links......
18 Apr 2016 by Shawn1Xu
OData Interoperability with .NET C# and Java applications
21 Jul 2021 by ehwash
I'm working with an very old VB.net application trying to layer in SSO auth using OWIN and KeyCloak. This is all new to me. The approach I'm taking is to create a C# app to sit in between KeyCloak and my VB app. I've been able to get my C# app...
20 Aug 2014 by Eduard Keilholz
Hey guys!Now I've got a question for you. I'm running a ASP.NET REST Web API using OWIN running as a windows service. Now I've got SQL Server running on a different host, containing a table with binary data and FILESTREAM enabled.I want to pass this binary data from the web API to the...
2 Nov 2014 by Pranav Thakur
Hi,I am able to self host web api using OWIN as shown below:public class ValuesController : ApiController { public int[] Get() { return new int[] { 12, 13, 14, 15 }; } }Code for my startup1 class:public class Startup1 { ...
7 Nov 2014 by Member 11176603
I am getting this error 'Owin.IAppBuilder' does not contain a definition for 'MapSignalR' and no extension method 'MapSignalR' accepting a first argument of type 'Owin.IAppBuilder' could be found (are you missing a using directive or an assembly reference?)This is my code ...
7 Nov 2014 by DamithSL
check How to install SignalR when you don't have .net 4.5 using nuget package manger console[^]
13 Jan 2015 by Mohan Gopi
Hi Friends, I have created sample web api Token Based Authentication. In this i Want to authenticate using OWIN middleware and bearer tokens. However I already have a database and don't want to use Microsoft's new Identity framework as the majority of tables and columns that it auto...
13 Jan 2015 by Mohan Gopi
Hi Frieds, I have created simple web api Token Based Authentication using Oathu 2. In this is there any way to capture the generated Access token before it is sent in the response to the client? I want to store the token in local DataBase.Thanks in Advance,Mohan G
13 Jan 2015 by Mai Quoc Huu
WPF self host in .net 3.5, What can I use? (OWIN only support for .net4 :( )
1 Feb 2015 by Mohan Gopi
Maybe can be useful to somebody, I found the answer here: You will get the Solution if you refer the the follwing links... http://stackoverflow.com/questions/26071743/how-do-you-get-the-oauth2-accesstoken-after-its-creation-from-the-owin-api[^]
15 Apr 2015 by abe main hoon
Quote:Hi, I am using OAuth/Owin to generate a token and when that token is sent back in the Authorization header of the request; it gets compared automatically and that's how I validate whether the request is coming from valid user or not.Token is of bearer type.Code that is used to generate...
2 Dec 2015 by Member 11853258
I am creating an asp.net Web API 2 project which will contain services that will be accessed by a variety of client types. (iOS, android, web) I would like to use tokens.I have a user/password store in MongoDB, and would like to authenticate against this, rather than using the membership...
8 Dec 2015 by askquez
I am working on some Asp.Net Mvc applications since last 4 years. I have used Entity Framework Code Fist approach in these application. So there are multiple databases which contains lot of tables.Now I want to integrate social websites login and register. I have searched on it and I got two...
16 Dec 2015 by Suvabrata Roy
Hi, Below links will help you :http://stackoverflow.com/questions/27036448/how-to-intercept-404-using-owin-middleware[^]https://maximelabelle.wordpress.com/2014/10/08/capturing-rest-api-calls-with-an-owin-middleware/[^]
15 Mar 2016 by Beryl wilson
We have developed middle ware based on Katana OWIN (Self Hosted). The client applications will connect to the middle ware using Windows Authentication. We have tested this solution in vCloud VMs and it works fine.When we deployed the same Azure VMs, the client applications are not able...
17 Apr 2016 by Hasan Habib Surzo
I have three role in my MVC5 application design. 1) administrator 2) Regularbloger 3) ParttimeBlogerRegularbloger Role has topic like 1) BlogTopic01 2) BlogTopic02 3) BlogTopic03ParttimeBloger Role has topic like 1) BlogTopic14 2) BlogTopic15 3) BlogTopic16 Let say I create a user...
6 Oct 2019 by Varinder Raii
I need to get URL of requesting web site in My WEB API 2. I need to do this because of security. I want to response to the request which are coming from the URLs that are registered on my server.In Web API I have used1) Owin2) OAuth 2.0So far I have tried to get it from owin...
17 Aug 2016 by Vincent Maverick Durano
Using EF and LINQ has nothing to do with using Identity or SQL Membership. EF is an object relational mapper (ORM) and you'll use it as a replacement for good-old-plain ADO.NET to work with data. LINQ on the other hand is used for querying objects and collections. For example objects generated...
26 Sep 2016 by rajnish.d3006
Dear FriendsPlease support me to create an application using WebApi and AngularJs. I have newly started work on angular js and webApi. I understand all the way to work on same technology. Here i am using OWIN to authenticate Webapi and Client request. My problem is how to rename and Add...
6 Mar 2017 by MohamedHassanAli
Hello,I am facing an issue when i try to invoke a method at SignalR Server from SignalR client.Background:Hub.Invoke("MethodToBeCalled", MessageType).Wait();The MessageType is defined as public class MessageType{ primitive type prop1; primitive type prop2; ...
13 Jul 2017 by OriginalGriff
It's not urgent, not at all: I checked, and no-one here even has it on the "to do" list, much less near the top. It may be urgent to you, but then: every question is urgent to the asker, so stressing the urgency to you isn't going to get you "extra help". And besides, if it was really urgent,...
25 Sep 2017 by Mangesh9692
How to access self hosted website by Owin on remote machine. I created self hosted site by OWIN on my machine.I hosted that site by console application in .Net.I can access that site on my machine but i cant access that site on another machine which is in LAN n/w. What I have tried: Things i...
18 Oct 2017 by Chriz12
Here's the solution if someone else is facing similar issues. Katana Project - Documentation[^]
22 Dec 2017 by Charlie Andrews
Hello , I have created a webapi project. I have created an endpoint where i will receive the facebook token that the andriod developer is getting using the Facebook SDK. My query is how do i validate the token in my api ?? how do i know that this token is valid or invalid or expired ?? ...
20 Mar 2018 by Richard Deeming
You can't, and you don't need to. There are very few situations where you would ever need to know the plain-text password - primarily if you're using it to authenticate to a third-party system. For 99% of applications, you never need to know the plain-text version of the stored password.
20 Mar 2018 by OriginalGriff
You don't, that's the whole idea. Hashes are deliberately non-reversible, that's the whole point - nobody stores the password in a format that can be stolen. You use the hashed value - you can store that and use it for your autologin.
22 Mar 2019 by Member 13518243
Hello there, I am developing a web service application with .NET Framework 4.5 / Web API 2 and I am using OWIN for authentication and authorization. So, for this application we need a load balancer solution then we set up that as you know after that users' tokens are not working properly....
19 Sep 2020 by BillWoodruff
Quote: This is all new to me ... Am I supposed to have a listener to catch the post from KeyCloak? If so can some one show me how to create one? Note: I've found some Microsoft code using OWIN and Azure and MVC that bring back user info....
25 Sep 2020 by ehwash
I'm building a authentication app using OWIN. I'm trying to get both the Bear token and userinfo claims. The code below gets me to 85% of what I want. While initially writing the code I used IIS Express. I debugged and coded towards that...
29 Oct 2020 by Member 14978771
Having a OWIN self hosted ASP.NET Web API. while installing on client side some configurations should be done manually I like to make that automated. So my concern is 'is that possible?' then how can I do that? Is creating a Setup file is a write...
4 Dec 2020 by TempoClick
I was debugging the source code in my new company to find the origin of the OpenIdConnectProtocolInvalidNonceException When the AuthenticationFailed notification is received, they check if User.Identity.IsAuthenticated What I have tried: ...
13 Feb 2023 by $ultaNn
Dear i ave followed steps given in this Link when I debug the application, I am getting Error This site can’t be reached What I have tried:
13 Feb 2023 by Andre Oosthuizen
As per your link, a reference to ensuring the path is correct to your ADFS server - The path to the ADFS XML metadata is always your ADFS server FQDN, followed by a path to the FederationMetadata XML document To solve your problem, check...
26 Jan 2015 by John Atten
Building up a lean, minimal Web Api application from scratch is a terrific way to become more familiar with how things work under the hood in a Web Api (or any other ASP.NET) project.
17 Nov 2023 by Jeremy Likness
Wisej is a powerful platform that abstracts away the nuances of client/server interactions while embracing all the web has to offer, including third-party HTML5-based solutions, it is the perfect tool for building enterprise web applications.
16 Feb 2015 by John Atten
Identity is fully compatible with the OWIN Authorization model, and when used in this manner, represents a very useful, ready-to go concrete implementation.
14 Apr 2016 by Alon Lek
Create a simple self hosted Web API service that runs as console and as service in just 2 minutes
20 Apr 2016 by Daniele Fontani
How to create a web application using owin and nancy as presentation framework, embedd it in a dll and include to many web sites.
21 Dec 2015 by Khademul Basher
Authentication and Authorization using Asp.net Identity
31 Oct 2018 by Aydin Homay
Internet of Things requires fully decentralized platforms which can be developed, deployed, discovered, and requested more easily.
2 Dec 2018 by Aydin Homay
How to use Microsoft OWIN to build a Microservice
23 Mar 2015 by John Atten
This is the third post in a series in which we have built up a minimal, self-hosted, OWIN-based Web Api application essentially from scratch. In this post we'll pull in a minimal ASP.NET Identity implementation.
23 Oct 2018 by Alen Toma
OWIN OAuth2 authentication for Facebook and Google without Entityframework
7 Aug 2014 by Sebastian Solnica
Common Authentication/Authorization between .NET4.0 and .NET4.5 Web Applications
4 Dec 2017 by Pierre Nortje
Let's use the API we created in Part 1 to show the user some statistical graphs.
3 Dec 2014 by Assil
This post demonstrates the simplest use of OWIN with ASP.NET. It will not teach you OWIN nor Claim-based auth, nor design or security.
5 May 2015 by Jasminder Singh
In this article, I will share my learning about what are O.W.I.N. and Katana and will also try to get into some basic details that makes them important concept to be learnt. So let's start with their basic definitions first.
3 Mar 2018 by Ajit Hegde
This tip describes how to use ASP.NET identity entity framework with mysql database.
3 Jan 2016 by Member 9111713
I have two separate site, one in asp.net and other in MVC. I have a button ("Login to MVC Site") on my ASP.Net site, which takes user ID and Password from asp.net site to validate against MVC site and after successful validation it should redirect to home page of MVC site.So basically, its...
26 Sep 2016 by David_Wimbley
So to rename AspNetUsers to a different table name you need to go into the file that contains your Identity Model. In that file, you should have an ApplicationDbContext as well. In the OnModelCreating method, this is where you will map your changes to what is provided by...
28 Sep 2017 by Denis Pashkov
How to get MVC response body inside your owin middleware class
8 Sep 2016 by Ali_Khalili
How to implement OWIN pipeline using ASP.NET Core
26 Nov 2015 by Sergey Alexandrovich Kryukov
"Katana" is a kind of traditional Japanese sword, and "owin", is some languages, means an agricultural building, a specialized kind of a barn. Jokes aside, it's not very nice to throw in some not very widely known words, especially abbreviations, and let people do a guesswork or a search for...
23 Dec 2018 by CurtisOHD
Best dialog for maintaining many to many tables
19 Oct 2018 by ccromer1976
Hello,I am experimenting with OWIN middleware in an Web API application and I wish to intercept the request in the pipeline and decode the request body in flight before the request gets to the API Controller/Action.I have taken a json string and base 64 encoded it as part of this test. ...
3 Jul 2015 by Member 11728177
Requirement: We want to create a Portal. When we login in Portal then this provide login authentication for different-2 sites that have link in this portal by using same login credential(that are used for login in Portal). Which type concept we adopt? Possible to use Owin/Katana concept for...
17 Aug 2016 by Андрей Голубцов
HI am making an ASP.NET Web Forms app and i'm searching for way to do a good, secured and easy to make Login Page . My main problem that i already have a SQL DataBase and i'm using EF + LINQ to operate with this . Because of that i can't use Idenity, Owin and Katana ( if some one now how it...
3 Mar 2019 by James Walsh Jr
What you're asking for isn't clear. What framework are you using? What security methods are you using? Is this public or private APIs. Without information like that, it's literally impossible to answer your question.
20 Aug 2015 by Khushi Saraswat
How i can validate passport number of all countries in MVC Model.Please Reply
26 Nov 2015 by atulonweb@gmail.com
Hi Experts,I am really new to OWIN and Katana. I am quite confused as everybody is talking and using these two aliens.Is OWIN a stanard or OWIN is a server or can act as server or can be used as replacement of IIS or another layer between IIS and application. What is Katana. What is its...
6 Mar 2017 by Graeme_Grant
Action is a pointer to a method. This is why it won't work. You need to tell the serializer to ignore it.If you are using Newtonsoft's Json lib, then tag the method with the JsonIgnore attribute.If you are using Microsoft's Json serializer, then tag the method with the Microsoft Ignore...
18 May 2017 by Chriz12
Hello, I have 2 applications running on IIS 8.5. Both of the applications need authentication. For the Authentication I used the Identity Data Model. When I run the applications from the debugger I have no problem login more than one user at the time. When I take them to the IIS the...
20 Mar 2018 by pratt1332
Hi, I am using Aspnet identity the token based owin authentication in web api. It store password in password hash which cannot be decrypted. I want password it in autologin functionality. but it is in passwordhash. How i get passward in plaintext. Thanks. What I have tried: tried so much...
3 Mar 2019 by Member 14161968
I would like to give the access to users to access the API methods. For Example : Please see the below action method which can be access by user "hrushi", But in my scenario we want to put user list from database. Is there any best way to do this ? I hope question is clear now.... ...
6 Oct 2019 by Iosif_petre18
you can get the website url from request Headers: context.Request.Headers["origin"];