Skip to content
This repository has been archived by the owner on Mar 1, 2020. It is now read-only.

Clean Architecture Template with .Net Core 3.1 with EfCore 3.1

License

Notifications You must be signed in to change notification settings

KodeFoxx/CA-Net31-deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

NOTE build was currently failing due to dotnet/runtime#3832, if you are having issues building on your own, then make sure to enable long path support and to place the solution under a folder like c:\repos\CA-Net31\*.sln.

KodeFoxx Clean Architecture Template for .Net Core 3.1.x

  • Hosting
  • Dependency Injection
  • MediatR
    • Commands and Queries
    • Pipelinebehavior
  • FluentValidation
  • Automapper
  • Serilog
  • Entity Framework Core
    • Migrations
    • Export to SQL

Long path issues

If you're having troubles with long paths, then please use VS 2019+ and do the following

  • Edit the registry key to enable long path behaviour, setting the value to 1. This is a new opt-in feature for Windows 10: HKLM\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled (Type: REG_DWORD)
  • Also check the settings in your Local Group Policy Editor at Local Computer Policy: Computer Configuration: Administrative Templates: All Settings. In this location you can find Enable Win32 long paths. (see article at: https://blogs.msdn.microsoft.com/jeremykuhne/2016/07/30/net-4-6-2-and-long-paths-on-windows-10/).