ASP.
I have the following class in NET Core2.0 App. // required when local database does not exist or was deleted public …
c# asp.net-core connection-string appsettingsI am trying to enable cross origin resources sharing on my ASP.NET Core Web API, but I am stuck. …
c# asp.net-coreI want to send dynamic object like new { x = 1, y = 2 }; as body of HTTP POST message. So I try to …
c# asp.net-core .net-coreI 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 coreclrProblem I want to return a file in my ASP.Net Web API Controller, but all my approaches return the …
c# asp.net-core .net-core asp.net-core-webapiI cloned the ASP.NET Core SignalR Repo locally, and try opening the solution from within the following environment. IDE …
asp.net-mvc asp.net-core visual-studio-2015 msbuild .net-coreI 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-webapiI am new to EF core and I'm trying to get it to work with my ASP.NET Core project. …
asp.net-core entity-framework-coreCan 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-mvcTo get the currently logged in user in MVC5, all we had to do was: using Microsoft.AspNet.Identity; [Authorize] …
c# asp.net-core asp.net-core-mvc asp.net-identity