About 1,020,000 results
Open links in new tab
  1. What is the equivalent of Server.MapPath in ASP.NET Core?

    Mar 21, 2018 · In Asp.NET Core 2.2 and below, the hosting environment has been abstracted using the interface, IHostingEnvironment The ContentRootPath property will give you access …

  2. How to host multiple .NET Core apps under the same URL?

    When hosting the new ASP.NET Core applications, I host in IIS as well, and following the documentation for ASP.NET Core web site deployment, I host each .NET Core web app in a …

  3. System.Web.Hosting.HostingEnvironment in .NET Core?

    Mar 8, 2021 · private static void InitializeContainer(Container container) { var application = System.Web.Hosting.HostingEnvironment.SiteName; var instance = …

  4. Is it possible to self-host an ASP.NET Core Application without IIS?

    ASP.NET 5 is completely decoupled from the web server environment that hosts the application. ASP.NET 5 supports hosting in IIS and IIS Express, and self-hosting scenarios using the …

  5. How to Self Host a ASP.NET Core WebAPI with Console App?

    I have a fully functional ASP.NET Core Web API built with .NET 8, and it runs smoothly in Visual Studio. Now, I'm looking to create a separate console application to host this Web API using …

  6. c# - How to change hostingModel="OutOfProcess" while …

    Mar 19, 2020 · 3 Change the properties in VS Debug window, the project's launchsettings.json file is updated synchronously, and launchsettings.json is for VS running the project. To configure …

  7. asp.net core app deployed on iis meets 500 internal server error

    dotnet publish -c release -r win7-x64 This creates a publish folder containing hundreds of dlls, an .exe, and web.config located here: bin\Release\netcoreapp2.0\publish On the web server with …

  8. Hosting of My ASP.NET Core Web Application With Kestrel Only

    Apr 21, 2023 · in-of-process or out-of-process hosting mode in/out-of-process is about hosting ASP.NET Core app under IIS. If you don't want any other web server - you don't need to. You …

  9. Determine installed ASP.NET Core Hosting Bundle versions

    Jul 10, 2020 · %Program Files%\IIS\Asp.Net Core Module\V2 The install order of hosting bundles doesn't matter, you can install 5.0 then 3.1 then 2.1 in that order and the module version will …

  10. How to turn off the logging done by the ASP.NET core framework

    Feb 7, 2016 · Since the new logging infrastructure is being used (by design) by asp.net itself (as well as other vendor code), it's up to the ILoggerProvider implementation to decide whether it …