Related questions
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 date) {
}
}
The framework is able to parse the date, but only in English format. When I pass 04.12.2017 as date parameter, …
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 async Task GetTest()
{
HttpContext.Response.ContentType = "text/plain";
using (var writer = new StreamWriter(HttpContext.Response.Body))
await writer.WriteLineAsync("Hello …
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 understand the new Asp.net core concept. (I am new to Asp.net Core).
I have models called Driver, Vehicle. …