Ben WattsUnit Tests — Where Do You Put ‘Em? — C# ExampleUnit tests, where should they go? In a separate project? Should they have the same namespace for easy access/referencing? Should they…Jun 6Jun 6
Ben WattsWrapper Classes — A Little Helper For Everyone — C# ExampleA Wrapper class, what is it and what can it help us with? Well have you had some code which relies on some framework library which you…Apr 101Apr 101
Ben WattsUnit Testing — Pros and Cons — Understanding why testing code is a good practiceWhat is unit testing? Well a unit test should aim to test a specific feature in our code, be it a function which calculates a value, or a…Feb 29Feb 29
Ben WattsUnit Testing — Why write code to test my code? Seems a little redundant — C# ExampleWhat is unit testing? Well a unit test should aim to test a specific feature in our code, be it a function which calculates a value, or a…Jan 31Jan 31
Ben WattsSoftware Design; Architecture should be an optionSoftware should allow you to choose its architecture at a later date. Now I understand some goals of software are to use a particular piece…Feb 1, 2022Feb 1, 2022
Ben WattsC# EntityFramework InMemory Database for Easy Testing/Prototyping and Project sharing.We’ve all been there: create a new project for a client, create a database in some form, share the project and include some instructions…Apr 17, 2021Apr 17, 2021
Ben WattsBasic Factory Pattern for JavaScriptSimple implementation of the factory pattern used in a JavaScript application.May 26, 2020May 26, 2020
Ben WattsI haven’t crashed, trust me: Game edition.Importance of small animation to notify the user: Hey! I’m running.May 18, 2020May 18, 2020
Ben WattsTargeting Multiple Frameworks for C# ProjectsSome times we are stuck in a situation where we want to use our old .Net Framework library in our new .Net Core/Standard library. This can…May 11, 2020May 11, 2020