About 7,010,000 results
Open links in new tab
  1. How to use appsettings.json in ASP.NET Core 6 Program.cs file

    Sep 30, 2021 · I'm trying to access appsettings.json in my ASP.NET Core v6 application Program.cs file, but in this version of .Net the Startup class and Program class are merged …

  2. What is the purpose of CS and IP registers in Intel 8086 assembly?

    CS points to the code segment of your program, and the physical address where the next instruction resides is assembled transparently. And similarly, every time you access a piece of …

  3. c# - run single *.cs script from command line - Stack Overflow

    May 30, 2016 · Is there at last a easy way to execute c# script file from command line? I saw that discussion on github and according to this thread i think dotnet run Test.cs should do the job. …

  4. How do I write logs from within Startup.cs? - Stack Overflow

    In order to debug a .NET Core app which is failing on startup, I would like to write logs from within the startup.cs file. I have logging setup within the file that can be used in the rest of the app

  5. Does an ASP.NET Core 8 application use a StartUp.cs file?

    Dec 14, 2023 · In ASP.NET Core (which includes .NET 8), the Startup.cs class is still a central part of the application's configuration, but it's not the only way to set up your application.

  6. c# - Error in a .g.cs file? - Stack Overflow

    Try doing a clean. If that doesn't work, delete the bin obj directories in your solution, then do a full rebuild. Make sure none of your XAML files are referencing that component (which is what's …

  7. c# - Read appsettings.json in Main Program.cs - Stack Overflow

    Jan 19, 2017 · Read appsettings.json in Main Program.cs Asked 8 years, 11 months ago Modified 1 year, 1 month ago Viewed 155k times

  8. asp.net core - Logging within Program.cs - Stack Overflow

    May 24, 2018 · Is it possible to get an ILogger inside Program.cs Main method? I want to pass it on to a service that's created inside that method. I've only found this on SO How do I write logs …

  9. c# - using variables from another file .cs - Stack Overflow

    Dec 1, 2014 · I have a project in c# winforms, with a file called: PublicSettings.cs (this file is within a folder called: Class) where I have a variable. Now, I want to use that variable from another …

  10. What are the differences between CS 1.6 and CS:GO?

    Apr 13, 2017 · I edited the question so that it is a comparison between CS:GO and CS 1.6. Then one could compare CS:GO and CS:S by looking at both questions.