.NET Core Entity Framework DbContext Converter

Released a tool for .NET Core which optimizes the default output of .NET’s “DB First” entity class file generator. It offers a more flexible re-generated DbContext.cs file and you can simply append it to your existing DB scaffolding command....

ASP.NET Core Controller: Return text file

By default, returning a binary file via a Controller’s method is quite simple, like: C# [Route("Dynamic/{token}")] public IActionResult Dynamic(String token) { var item = cache.Where(o => o.Token == token).FirstOrDefault(); //jpg, png if (item.ImageBytes !=...
  [email protected]