Top "Asp.net-core-mvc" questions

ASP.

Change default format for DateTime parsing in ASP.NET Core

I get a Date in an ASP.NET Core Controller like this: public class MyController:Controller{ public IActionResult Test(DateTime …

c# asp.net-core asp.net-core-mvc asp.net-core-1.0
Access from class library to appsetting.json in Asp.net-core

I am trying to access appsetting.json file from a class library. So far the solution that I found is …

c# asp.net-core .net-core asp.net-core-mvc
How to use an Area in ASP.NET Core

How do I use an Area in ASP.NET Core? I have an app that needs an Admin section. This …

asp.net-mvc-routing asp.net-core asp.net-core-mvc asp.net-mvc-areas
What is the difference between ASP.NET MVC 6 and ASP.NET Core 1.0 and the reason behind the core framework?

I understand that ASP.NET Core is a modular framework which unites technologies like ASP.NET MVC and Web API …

.net asp.net-mvc asp.net-core-mvc
ASP.NET Core MVC: setting expiration of identity cookie

In my ASP.NET Core MVC app the lifetime of the authentication cookie is set to 'Session', so it lasts …

asp.net-mvc asp.net-identity asp.net-core asp.net-core-mvc
How to stream with ASP.NET Core

How to properly stream response in ASP.NET Core? There is a controller like this (UPDATED CODE): [HttpGet("test")] public …

c# asp.net-core asp.net-core-mvc asp.net-core-1.0
Populating Dropdown in ASP.net Core

Does anyone know how to deal with Dropdowns in Asp.net core. I think I made myself very complicated to …

asp.net asp.net-core asp.net-core-mvc asp.net-core-1.0
Read solution data files ASP.Net Core

I have an ASP.NET Core (1.0-rc1-final) MVC solution and I wish to store a simple text file within …

c# asp.net-core asp.net-core-mvc asp.net-core-1.0
How to Resolve Instance Inside ConfigureServices in ASP.NET Core

Is it possible to resolve an instance of IOptions<AppSettings> from the ConfigureServices method in Startup? Normally you …

c# asp.net-core inversion-of-control asp.net-core-mvc