Borrow Works - Sample Joke Api
How to Run the application:
Download the code.
Using Command Line Open a command line Navigate to the directory/folder location of the source code type the following command docker build -t aspnetapp . Once everyting is pulls and downloads are complete Using Visual Studio Open the solutions with visual studio 2019 if not already installed, install docker desktop
ensure you using the Docker launch settings.
Once the application is fired up, Swagger documentation can be found at /Swagger
The applications design leverages the follwing:
- InMemory Database a. prepopulated with some simple jokes
- .NET Core 3.0 a. implements Api versioning.
- gzip Compression
- Async/Await for vertical scaling
- Swagger for api documentation
- Dependency Injection for testability
- Logging
- model validation
- Error handling
- added an endpoint to care for filtering/searching jokes
- Dockerized the application.
Vertical Scaling of an application Reference: https://medium.com/@frederikbanke/improving-scalability-in-c-using-async-and-await-f97af1466922