Use this tag for questions specifically related to ASP.
In MVC ASP.NET you can set the smtp configuration in the web.config file like this : <system.net&…
c# sendmail asp.net-core-2.2Our enterprise application is a massive (1000+ pages) app and primarily it is glorified data entry application. There is no major …
angular asp.net-core-2.2 blazorThe application is deployed as an (32-bit, .NET Core 2.2) App Service on Azure. It works fine when using the standard …
c# asp.net-core asp.net-core-2.2I am trying to prevent the app to redirect to /Account/Login in asp.net core 2.2 when the user isn't …
asp.net-core-2.2I have a method in my basecontroller class that adds data to tempdata to display pop-up messages. protected void AddPopupMessage(…
asp.net-core-2.2 tempdata redirecttoactionWhen I use Bearer token with an AspNetCore controller protected with [Authorize], I get the log message: info: Microsoft.AspNetCore.…
c# authentication oauth-2.0 asp.net-core-identity asp.net-core-2.2I call Register method with empty username and password. So I received this result: { "errors": { "Password": [ "The Password field is …
c# asp.net-core asp.net-core-2.2I tried this: Read request body twice and this: https://github.com/aspnet/Mvc/issues/4962 but did not work. I …
c# middleware asp.net-core-2.2I know that in asp.net-core 2.2, I can get the action name as follows: ControllerContext.ActionDescriptor.ActionName but I am …
c# controller httpcontext asp.net-core-2.2I have an existing database in SQL Server that I need to connect to ASP.NET Core 2.2 project with EF …
entity-framework-core asp.net-core-2.2 asp.net-core-scaffolding