This repository contains the code for ASP.NET CORE WEB AP, based on a comprehensive BTK academy course and additional resources by Zafer Cömert and @zcomert.
This project is built by following "Asp.Net Core Web Api Project - n-tier Architecture". The course provides in-depth tutorials on Web Api. The code in this repository reflects the examples and projects demonstrated in the videos.
Before you begin, ensure you have met the following requirements:
- .NET 8 SDK
- Visual Studio 2022 or Visual Studio Code
- SQL Server (if your project uses a database)
- Clone the repository
git clone https://github.com/Sunnrise/Asp.Net-Core-API.git
This repository covers various topics in Entity Framework Core Each topic is handled in a separate commit or project folder:
- All Project: View Branch
- NLog: View Branch
- Global Error Handling: View Branch
- AutoMapper: View Branch
- Content Negotiation: View Branch
- Validation: View Branch
- Async Programming: View Branch
- Action Filters: View Branch
- Pagination: View Branch
- Filtering: View Branch
- Searching: View Branch
- Sorting: View Branch
- Data Shaping: View Branch
- HATEOAS: View Branch
- Options and Head: View Branch
- Root Documentation: View Branch
- Versioning: View Branch
- Caching: View Branch
- Rate Limiting: View Branch
- Security: View Branch
- Documenting: View Branch
- Categories: View Branch
A brief overview of the project structure with links to each directory or file:
- All Project: The main branch containing the complete project.
- NLog: Integration of NLog for logging.
- Global Error Handling: Implements global error handling mechanisms.
- AutoMapper: Configuration and usage of AutoMapper for object mapping.
- Content Negotiation: Supports content negotiation to handle different data formats.
- Validation: Implements request validation using data annotations and FluentValidation.
- Async Programming: Demonstrates async and await for asynchronous programming.
- Action Filters: Utilizes action filters for cross-cutting concerns.
- Pagination: Implements pagination for large data sets.
- Filtering: Adds filtering capabilities to API endpoints.
- Searching: Implements searching within API data.
- Sorting: Adds sorting functionality to API responses.
- Data Shaping: Implements data shaping to control the data returned by the API.
- HATEOAS: Adds Hypermedia as the Engine of Application State (HATEOAS) to API responses.
- Options and Head: Supports HTTP OPTIONS and HEAD requests.
- Root Documentation: Adds root-level documentation for the API.
- Versioning: Implements versioning strategies for the API.
- Caching: Adds caching to improve API performance.
- Rate Limiting: Implements rate limiting to control API usage.
- Security: Enhances API security with authentication and authorization.
- Documenting: Adds detailed API documentation using Swagger and XML comments.
- Categories: Demonstrates handling of categories and related operations.
This project is based on tutorials and examples from the following resources:
- Course: Asp.Net Core Web Api Project
- GitHub Account: @zcomert
- Linkedln Account: Zafer Cömert
The playlist provides in-depth tutorials on Web API, covering various topics and practical examples. Check out the GitHub account for additional resources and projects.