by admin | Dec 6, 2018 | C# .Net, MySQL, Software
[:en]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...
by admin | Dec 6, 2018 | C# .Net, Software
[:en]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...
by admin | Nov 14, 2018 | C# .Net
[:en]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 admin | Oct 23, 2018 | C# .Net
[:en]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...
by admin | Oct 23, 2018 | C# .Net
[:en]By default, returning a binary file via a Controller’s method is quite simple, like: [Route(“Dynamic/{token}”)] public IActionResult Dynamic(String token) { var item = cache.Where(o => o.Token == token).FirstOrDefault(); //jpg, png if...