The 'frameworks' section in the project.json file (located in your project's solution directory) lists all of the frameworks that an application can use. For an ASP.NET Core web application, you will need to list a full .Net Framework moniker.
In the case of multiple frameworks, such as a combination of .NET Framework and .NET Core, the application must use the full .NET Framework.
dotnet run -f NET461
.NET Core Microservices Agent for Windows
If your application is built using .NET Core 2.0+ on Windows, you can install the .NET Core Microservices Agent to your solution, then set the environment variables for your Controller. These lightweight agents provide full-stack and cross-stack visibility into your application and business performance by collecting infrastructure and end-user metrics.
If your application is built using .NET Core 2.0+ for Linux, you can deploy the .NET Agent v4.5.7+ for Linux to your solution to achieve the same visibility available with .NET Core for Windows. The agent includes coverage for multiple distribution versions, including CentOS, Debian, and Alpine, as well as a sample Dockerfile to help you deploy the agent. It can run on multiple microservices platforms, including Docker. We’re also looking to release a Pivotal Cloud Foundry buildpack in the future.