About 21,400,000 results
Open links in new tab
  1. c# - AddTransient, AddScoped and AddSingleton Services Differences ...

    Jul 1, 2016 · I want to implement dependency injection (DI) in ASP.NET Core. So after adding this code to ConfigureServices method, both ways work. What is the difference between the …

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

    I have set up my AppSettings data in file appsettings/Config .json like this: { "AppSettings": { "token": "1234" } } I have searched online on how to read AppSettings values from .json

  3. HTTP Error 500.30 - ASP.NET Core app failed to start [closed]

    Apr 22, 2021 · Deployment mode: Framework-Dependent Target Runtime: Win-x64 or Portable In my case, when I tried to deploy ASP.NET Core 5 application, it occurred due to not setting the change …

  4. How to correctly use the ASP.NET FileUpload control

    60 ASP.NET controls should rather be placed in aspx markup file. That is the preferred way of working with them. So add FileUpload control to your page. Make sure it has all required attributes including …

  5. asp.net - Cannot read configuration file due to insufficient ...

    0 Sometimes if it is a new server you need to configure or install ASP.NET feature on IIS for it to be able to read your web.config file. In my case this was the reason.

  6. ASP.NET Core: [FromQuery] usage and URL format - Stack Overflow

    ASP.NET Core: [FromQuery] usage and URL format Asked 7 years, 8 months ago Modified 1 year, 7 months ago Viewed 171k times

  7. C# ASP.NET Single Sign-On Implementation - Stack Overflow

    It offers an elegant and easy way to add support for Single Sign-On and Single-Logout SAML to your ASP.NET, ASP.NET MVC, ASP.NET Core, Desktop, and Service applications.

  8. Best practice to return errors in ASP.NET Web API [closed]

    May 24, 2012 · 33 If you are using ASP.NET Web API 2, the easiest way is to use the ApiController Short-Method. This will result in a BadRequestResult.

  9. asp.net - Adding machineKey to web.config on web-farm sites - Stack ...

    How To: Configure MachineKey in ASP.NET 2.0 - Web Farm Deployment Considerations Web Farm Deployment Considerations If you deploy your application in a Web farm, you must ensure that the …

  10. How to pass multiple parameters to a get method in ASP.NET Core

    Mar 29, 2016 · How to pass multiple parameters to a get method in ASP.NET Core Asked 9 years, 8 months ago Modified 2 years, 1 month ago Viewed 551k times