Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Set-Content -Path ".\README.md" -Value '# User Management Web API

An ASP.NET Core Web API built for managing user records. This application provides full CRUD (Create, Read, Update, Delete) functionality, data validation, and custom request logging middleware.


🚀 Features

  • Full CRUD Support: Manage user accounts seamlessly via RESTful HTTP endpoints (GET, POST, PUT, DELETE).
  • Data Validation: Built-in input validation using C# Data Annotations ([Required], [EmailAddress], [StringLength]).
  • Custom Request Logging Middleware: Middleware pipeline that logs incoming request paths, HTTP methods, and outgoing status codes.
  • In-Memory Data Store: Pre-populated with initial data for quick testing without complex database setup.

📁 Project Architecture

UserManagementApi/
│── Controllers/
│   └── UsersController.cs       # Endpoint routes & CRUD logic
│── Middleware/
│   └── RequestLoggingMiddleware.cs # Custom HTTP request/response logger
│── Models/
│   └── User.cs                  # User entity model & validation rules
│── Properties/
│   └── launchSettings.json      # IIS/Kestrel hosting configuration
│── Program.cs                   # Application entry point & pipeline setup
└── UserManagementApi.csproj     # Project dependencies & framework settings

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages