How to get current user in asp.net core
I want to get the current user, so I can access fields like their email address. But I can’t do that in asp.net … Read more
I want to get the current user, so I can access fields like their email address. But I can’t do that in asp.net … Read more
How can I set the base path in ConfigurationBuilder in Core 2.0. I have googled and found this question, this from Microsoft docs, … Read more
Problem I want to return a file in my ASP.Net Web API Controller, but all my approaches return the HttpResponseMessage as JSON. Code … Read more
I’m building a .NET Core MVC on the latest version 2.2. I have a problem when I make changes to the CSHTML file … Read more
I am doing a quick stress test on two (kinda) hello world projects written in node.js and asp.net-core. Both of them are running … Read more
Having the following service constructor public class Service : IService { public Service(IOtherService service1, IAnotherOne service2, string arg) { } } What are … Read more
This is my controller: public class BlogController : Controller { private IDAO<Blog> _blogDAO; private readonly ILogger<BlogController> _logger; public BlogController(ILogger<BlogController> logger, IDAO<Blog> blogDAO) { … Read more
I started to convert my asp.net core RC1 project to RC2 and faced with problem that now IHttpContextAccessordoes not resolved. For sake of … Read more
I’m looking for the correct way to return JSON with a HTTP status code in my .NET Core Web API controller. I use … Read more
I need some help with the select tag helper in ASP.NET Core. I have a list of employees that I’m trying to bind … Read more