ASP.
I created an .NET Core MVC application and use Dependency Injection and Repository Pattern to inject a repository to my …
c# dependency-injection asp.net-core asp.net-core-mvcNot sure what am I missing here but I am not able to get the values from my appsettings.json …
c# asp.net-core configuration asp.net-core-mvc appsettingsI'm trying to make a custom authorization attribute in ASP.NET Core. In previous versions it was possible to override …
c# asp.net authorization asp.net-core asp.net-core-mvcHow do I manually resolve a type using the ASP.NET Core MVC built-in dependency injection framework? Setting up the …
c# dependency-injection asp.net-core asp.net-core-mvcI've done this before with MVC5 using User.Identity.GetUserId() but that doesn't seem to work here. The User.Identity …
asp.net asp.net-identity asp.net-core-mvc asp.net-core-1.0I need some help with the select tag helper in ASP.NET Core. I have a list of employees that …
c# asp.net-core asp.net-core-mvc tag-helpersBack in RC1, I would do this: [HttpPost] public IActionResult Post([FromBody]string something) { try{ // ... } catch(Exception e) { return new …
c# asp.net-core asp.net-core-mvcI have services that are derived from the same interface. public interface IService { } public class ServiceA : IService { } public class ServiceB : …
c# asp.net-core asp.net-core-mvc coreclrI want the example controller below to return a status code 418 with no contents. Setting the status code is easy …
c# asp.net-core asp.net-core-mvc asp.net-core-webapiCan you please let me know how to get client IP address in ASP.NET when using MVC 6. Request.ServerVariables["…
c# asp.net-core asp.net-core-mvc