Quantcast
Channel: The Reformed Programmer
Browsing all 108 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

A library to run your business logic when using Entity Framework Core

This article describes a library to help write and run business logic in a .NET Core application where you are using Entity Framework Core (EF Core) library for database accesses. This follows on from...

View Article


More information on my book, Entity Framework Core in Action

Quite a bit is going on around the book I am writing, called Entity Framework Core in Action, now that it is on early release. In this short article I want to point you to some resource you might like...

View Article


Image may be NSFW.
Clik here to view.

Six ways to build better Entity Framework (Core and EF6) applications

In this article I describe six different approaches to building applications that use Microsoft’s database access framework, Entity Framework (EF). All six approaches are based on software principles...

View Article

Image may be NSFW.
Clik here to view.

Entity Framework Core: Client vs. Server evaluation

Entity Framework Core (EF Core) is a new, ground-up rewrite of the highly successful Entity Framework 6 (EF6.x) database access library for the .NET platform.  I have been commissioned by Manning...

View Article

Talking at Nottingham, UK .NET Meetup – July 2017

For anyone in the UK, I am talking at a .NET Meetup group in Nottingham UK on Monday, July 31st 2017. I was contacted by Marvin Rounce who co-ordinates the group as a result of the book in I writing...

View Article


Image may be NSFW.
Clik here to view.

Entity Framework Core performance tuning – a worked example

This is the first in a series of articles on performance tuning EF Core. In this article I take an example book selling site that I have built for my book and see how fast I can get it to perform. I...

View Article

Image may be NSFW.
Clik here to view.

EF Core – Combining SQL and NoSQL databases for better performance

This is the second article in my series on Entity Framework Core (EF Core) performance tuning. In this article I take that performance even further than part 1 did, by changing the applications to a...

View Article

Image may be NSFW.
Clik here to view.

EF Core: taking full control of the database schema

Entity Framework Core (EF Core) is the new(ish) version of Microsoft’s widely-used database access library. EF Core allows you to map .NET classes and properties to database tables and columns...

View Article


Image may be NSFW.
Clik here to view.

Using in-memory databases for unit testing EF Core applications

While writing the book Entity Framework Core in Action I wrote over 600 unit tests, which taught me a lot about unit testing EF Core applications. So, when I wrote the chapter on unit testing, which...

View Article


Image may be NSFW.
Clik here to view.

A library to run your business logic when using Entity Framework Core

This article describes a library to help write and run business logic in a .NET Core application where you are using Entity Framework Core (EF Core) library for database accesses. This follows on from...

View Article

Image may be NSFW.
Clik here to view.

Is the repository pattern useful with Entity Framework Core?

I wrote my first article about the repository pattern in 2014, and it is still a popular post. This is an updated article that takes account of a) the release of Entity Framework Core (EF Core) and b)...

View Article

Image may be NSFW.
Clik here to view.

Creating Domain-Driven Design entity classes with Entity Framework Core

This article is about how to apply a Domain-Driven Design (DDD) approach to the classes that the Entity Framework Core (EF Core) library maps to a database. This article is about why DDD is useful with...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Core Razor Pages: How to implement AJAX requests

ASP.NET Core 2.0 introduced a new way to build a web site, called Razor Pages. I really like Razor Pages, but I needed to work out how to do a few things. In this article I describe how to handle AJAX...

View Article


Six things I learnt about using ASP.NET Core’s Razor Pages

ASP.NET Core 2.0 introduced a new way to build a web site, called Razor Pages. I was interested in the new Razor Pages approach, as I hoped Razor Pages would allow me to code better by following the...

View Article

Image may be NSFW.
Clik here to view.

GenericServices: A library to provide CRUD front-end services from a EF Core...

This article is about a NuGet library designed to make building Create, Read Update and Delete (CRUD) web pages quicker to write. GenericServices acts as an adapter and command pattern between EF Core...

View Article


ASP.NET Core – fast and automatic dependency injection setup

Microsoft’s documentation says “ASP.NET Core is designed from the ground up to support and leverage dependency injection”. It also says that “Dependency injection (DI) is a technique for achieving...

View Article

Entity Framework Core – validating data and catching SQL errors

This article is about how to catch SQL errors, like unique index violations, and turning them into user-friendly error messages. This capability adds to the general area of validation of data being...

View Article


Image may be NSFW.
Clik here to view.

How to write good, testable ASP.NET Core Web API code quickly

This article is about ASP.NET Core 2.1 Web API code and ways to write code that is easy to understand, easy to test and quick to write. You might think that is quite a task, but I introduce a number of...

View Article

Pragmatic Domain-Driven Design: supporting JSON Patch in Entity Framework Core

I’m a big fan of Domain-Driven Design (DDD) and build all my Entity Framework Core (EF Core) entity classes using a DDD approach, i.e. all properties have private setters and all changes are made via...

View Article

Image may be NSFW.
Clik here to view.

Three approaches to Domain-Driven Design with Entity Framework Core

On my article “Creating Domain-Driven Design entity classes with Entity Framework Core” @ardalis commented that “your entities all are tightly coupled to EF Core. That’s not good…”. Then I did a...

View Article
Browsing all 108 articles
Browse latest View live