Should I Use Entity Framework?
Looking at the Established Choice vs. the New UIs Windows Forms or WinForms has been around since the beginning of .NET (and before that with VB6) so the question makes sense. We have WPF and UWP now so why would we ever create a WinForm project? It seems like WinForms is only for legacy support.
Continue ReadingThe SOLID principles are a great starting point for identifying how to build a loosely-coupled, easy-to-maintain application. Let’s look at each one in order: Single Responsibility Principle (SRP) Open Closed Principle (OCP) Liskov Substitution Principle (LSP) Interface Segregation Principle (ISP) Dependency Inversion Principle (DIP)
Continue ReadingThis is a fairly common issue. You go to insert data into SQL, either directly or through C# or another programming language only to get the error “Cannot insert the value NULL into column ‘id’”. It probably continues by saying “column does not allow nulls. INSERT fails.” Something like this:
Continue ReadingMy answer is typically “No”. Now, “real” programmers often think I’m an idiot and database administrators typically cheer but there is much more nuance than either camp wants to admit so let’s talk briefly about what should go into this choice. But before I do, If you would rather watch this content, this video will cover most of the same content: Entity Framework Best Practices video
Continue ReadingShowing Off Your C# Skills Let’s start off by saying that getting a certification is not typically the best way to show a potential employer that you are a good candidate. There are a lot of better ways to do that. The problem with certifications is that people study for the test instead of actually learning how to do the work.
Continue ReadingHave you ever felt like there might be gaps in your C# education? Maybe you have been working on intermediate or advanced topics but then find out that you missed something basic. Or maybe you are just now trying to learn C# for the first time and you aren’t sure what to learn in what order.
Continue Reading