I work on asp.net core 8 with c# web application i have requirments to make ERP solutions Web Application
for
purchase
sales
manufacture
accounting
Inventory
so I need direct answer for this questions
1- what archituchure i will use it to handle both web application and mobile
2- what is design pattern i will use it on all cycle of implementation of project
3-using entity framework or ado.net or drapper
4-which front end framework (jquery or angular or react ) i will use for good performance and asyncronus operations and handle complex transactions and complex ui
because it is not simple
it have complex transactions
5- in the future i will use parts from this system to display data on mobile app
6- i need changes and mantinance be easy and very organized
I have more transactions on purchase and sales
more than 5 milion rows for purchase and sales
also screen puchase and sales will be master details i will do on purchase or sales or manufacture complex transactions
as insert and update and delete on same time
so which will be better
please i need direct answer and no diplomatic answer for my questions
so can any one answer for my questions
ahmed salahPosted Nov 20, 2024, 6:49 AM
only small question
https://codewithmukesh.com/blog/cqrs-and-mediatr-in-aspnet-core/
link not have unit of work design pattern to handle cqrs
so when we will use unit of work
can you tell me when or sample code handle cqrs by unit of work
Jignesh KumarPosted Nov 20, 2024, 4:10 AM
Hello Ahmed salah,
Please refer this article wich will help you out to undestand step by step,
https://codewithmukesh.com/blog/cqrs-and-mediatr-in-aspnet-core/
ahmed salahPosted Nov 19, 2024, 5:34 PM
according to explain above i will use mediator libraray or not sitable for my case
as mediator.send
How to use cqrs design pattern on asp.net core entity framework core
can you give me sample code source github or any link web site for explain cqrs
Jayraj ChhayaPosted Nov 18, 2024, 9:03 AM
Hi @ahmed salah,
To effectively handle transactions in your ERP solution, consider the following recommendations:
Architecture: Use a Microservices architecture. This allows you to develop independent services for each module (purchase, sales, etc.), facilitating scalability and maintainability.
Design Pattern: Implement the CQRS (Command Query Responsibility Segregation) pattern. This separates read and write operations, optimizing performance for complex transactions.
Data Access Technology: Opt for Entity Framework Core. It provides a robust ORM for handling complex queries and relationships, which is essential for your large datasets.
Front-End Framework: Choose React. It offers excellent performance for asynchronous operations and is well-suited for complex UIs, making it ideal for your ERP's intricate transaction handling.
Future Mobile Integration: Ensure your API is RESTful, allowing easy data access for mobile applications.
Maintenance: Adopt a modular approach in your codebase, ensuring that changes and maintenance are straightforward and organized.
By following these guidelines, you can create a scalable and efficient ERP solution capable of managing high transaction volumes effectively.
Jignesh KumarPosted Nov 17, 2024, 3:23 PM
Based on my understanding, the following use cases can be outlined:
When to Use React
When to Use Angular
Why React Might Be Better for UI
ahmed salahPosted Nov 17, 2024, 2:43 PM
why use react and not use angular as ui front end
are react best from angular on performance and ui
can you answer for me on this question
Jignesh KumarPosted Nov 17, 2024, 12:14 PM
You can use a Unit of work with a Repository pattern,
Why use a Unit of Work with the Repository Pattern?
The Repository Pattern provides an abstraction over the data layer to interact with the database using domain entities. When combined with the Unit of Work, the two patterns:
ahmed salahPosted Nov 17, 2024, 10:47 AM
which pattern i will use with repository pattern
CQRS or Unit of Work.
and why i use unit of work
can you clarify this point
Jignesh KumarPosted Nov 17, 2024, 7:24 AM
Ahmed Salah,
The choice of technical stack and architecture depends on your project requirements, the existing technology stack within your organization, and your plans for future expansion. These factors play a crucial role in determining the best approach.
Here are some recommendations: