Giter Site home page Giter Site logo

hongmouer / cleanarchitecturecodegenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neozhu/cleanarchitecturecodegenerator

0.0 0.0 0.0 863 KB

Generate the application features code class that conform to the CQRS design pattern in the Application project

License: Other

C# 100.00%

cleanarchitecturecodegenerator's Introduction

Code Generator for Clean Architecture

Build status

Download the extension at the VS Gallery

How to start

How to


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

See the changelog 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 Razor Page project

The current project only applies to the following development projects.

Github :https://github.com/neozhu/RazorPageCleanArchitecture Clean Architecture Solution For Razor Page Development

Show the dialog

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 shortcut Shift+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 to specify the structure.

For example, by typing scripts/test.js in the dialog, the folder scripts is created if it doesn't exist and the file test.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 projects tempaltes

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

cleanarchitecturecodegenerator's People

Contributors

neozhu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.