Skip to content

Leg 05

Deadline When defending

Set up your app in Azure via docker container. Enable gitlab pipeline in school gitlab server and configure automatic app publishing.

Implement Rest api versioning, xml documentation, public versioned DTO's, swagger, etc.

Mandatory:

  • Rest API endpoints must only use versioned public DTO's (mapped from BLL output objects). No references to domain, dal or bll are allowed.
  • Rest endpoints must be versioned and XML /// documented.
  • This also includes identity controller.
  • Decorate rest controllers with at least following attributes:
    • Produces, Consumes, ProducesResponseType - with all possible response codes that might come up.

Unit Tests
- Cover (100% code coverage) one (the main one!) custom repo and base repo with unit tests. - Cover (100% code coverage) one (the main one!) custom service and base service with unit tests.

Integration tests
- Cover main happy flow through your web app with integration test (register user, log-in, search product, add into cart, finalize purchase, pay, logout,... etc). If you are sharing poject with ASP course, then both ways - via MVC and via API.

Nice to have:

  • Allow client to specify token and refreshtoken lifetimes in identity controller methods (set defaults to something reasonable).
  • support i18n (from asp mvs side)