About 10,200,000 results
Open links in new tab
  1. Differences between .NET vs .NET Core vs .NET Standard vs .NET ...

    Jul 23, 2023 · .NET Standard is an in-between library that allows code to be shared between .NET Framework and .NET Core. In theory, if you compile code to .NET Standard, it should be …

  2. How to read AppSettings values from a .json file in ASP.NET Core

    For .NET Core 2.0, things have changed a little bit. The startup constructor takes a Configuration object as a parameter, So using the ConfigurationBuilder is not required.

  3. Can I generate script of a migration with EF code first and .net core

    I'm building a MVC application with .Net Core and I need to generate the script of a migration. With EF6 I did run the command update-database -script but when I try to do the same with …

  4. .NET Core vs ASP.NET Core - Stack Overflow

    May 23, 2017 · What exactly is the difference between .NET Core and ASP.NET Core? Are they mutually exclusive? I heard ASP.NET Core is built on .NET Core, but it can also be built on the …

  5. Set Environment variable in .NET Core Console Application from …

    Mar 18, 2021 · Set Environment variable in .NET Core Console Application from App.config Asked 4 years, 7 months ago Modified 1 year, 8 months ago Viewed 22k times

  6. Read environment variables in ASP.NET Core - Stack Overflow

    Running my ASP.NET Core application using DNX, I was able to set environment variables from the command line and then run it like this: set ASPNET_ENV = Production dnx web Using the …

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

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

  8. How to read request body in an asp.net core webapi controller?

    A quick way to add response buffering in .NET Core 3.1 is app.Use((context, next) => { context.Request.EnableBuffering(); return next(); }); in Startup.cs. I found this also guarantees …

  9. Is .NET version 8 the same as .NET core? - Stack Overflow

    Dec 22, 2023 · I am new to .NET and I need to work on a project using .NET core. I saw a tutorial from 3 years ago using .NET Core 3.1 now when I download the tools I saw the latest version …

  10. c# - Convert Word doc and docx format to PDF in .NET Core …

    Oct 5, 2017 · I need to display Word .doc and .docx files in a browser. There's no real client-side way to do this and these documents can't be shared with Google docs or Microsoft Office 365 …