by DXSdata | Dec 24, 2018 | C# .Net
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....
by DXSdata | Dec 6, 2018 | C# .Net, MySQL, Software
AutoMapper is not only a useful tool for mapping e.g. DB model classes to flatter ViewModels, it can also simplify and optimize SQL queries / expressions generated by LINQ. You can get it via NuGet for any .NET framework type. Example Let’s suppose we have a...
by DXSdata | Dec 6, 2018 | C# .Net, Software
Keeping .NET projects up to date is simple in general, but when it comes to details of huge (and old) projects, it can be challenging. In this case, I created a .NET project with MySQL DB about 10 years ago, using mainly DataSets. They were quite easy to handle with...
by DXSdata | Nov 14, 2018 | C# .Net
By default, you may install Accord.NET (powerful imagin/video/audio/machine learning framework) via NuGET and everything works fine on your VS development station. But after deploying your project via ClickOnce, you get a FileNotFoundException (e.g....
by DXSdata | Oct 23, 2018 | C# .Net
Taking the first steps with .NET XDocument objects, you might encounter everything you try to select from the XML will be NULL. In this case you have to take a look at the namespaces. Methods like Descendants() seem to always need the exact namespace written before...
by DXSdata | Oct 23, 2018 | C# .Net
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 !=...
Comments