
We covered Entity Framework Code First in an earlier post where we just let Entity Framework create the database tables for us from a schema. That pattern might break down when we have actual data, but I do think letting Entity Framework create your tables is a great pattern for proof on concepts. In this…
Read more…

In my previous posts, I have covered two forms of database change control. Both of those focused on taking some sort of schema and deploying it. But in this post, I am changing focus to something that stores the deltas and reapplies them. Both DbUp and Code-First Migrations will basically play a continual list of…
Read more…

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…
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
LinkedIn Insight is a web analytics service that tracks and reports website traffic.
Service URL: www.linkedin.com (opens in a new window)
A video-sharing platform for users to upload, view, and share videos across various genres and topics.
Service URL: www.youtube.com (opens in a new window)