
Automate Your Full-stack Development on ASP.NET Core Web API and Angular With Code Generator and AI Code Agent
User Story As a full stack software developer, after developing ASP.NET Web API with data validations in the Web API bindings, I would like the SPA on Angular framework to have client side validations to reduce round trips of related data error and improve user experience. Functional requirements. When user input invalid data, the GUI should respond with warning or error message. Invalid data cannot be submitted to the backend. Technical requirements Strictly typed reactive forms. Use built-in validators along with FormControl. Develop custom validators if necessarily. Look for 3rd party solutions including AI code agent before hand-crafting codes. For example, the 3rd party code generator or AI should transform some validation attributes of .NET to validators of Angular. For numeric .NET types like byte, integer, uint, and int64 etc., the client side validations should be applied. Backend with .NET Integral Types and Validation Attributes POCO Class and API function: public class Inte
Continue reading on Dev.to
Opens in a new tab