Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alfredo1995/rest
REST API with ASP.NET Core WebAPI integrates seamlessly with the Angular 7 application, enabling powerful and efficient interactions with data.
https://github.com/alfredo1995/rest
asp-net-core csharp rest-api
Last synced: about 16 hours ago
JSON representation
REST API with ASP.NET Core WebAPI integrates seamlessly with the Angular 7 application, enabling powerful and efficient interactions with data.
- Host: GitHub
- URL: https://github.com/alfredo1995/rest
- Owner: alfredo1995
- Created: 2023-06-05T18:34:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-14T09:02:19.000Z (6 months ago)
- Last Synced: 2024-05-14T10:26:14.025Z (6 months ago)
- Topics: asp-net-core, csharp, rest-api
- Language: C#
- Homepage:
- Size: 13.8 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
app : https://github.com/alfredo1995/SPA.git
REST with ASP.NET Core WebAPI for:
- Integration with other platforms
- Expose data to be consumed via Mobile application
- Create a back-end to be consumed with a SPA model application
- Work in the Microservices model
ASP.NET Core Project1. Clean Architecture: Consider adopting a clean architecture to clearly separate responsibilities into layers such as domain, application, infrastructure, and user interface. This will facilitate application maintenance and testing.
2. RESTful standards: Design your API following RESTful principles to ensure a consistent and intuitive interface for customers.
3. Security: Implement proper authentication and authorization to protect your API from unauthorized access. Consider using JWT (JSON Web Tokens) for authentication.
4. ORM (Object-Relational Mapping): Use Entity Framework Core to map domain objects to database tables, simplifying interaction with the SQL Serve r database.
Angular Project
1. Reusable Modules and Components: Divide your application into reusable modules and components to promote maintainability and scalability.
2. HTTP Services: Use the HttpClient service to make calls to your RESTful API from your Angular application. Consider creating separate services to encapsulate data access logic.
3. Routing: Configure Angular routing to navigate between different parts of the application efficiently.
Integration and Good Practices
1. API Documentation: Use tools like Swagger to document your API, making it easier for developers to understand and consume.
2. Monitoring and Logging: Implement appropriate logging in your application to record important events and monitor the performance of your application.
3. Error Management: Handle errors appropriately on both the server and client sides to provide a consistent and user-friendly user experience.
4. Coding Standards: Follow the recommended coding standards for both technologies (C#/.NET and TypeScript/Angular) to ensure clean and maintainable code.
https://github.com/alfredo1995/REST/assets/71193893/d33814f9-5c93-4eec-b9d6-34d73c29a941