Is there a way to scaffold angular components + module for .net core api CRUD controllers? Or how to extend the existing scaffolding code in order to generate crud components + module for angular? Especially, I would like to generate forms and their unobtrusive validation
Scaffold admin CRUD in .net core SPA Angular
1.1k views Asked by Bellash At
2
There are 2 answers
0
JackPat99
On
You can do that with a code generator like Telosys (https://www.telosys.org/). You can even generate your REST controllers if you want.
You will have to define your entities in a model (if you have a relational database you can generate a "Database-model" or else you can create a "DSL-model").
Then you can reuse existing templates to generate Angular code (exemples are available here : https://github.com/telosys-templates-v3/angular4-rest-frontend) and customize them to generate exactly what you want (each template is customizable).
For a Telosys overview see this post : https://modeling-languages.com/telosys-tools-the-concept-of-lightweight-model-for-code-generation/
Related Questions in ASP.NET-CORE
- Windows environment variables at appsettings.json
- Which approach is right while creating a service for your update method?
- New Blazor Web App, Password Reset "A valid antiforgery token was not provided"
- No webpage was found for the web address: https://localhost:7002/Category/Add?area=Admin. Why is my URL generated like ?area=Admin instead of /Admin/
- how to get the html for a tag helper in code
- How to share authorization implemented in the server project with the client project in Blazor Web App Auto project?
- Why https is disabled on publish in .NET Core 7.0
- How to set language in a server-side rendering blazor app
- How can I debug server side rendering blazor code in a component?
- ASP.NET Core 6 randomly returning 200 with empty response
- ASP.NET Core MVC : NullReferenceException: Object reference not set to an instance of an object
- ASP.NET Core Identity Custom Register Endpoint
- VS Community 2022 cannot install dotnet-ef when i try to publish
- How does ASP.NET Core Identity ensure username is unique under concurrent conditions?
- In clean architecture, is the presentation layer allowed to communicate directly with the infrastructure layer?
Related Questions in ANGULAR-CLI
- FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory in angular application
- What is the use of "Hash: fec054139de85795" in ng serve?
- Angular esbuild @angular/compiler missing from bundle file
- Angular build for subfolder
- angular.json : configuration for multiple library projects
- Getting Cannot read property 'polyfillWrapFlushCallback' of undefined
- Unable to install angular-cli on Windows 7 (using npm)
- This version of CLI is only compatible with Angular versions ^15.0.0, but Angular version 17.2.4 was found instead
- angular cli installation cannot be completed
- how can i use yarn with PnP in an already angular project?
- Angular CLI and node-gyp : Cannot assign to read only property 'cflags' of object '#<Object>'
- Angular v10: how do i handle this overlay issue of p-calendar
- Node.js version v16.20.2 detected. The Angular CLI requires a minimum of v18.13
- Angular: How to extract i18n ids from json source files to outpur it in xlf files
- configure Angular app with powers of deployUrl without using due to depreciation warning. (not baseHref)
Related Questions in SCAFFOLDING
- appbar disapear on production on flutter 3.16.3 for no raezon
- Using Scaffold-DbContext with Entity FrameworkCore 8.21, how do I add a new t4 template to generate to the default ones?
- Cant use controller scafolding o my .net project, Error:"there was an error running the selected code generator package restore failed"
- Linq2Db not all stored procedures scaffolding
- Scaffolding the view in vs2022 is generating asp syntax not razor syntax
- How to synchronize a MySQL database with a model?
- How to work with scaffolding and different repositories
- Getting "Internal connection fatal error" while scaffolding
- Longstitch error make: command: Command not found *** No rule to make target
- dotNET Scaffold won't generate code because of Entity with one-to-many relationship
- Use ABH formated Genetic map to scaffold contig level genome assembly to Scafold level assembly
- Visual studio 2022 error while creating a controller via scaffolding, "there was an error getting the type.(model name), try rebuilding the project."
- ASP.NET Identity "new item scaffolded" not shown
- EF Core doesn't recognize new column name from database
- Dot Net core MVC 7 Identity Unable to resolve service for type
Related Questions in SCAFFOLD
- How to make Scaffold floatingActionButton not clickable through
- Jetpack Compose - Scaffold bottom bar hides TextField when keyboard is opened
- Upgrade from .NET 6 to .NET 8: Custom Context with Configuration - DB First
- Scaffold with white theme applies over main layout in jetpack compose
- Close bottom sheet on tap outside
- Flutter Appbar issues
- App Bar Transition with Scaffold in Jetpack Compose
- EntityFrameworkCore.Jet: Scaffold doest not work - COMException (0x800A0CB3)
- Local navigation inside body of a Scaffold
- docker-compose odoo scaffold Permission Denied
- How to make Scaffold content (but not Bottom Bar) move up when keyboard is shown?
- Backstage Publish Repo Azure Devops Server
- Android Jetpack compose Scaffold content recomposition
- Flutter dialog: how to make scaffold wrap its content?
- Initializing a base Nuxt 3 application fails to run
Related Questions in ASP-NET-CORE-SPA-SERVICES
- getting error Error MSB3644 in Rider on mac
- Sending date from angular frontend to aspnetcore backend - timezone troubles
- How do I prevent my localhost port from changing while debugging when launching in IIS Express with SpaServices and Visual Studio?
- Problem while getting the currentUser in HttpGet in Aspnetcore
- Cannot deploy ASP.NET Core 6.0 to local IIS on Windows
- Visual Studio 2022 ASP.NET 6 & Angular 13 not producing wwwroot files
- Trying to connect to wwwroot and get a image
- How to add SPA Services for AngularJS project with .NET Core?
- StaticFileOptions.OnPrepareResponse never called for ASP.NET Core SPA web app
- ASP.Net Core React.js Template Azure AD Authentication & Authorization
- The SPA default page middleware could not return the default page - asp net core 5 and webpack dev server
- Problem when user has multi roles in Blazor Webassembly authentication and authorisation?
- Use ASP.Net Core React.js Template without SPA Proxy
- Unable to get a fresh aspnetcore .net5 react project to deploy using docker
- AspNetCore React can only find spa files in dev mode
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
As far as I know, currently the ASP.NET Core code generator and scaffolding engine support scaffolding area, controller, identity, razorpage and view. It does not support automatically generating crud components for Angular.
For more information, please refer to this doc:
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/tools/dotnet-aspnet-codegenerator?view=aspnetcore-5.0#arguments