ASPNETCore-WebAPI-Sample
ASPNETCore-WebAPI-Sample copied to clipboard
This is a sample ASP.NET Core WebAPI
This pull request introduces a generic approach to configuring and registering services, enhancing consistency and scalability across the codebase. The implementation utilizes dependency injection to streamline service registration, and all...
### **Summary**: This pull request represents a major restructuring of the entire solution to adhere to `Clean Architecture principles,` creating a more organized and maintainable codebase. The changes are extensive...
### Description: I refactored the `GetAllFoods` controller method to achieve a _cleaner and more maintainable_ codebase. **Business logic** for retrieving _food items, creating pagination metadata, and building links_ has been...
### Description: I introduced the `FoodService` class responsible for **handling business logic** related to food items. This class encapsulates the operations` for retrieving food items, creating pagination metadata, and building...
### Description: I Introduced the `IFoodService` interface to establish a clear contract for the `FoodService` class. This allows for better code organization, adherence to the Dependency Inversion Principle, and facilitates...
### Issue Description **Problem:** In the `/api/v1/foods/{id}` endpoint, we currently have methods with similar names (GET, PUT, DELETE, PATCH) which can be confusing for developers, especially those who are new...
###### Hi, I have a little question. You have the Save method in the FoodSqlRepository class. However, this method always return positive number from 0, because the returned number is...
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core) from 1.2.24 to 1.6.0. Changelog Sourced from System.Linq.Dynamic.Core's changelog. v1.6.0 (26 January 2025) #884 - By default the RestrictOrderByToPropertyOrField is now set to true in the ParsingConfig [feature]...