Code-First is a great way to stand up a data access layer quickly and with minimal pain. Code-First really excels because it allows you to easily blow away your schema. But Code-First isn’t a great scheme if you want to do a lot of stored procedures, or if your system contains a lot of views….
Read more…
Source control is a foundational piece of any software development process. If you are not doing source control, you are doing it wrong. You will feel some pain someday, probably some bad pain. Source control is useful for everything, not just your C# code but also your databases. Why should your database code be any…
Read more…
As it is with most things Docker, the majority of the tutorials and instructions on securing the Docker API endpoints use Linux-based examples. Being new to both the Docker and the Linux world made this process a little more frustrating than I expected. However, I made my way through it and documented my journey which…
Read more…
ASP.NET MVC has the ability to validate forms with minimal effort thanks to the attributes in `System.ComponentModel.DataAnnotations` (https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions-1/models-data/validation-with-the-data-annotation-validators-cs#using-the-data-annotation-validator-attributes). You can simply slap an attribute such as `Required` on a property and get nice validation messages. But what if you want to validate multiple fields on a model? There are a couple ways you can solve…
Read more…
Cassey shares how the Ocuvera team converted a legacy project to NET Standard for use in Xamarin Forms.
Read more…
If you’re wondering how to best leverage your Azure account in the midst of containerizing all your things, then you’re in luck. Azure’s got you covered. In this article, I’m focusing on Azure’s container registry, because I think it will fit into my workflow a little better than other container repositories like Docker Hub. Personally,…
Read more…
Unit tests are great! Encapsulation is great! When writing testable code, sometimes you come across a situation where you want to test private methods. Before implementing any solution, please think about why you are wanting to test a private method and whether it should be tested. If you still would like to test your private…
Read more…
The VSTS task board is a great way for developers and project managers to see development tasks in the current iteration. But we like to also see which tasks have been submitted and are awaiting a pull request. Here is how we customize our task board to add an additional step for work items. Creating…
Read more…
I do almost all of my Git work via the command line and so should you. As a tool that developers use every day, it is important that we understand what is happening. I find that most Git GUIs hide too much and developers that rely on them exclusively are often unaware of how Git…
Read more…
Creating a custom map for your data has never been easier with tools such as Mapbox. Within minutes you can have your data uploaded and visualized in a stylized map ready to be consumed on the web or by a mobile app. Mapbox Studio is a one-stop shop for uploading data, creating a layer, styling…
Read more…