I have the following client: new Client { ClientId = "nativeapptest", ClientName = "Native App Test",
I want the example controller below to return a status code 418 with no contents. Setting the status code is e
I have gone through configuration documentation on ASP.NET core. Documentation says you can access configurati
I'm building a .NET Core MVC on the latest version 2.2. I have a problem when I make changes to the CSHTM
Reading these two questions/answers I was able to run an Asp.net 5 app on IIS 8.5 server. Asp.net vNext early
I need some help with the select tag helper in ASP.NET Core. I have a list of employees that I'm trying
Not sure what am I missing here but I am not able to get the values from my appsettings.json in my .net core a
How do I get the Development/Staging/production Hosting Environment in the ConfigureServices method in Startup
In appsettings.json { "MyArray": [ "str1", "str2", "str3" ] } In
Sending a form POST HTTP request (Content-Type: application/x-www-form-urlencoded) to the below controller res
Back in RC1, I would do this: [HttpPost] public IActionResult Post([FromBody]string something) { try{
Can you please let me know how to get client IP address in ASP.NET when using MVC 6. Request.ServerVariables["
I created an .NET Core MVC application and use Dependency Injection and Repository Pattern to inject a reposit
I have services that are derived from the same interface. public interface IService { } public class ServiceA
How do I manually resolve a type using the ASP.NET Core MVC built-in dependency injection framework? Setting
I'm trying to make a custom authorization attribute in ASP.NET Core. In previous versions it was possibl