-3

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

StriBog
  • 165
  • 1
  • 1
  • 13
  • 1
    Does this answer your question? [Hosting ASP.NET Core API in a Windows Forms Application](https://stackoverflow.com/questions/60033762/hosting-asp-net-core-api-in-a-windows-forms-application) – quaabaam Jun 01 '23 at 18:55
  • 1
    [How to: Add or remove references by using the Reference Manager](https://learn.microsoft.com/en-us/visualstudio/ide/how-to-add-or-remove-references-by-using-the-reference-manager?view=vs-2022) – quaabaam Jun 01 '23 at 18:57
  • 1
    [Install and manage packages in Visual Studio using the NuGet Package Manager](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio) – quaabaam Jun 01 '23 at 18:57

1 Answers1

0

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

StriBog
  • 165
  • 1
  • 1
  • 13