How to use Dapper
Dapper is a NuGet library that you can add to your .NET projects to extend your IDbConnection interface. It's an open-source micro-ORM that can be a good compromise if you don't need all the features of a fully-fledged ORM.
Dapper is a NuGet library that you can add to your .NET projects to extend your IDbConnection interface. It's an open-source micro-ORM that can be a good compromise if you don't need all the features of a fully-fledged ORM.
In this article I'll quickly show you an easy way to test a web application, written in any language you like, using .NET Core and Selenium. With "testing the application"…
What's AutoMapper AutoMapper is a powerful tool for .NET developers used for object mapping, created by Jimmy Bogard. It is used to map different objects (classes or structs in our…
WPF (Windows Presentation Foundation) is a set of libraries relying on the .NET Framework (also available from .NET Core 3) which allows you to build graphical desktop applications. On December…
In the last couple of years, it happened quite often that I had to build a web application to serve as a backoffice administration panel. So I took a fresh…
Intro Dependency injection is a programming technique where an object (the client) gets a dependency (i.e. a service) supplied by another object (the injector). This way the client delegates the…
Sometimes we find ourselves in the need of handling various types of objects (or entities) while using Entity Framework as ORM for our projects. The situation can be a bit…
In the previous article we've seen how to use the [Theory] attribute with [InlineData], which allow us to have static elements to feed our tests methods. This particular approach can bring lots of…
In the last article we introduced xUnit.net and talked about the very basic way to write tests with the [Fact] attribute. Today will we'll add some spicy to our tests with the [Theory] attribute.…
In this series of tutorials I'll try to guide you through the path of Unit Testing. At the end, hopefully, we'll be able to set up one or more testing…