/Dependency-Injection-With-Clean-Structure

dependency injection / FluentValidation / Dapper / Winforms

Primary LanguageC#

WinForm Project

the goal of this project is Showing how to work with Dependency Injection in C# winforms.

Installation

Use the NuGet Packages to install Autofac for Dependecy Injection Autofac for Docs Autofac Documentation

Install-Package Autofac -Version 6.1.0
dotnet add package Autofac --version 6.1.0

Use the NuGet Packages to install FluentValidation for Validating Data FluentValidation for Docs FluentValidation

Install-Package FluentValidation -Version 9.3.0
dotnet add package FluentValidation --version 9.3.0

Use the NuGet Packages to install Dapper for Working with DataBase Dapper for Docs Dapper Documentation

Install-Package Dapper -Version 2.0.78
dotnet add package Dapper --version 2.0.78

DataBase

I used SQL Server link for Database