fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.45k stars 726 forks source link

[Tool] BlazorHero Crud Helper #313

Open gozilla-paradise opened 2 years ago

gozilla-paradise commented 2 years ago

Hi, I have created a handy tool that helps adding entity a breeze.

You have to specify folder prefix and entity name and it will generate template files needed for new entity.

https://github.com/AlienHack/BlazorHero-Helper/tree/master

neozhu commented 2 years ago

I have a similar project : https://github.com/neozhu/CleanArchitectureCodeGenerator

gozilla-paradise commented 2 years ago

That's great !

vu-bhaskar commented 2 years ago

Hi, I was in the process of creating a utility to add entities, while i bumped into your utility. Thanks a lot for saving my time, great work...it cool.

I get the following error while trying to execute the migration script after adding a new entity with your utility

dotnet ef migrations add InitialCreate Build started... Build succeeded. Unable to create an object of type 'BlazorHeroContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728

Can you pl. help what could be the root cause...

Regards, UB