
How to change session timeout in ASP.NET - Stack Overflow
189 I am running an ASP.NET 2.0 application in IIS 6.0. I want session timeout to be 60 minutes rather than the default 20 minutes. I have done the following Set <sessionState …
Detailed 500 error message, ASP + IIS 7.5 - Stack Overflow
IIS 7.5 , 2008rc2, classic asp, 500 error msg: The page cannot be displayed because an internal server error has occurred. I need to know how to configure IIS to get a more detailed error.
asp-controller and asp-action attributes not working
Aug 6, 2016 · Would anyone know what I am missing, why those asp-controller and asp-action tags are not working for me. I am implementing a project in ASP.NET MVC Core. This does …
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 …
How do I get client IP address in ASP.NET Core? - Stack Overflow
Feb 23, 2015 · Can you please let me know how to get client IP address in ASP.NET when using MVC 6. Request.ServerVariables ["REMOTE_ADDR"] does not work.
How to return HTTP 500 from ASP.NET Core RC2 Web Api?
Jun 13, 2016 · The built-in Problem ()-method of Microsoft.AspNetCore.Mvc will return a "problem detail"-response based on RFC 7807 (in ASP.NET Core 3.0 and later). It will always return …
Difference between ApiController and Controller in ASP.NET MVC
Feb 29, 2012 · I've been playing around with ASP.NET MVC 4 beta and I see two types of controllers now: ApiController and Controller. I'm little confused at what situations I can choose …
How to set css style to asp.net button? - Stack Overflow
If you have a button in asp.net design page like "Default.asp" and you want to create CSS file and specified attributes for a button,labels or other controller.
c# - AddTransient, AddScoped and AddSingleton Services …
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 …
How do I implement a checkbox list in ASP.NET Core?
I am looking to implement a checkboxlist in ASP.NET Core, but am facing some difficulties. My ViewModel: public class GroupIndexViewModel { public Filter[] Filters { get; set; } } public c...