A sample application for Applying Functional Principles in C# 6 using Microsoft .NET 6. The same course is available here. App was migrated, from .NET Framework 4.5 to .NET 6 (education purposes).
This application, is intended to be a learning tool, for applying Functional Principle practices. It incorporates several of these practices in a way that is simple and easy to understand:
- Refactoring to an Immutable Architecture
- Refactoring Away from Exceptions
- Avoiding Primitive Obsession
- Avoiding Nulls with the Maybe Type
- Handling Failures and Input Errors in a Functional Way
If you'd like to learn more about functional programing, please check-out Vladimir Khorikov blog post. The author has many interesting articles on the subjetc.
This demo application uses the following technologies:
- .NET 6
- C# 10
- ASP.NET Core MVC 6.0
- EF Core 6.0
- Rider 2022
- SQL Server 2022
- XUnit 2.4
- Moq 4
For other versions of this sample application, please see the following: