Best Practices

/Best Practices

Master the Art of Writing Clean Code in C#

Foundations of building object-oriented infrastructures Despite the fact that C# is a very rich on features language, it's very common to see poorly designed and implemented types in a real world. In fact, C# is one of the richest on features language among object-oriented languages in the world nowadays. But with great power comes great responsibility. It's challenging to use all those features in a right [...]

By |2018-11-12T00:15:56+00:00July 25th, 2018|.NET, Best Practices, C#, Refactoring, Video Courses|0 Comments

The Open/Closed Principle – OCP

The second principle we’re going to talk about is the Open/Closed Principle. If we look at Wikipedia, we will see the following definition: The Open/Closed Principle states that software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification. Problem Statement What it means, in essence, is that when we need to introduce a change, we shouldn’t dig deep into [...]

By |2017-09-04T09:39:57+00:00September 4th, 2017|.NET, C#, Design|0 Comments

DateTime Fundamentals in .NET and SQL Server

My new video course “Date and Time Fundamentals in .NET and SQL Server” is released! Take it right now just for 10$! Build a solid foundation of working with Date and Time with this course Almost all the software works with date and time in one form or another. Some programs, of course, need to work with date and time more than other. However, [...]

By |2017-08-15T13:22:52+00:00August 15th, 2017|.NET, Best Practices, C#, Fundamentals, Video Courses|0 Comments

Single Responsibility Principle – SRP

This entry is part 3 of 4 in the series SOLID

SRP Definition In this article, we will look at what is single responsibility principle and look at some simple examples in C# which demonstrate the single responsibility principle and how to adhere to the SRP. Single Responsibility Principles or SRP in short states that every object should have a single [...]

By |2017-09-04T09:27:23+00:00June 28th, 2017|.NET, Best Practices, C#, Design|1 Comment

Software Architecture: Meta and SOLID Principles in C#

This entry is part 1 of 4 in the series SOLID

Learn how to develop maintainable software systems applying Meta and SOLID Principles. Teaching Approach No fluff, no ranting, no beating the air. I esteem your time. The course material is succinct, yet comprehensive. All important concepts are covered. Particularly important topics are covered in-depth. For absolute beginners, I offer my [...]

By |2017-06-28T10:53:16+00:00June 6th, 2017|.NET, Best Practices, C#, Design, Video Courses|0 Comments

Handling Errors and Exceptions in C#. Part 3

This is the third and most comprehensive part about handling errors and exceptions in C#. Here are the first and the second part. Also, you can take a look at the blog post about global exceptions handling in WPF applications. Errors Handling and many other topics you’ll find in my new video course “API in C#: The Best Practices of Design and Implementation”. Take [...]

By |2016-10-24T14:39:07+00:00October 24th, 2016|.NET, Best Practices, C#, Refactoring|0 Comments

Abstract Class VS Interface in C#

You can open any C# tutorial and you’ll find some information about abstract classes and interfaces. Most likely, you’ll not find any information about what is the difference between abstract class and interface. This theme was discussed earlier on the Internet several times but I want to consolidate all the most important thoughts regarding the problem of choosing between an abstract class and interface [...]

By |2016-07-23T15:40:21+00:00July 22nd, 2016|.NET, Best Practices, C#, CodeProject, Design|5 Comments

Designing and Implementing API in C#

Nowadays I’m writing my new programming video course. I chose an interesting topic for the next course: “Designing and Implementing API in C#”. How to design API? In this course, you’ll learn how to design and implement types in C# so that the other developers won’t hate you when using one of the types developed by you. It means you are going to learn [...]

By |2016-07-23T15:47:19+00:00July 22nd, 2016|.NET, Best Practices, C#, Design, Refactoring, Video Courses|1 Comment