locked
Web API and .NET Standard Project RRS feed

  • Question

  • 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.
    Thursday, September 27, 2018 4:31 PM

All replies

  • Hi MonsieurKiwi,

    Since your question is more related to Web, you could post a new thread in ASP.NET forum for suitable support.

    https://forums.asp.net/

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, October 2, 2018 6:50 AM