|
- 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 currentUserId = User Identity
- 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
- 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 timeout="60">< sessionState> in web config Set session timeout to 60 minutes in IIS manager Web site properties ASP NET configuration settings
- asp-controller and asp-action attributes not working
After a little bit of digging I found that asp-controller and asp-action attributes are called anchor tag helpers, and are part of the Microsoft AspNetCore Mvc TagHelpers namespace Apparently it is an alternative to using Razor I was able to resolve the issue by creating '_ViewImports cshtml' and adding the below into the file: @addTagHelper *, Microsoft AspNetCore Mvc TagHelpers Once done
- c# - How to set ASPNETCORE_ENVIRONMENT to be . . . - Stack Overflow
258 When I publish my ASP NET Core web application to my local file system, it always takes the production-config and the ASPNETCORE_ENVIRONMENT variable with the value = "Production" How and where do I have to set the value of the ASPNETCORE_ENVIRONMENT variable so that it will be considered not only for debugging, but also for the publishing?
- 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
- c# - ASP. NET file download from server - Stack Overflow
ASP NET file download from server Asked 11 years, 10 months ago Modified 2 years, 4 months ago Viewed 273k times
- c# - FromBody attribute - Stack Overflow
And in Asp Net Core, the defult binding for Post is form-data form-data and raw are used two different binding way form-data is used name-value and raw with json is used with JsonFormatter
|
|
|