About 1,440,000 results
Open links in new tab
  1. How to run .NET Core console application from the command line

    Aug 25, 2016 · I have a .NET Core console application and have run dotnet publish. However, I can't figure out how to run the application from the command line. Any hints?

  2. How to fix "Correlation failed" exception, when using Microsoft ...

    Sep 24, 2024 · Trying to use Microsoft.Identity.Web solution to make an external provider connection in Asp.net Core application. I've connected it, using next C# code: …

  3. asp.net core - How do I change the SDK version in Visual Studio 2022 ...

    Dec 29, 2024 · In your Visual Studio Installer open "Modify" and in the second tab ("Singular components" or sth like that) select which SDKs you want in your VS.

  4. c# - How to change .NET Framework to .NET Standard/Core in Visual ...

    Sep 3, 2020 · If it's a relatively simple project, with little to no external dependencies, that has the VS 2017 and upward style .csproj format it's very easy, simply open your .csproj file in a text editor and …

  5. c# - Resolving instances with ASP.NET Core DI from within ...

    Resolving instances with ASP.NET Core DI from within ConfigureServices Asked 10 years, 3 months ago Modified 1 year, 3 months ago Viewed 635k times

  6. What is the proper way to exit a command line program?

    That leaves it running, but in suspended animation (so it is not using any CPU resources). It can be resumed later. If you want to stop a program permanently, then any of interrupt (often control-c) or …

  7. EF Migrations: Rollback last applied migration? - Stack Overflow

    4 In EF Core you can enter the command Remove-Migration in the package manager console after you've added your erroneous migration. The console suggests you do so if your migration could …

  8. ASP.NET Core return JSON with status code - Stack Overflow

    I'm looking for the correct way to return JSON with a HTTP status code in my .NET Core Web API controller. I use to use it like this: public IHttpActionResult GetResourceData() { return this.C...

  9. URL to access private blob in Azure Storage - Stack Overflow

    Nov 3, 2017 · We're just getting started with Azure Storage. In our scenario we upload to private blobs that we later need to access directly from our client app, e.g. images. Is there a way to address …

  10. How do I access Configuration in any class in ASP.NET Core?

    Aug 30, 2016 · I have gone through configuration documentation on ASP.NET core. Documentation says you can access configuration from anywhere in the application. Below is Startup.cs created by …