How to add ASP .Net Core Web Application library for Windows application?

237 Views Asked by At

I want to listen http requests by my windows forms application, in order to do this I want to add ASP .Net library for use the web application. I understand that this is a standard library, but I do not understand how to add it to the project

enter image description here

enter image description here

I found answer here: "You can do this in Rider by right clicking the project in question, selecting Add > Add Reference.", but I can't find system libraries

enter image description here enter image description here enter image description here

1

There are 1 best solutions below

0
StriBog On

I installed Microsoft.AspNetCore.Mvc and Microsoft.AspNetCore packages from nuget. I'm worried about outdated package warnings, but I haven't found a better solution.

Hosting ASP.NET Core API in a Windows Forms Application

enter image description here