Quick start: ASP.Net Core 3.1, Entity Framework Core, CQRS, React JS Series
In today’s software technologies and approaches, dozens of different approaches with proven benefits are being applied and ready-made templates (for example aspnet boilerplates) are gaining popularity. Still, applications developed from scratch make up a significant proportion.
This tutorial (series) will show a sample implementation of API First approach in this customized application development context.
Basic tech stack
Asp.Net Core 3.1
Entity Framework Core (Code First)
Patterns & Approaches
Options Pattern
Repository Pattern
Command Query Responsibility Segregation (CQRS) with MediatR
Componentizing the design
What is API First Development Model?
This design forces the developer to design an Api first and use it for the client application development. So that it’s a more real-world and developer-friendly rest Api. Api-First development is a development strategy in which the first order of business is to develop an api that puts the developers target interests first and then build the product on top of it (it can be a website, mobile application, or a saas software )
Steps
- Part 1: Db configuration and modelling with Entity Framework Core
- Part 2: Service configuration and initializing onion architecture
- Part 3: Custom logging configuration
- Part 4: Repository pattern implementation and Initializing CQRS
- Part 5: Pagination, Filtering, Searching and Sorting
- Part 6: Hateoas implementation and IOptionsSnapshot usage
- Part 7: Exception handling middleware and Dto validations
- Part 8: Initializing React app with navigation and folder structure
- Part 9: State management with Redux and Axios configuration
- Part 10: Lazy loading with Async components and HOC components
- Part 11: Error handling in client app
- Part 12: Form creation, validation and post requests
- Part 13: Updating/Deleting records with put/delete requests
- Part 14: Simultaneously listing w SignalR
- Part 15: Import random by hangfire jobs
Github repository
Conclusion
This is the outline of this series. Let’s continue with next story!