Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Self hosting an existing Web API with OWIN

$
0
0

I'm trying to get an idea of whether or not something I have in mind is even possible or not.  I am looking at converting an existing application to use ASP.Net with Entity Framework. In most cases, users would interact with the application via a front end UI that consumes the ASP.Net application hosted on IIS. One of the requirements of the application, is that users need to be able to download data and work offline if they are working out of an area with no access to the network. 

I looked at this tutorial that talks about using OWIN to self host a web-api. If I understand correctly, I believe I could have the client application spin up a console application / service that will self host the API and interact with something like a local SQL database.  However, is it possible to self host my existing API application locally via OWIN?  Or would I have to have an entirely separate project with all of the same classes / controllers that is setup to be self hosted via OWIN? 


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>