About 11,200,000 results
Open links in new tab
  1. 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 …

  2. 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.

  3. 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.

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

    I'm trying to use the FileUpload control in ASP.NET Here's my current namespace setup: using System; using System.IO; using System.Collections.Generic; using System.Linq; using …

  5. Difference between ApiController and Controller in ASP.NET MVC

    Feb 29, 2012 · Quote: Note If you have worked with ASP.NET MVC, then you are already familiar with controllers. They work similarly in Web API, but controllers in Web API derive from the …

  6. 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.

  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. c# - ASP.NET Core Identity - get current user - Stack Overflow

    To get the currently logged in user in MVC5, all we had to do was: using Microsoft.AspNet.Identity; [Authorize] public IHttpActionResult DoSomething() { string …

  9. How to enable CORS in ASP.NET Core - Stack Overflow

    Aug 11, 2015 · The origin check (as of ASP.NET Core 5.0) happens in a very simple way... i.e. case-sensitive ordinal string comparison (see source) between the strings you provided via …

  10. 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 …