locked
ASP .NET Core 1.1 - Visual Studio 2017 - Enable Windows authentication RRS feed

  • Question

  • I am new to ASP.NET 5 Core 1.1 (MVC) and just started to develop a new project. I strictly have to go with self hosting (no IIS) and Windows Authentication for user. I would like to know how to enable Windows Authentication for my self hosted application. It would be great if it is possible without adding any 3rd party Fw like OWIN, etc (but can add it if no option is available). I had gone through multiple questions similar to this and nothing is matching my new project structure / config files available in VS 2017. Hence kindly view my project structure as an image from the below link and let me know how I can enable it.

    More details: 
    1) .NET Framework Version: 4.6.2. 

    2) using Visual Studio 2017 (ASP.NET 5 Core 1.1 project (.NET Fw)) <- Because of self hosting, runs as console app as of now. 

    3) Not Using OWIN or any other 3rd party framework as of now. 

    4) Project Structure: Click here to view the snapshot of my project structure.


    Saturday, April 8, 2017 11:45 AM

Answers

  • Hi Shridhar L,

    This forum discusses and asks questions about .NET Framework Base Classes, Since your issue is more related to asp.net core, I would suggest that you could post your issue on asp.net core forum for suitable support.

    https://forums.asp.net/1255.aspx/1?ASP+NET+Core

    Thanks for your understanding.

    Best regards,

    Cole Wu


    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.

    Monday, April 10, 2017 6:29 AM