Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Web API and .NET Standard Project

$
0
0
Hello there,

Context:

I'm currently on application including many subproject based on .NET Standard (for Xamarin).

This application need to run local Web Server to expose an API (application must be callable from external to receive updated datas).

So, I have created an ASP.NET Core project permitting to make easily a WebApi and run a server (Kestrel). Problem, It's a .NET Core project and it's incompatible with Xamarin.

Objectives:

- The application must be callable from external (expose an API)

- The application must used .NET Standard Projects (compatibility with Xamarin)

- The application must run on desktop and mobile

Questions:

- Will WebAPI included in futures releases of .NET Standard ?

- Does it seems complicated to expose an API (and so, run a server) in mobile app (and not a good practice by the way) ?

- Is there any other way to do this work??

Thanks for your answers.

Viewing all articles
Browse latest Browse all 8156

Trending Articles



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