Coding test
Coding Test: RESTful Service for a Document Management System
Objective: Design and implement a RESTful service using C# and the ASP.NET Core framework that simulates basic document management functionality.
Task Outline:
- Create an ASP.NET Core Web API project.
- Define a Document model that includes properties like Id, Title, Content, CreatedDate, and ModifiedDate.
- Implement a controller with CRUD operations to manage documents.
- Use Entity Framework Core with a SQL Server database for data storage.
- Implement versioning in the API.
- Secure the API using JWT authentication.
- Include custom middleware for logging the duration of API calls.
- Write unit and integration tests for the service.