Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate the application features code class that conforms to the CQRS design pattern in the Application project - Visual Studio.net 2022 Extensions plugin

License

NotificationsYou must be signed in to change notification settings

neozhu/CleanArchitectureCodeGenerator

Repository files navigation

BuildVisual Studio Marketplace Version (including pre-releases)Visual Studio Marketplace Downloads

Download the extension

VS Marketplace

Open VSIX Gallery

imageimage

How to start

2022.mp4
-------------------------------------------------

A Visual Studio extension for easily create application features code to clean architecture project. Simply hit Shift+F2 to create an empty file in theselected folder or in the same folder as the selected file.

See thechangelog for updates and roadmap.

Features

  • Easily create following application features code
  • {nameofPlural}/Commands/AddEdit/AddEdit{name}Command.cs
  • {nameofPlural}/Commands/AddEdit/AddEdit{name}CommandValidator.cs
  • {nameofPlural}/Commands/Create/Create{name}Command.cs
  • {nameofPlural}/Commands/Create/Create{name}CommandValidator.cs
  • {nameofPlural}/Commands/Delete/Delete{name}Command.cs
  • {nameofPlural}/Commands/Delete/Delete{name}CommandValidator.cs
  • {nameofPlural}/Commands/Update/Update{name}Command.cs
  • {nameofPlural}/Commands/Update/Update{name}CommandValidator.cs
  • {nameofPlural}/Commands/Import/Import{name}Command.cs
  • {nameofPlural}/Commands/Import/Import{name}CommandValidator.cs
  • {nameofPlural}/DTOs/{name}Dto.cs
  • {nameofPlural}/EventHandlers/{name}CreatedEventHandler.cs
  • {nameofPlural}/EventHandlers/{name}UpdatedEventHandler.cs
  • {nameofPlural}/EventHandlers/{name}DeletedEventHandler.cs
  • {nameofPlural}/Queries/Export/Export{nameofPlural}Query.cs
  • {nameofPlural}/Queries/GetAll/GetAll{nameofPlural}Query.cs
  • {nameofPlural}/Queries/Pagination/{nameofPlural}PaginationQuery.cs

CleanArchitecture for Blazor Server Application project

Please use this in collaboration with this project.

Github :https://github.com/neozhu/RazorPageCleanArchitectureClean Architecture With Blazor Server

How to use

A new button is added to the context menu in Solution Explorer.

Add new file dialog

You can either click that button or use the keybord shortcutShift+F2.

Select Entity Name from Domain Project

Add new file dialog

Create folders and namespace

Create additional folders for your file by using forward-slash tospecify the structure.

For example, by typingscripts/test.js in the dialog, thefolderscripts is created if it doesn't exist and the filetest.js is then placed into it.

Generate sourcecode

Source code for application features

Generate to-do list

to-do list

code templates

You can modify these templates according to your own projectstempaltes

Contribute

Check out thecontribution guidelinesif you want to contribute to this project.

For cloning and building this project yourself, make sureto install theExtensibility Tools 2015extension for Visual Studio which enables some featuresused by this project.

License

Apache 2.0

About

Generate the application features code class that conforms to the CQRS design pattern in the Application project - Visual Studio.net 2022 Extensions plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp