MediatRTemplate (With thanks to Jeffrey)
Visual Studio template for MediatR with FluentValidation
This template creates 4 files to implement an UserCase with MediatR and FluentValidation. The created files are:
- Handler
- Request
- RequestValidator
- Response
- Place the contents of the directory 'VisualStudioTemplate' in a zip file and copy that zip file to '%userprofile%\Documents\Visual Studio %version%\Templates\ItemTemplates'
- Restart Visual Studio
- Under Add -> New Item there is the new template