https://github.com/alnaimi-github/genericconrtroller_api
GenericController.Api
https://github.com/alnaimi-github/genericconrtroller_api
Last synced: 3 months ago
JSON representation
GenericController.Api
- Host: GitHub
- URL: https://github.com/alnaimi-github/genericconrtroller_api
- Owner: alnaimi-github
- Created: 2024-07-02T22:55:14.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-08-03T12:29:26.000Z (11 months ago)
- Last Synced: 2025-04-15T13:55:01.088Z (3 months ago)
- Language: C#
- Size: 24.4 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌟 **GenericController.Api** 🌟
=======


---
## Overview 🚀
**GenericController.Api** is an extensible ASP.NET Core Web API designed to streamline the implementation of CRUD operations for various entities. This project leverages a generic repository pattern and base controller, minimizing boilerplate code and enhancing code reuse. It's ideal for developers seeking a robust and maintainable architecture for managing different types of data models.
---
## Features ✨
- 🛠**Generic Repository Pattern**: Centralizes common CRUD operations to reduce redundancy and improve maintainability.
- 📦 **Base Controller**: A generic controller to handle standard API actions (GET, POST, PUT, DELETE) for any entity type.
- 🔗 **Dependency Injection**: Utilizes ASP.NET Core's built-in DI to manage repository instances seamlessly.
- âš¡ **Asynchronous Operations**: Supports async methods for better performance and scalability.
- 💾 **Entity Framework Core Integration**: Uses EF Core for data access, with support for SQL Server.
- 📈 **Logging and Configuration**: Preconfigured logging and connection string management for easy setup.---
## Getting Started 💡
### Prerequisites 📋
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/6.0)
- [SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads)### Installation ðŸ›
1. **Clone the repository:**
```sh
git clone https:https://github.com/alnaimi-github/GenericConrtroller_Api.git
cd GenericController.Api