Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Readme.md #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions 2. Backend/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,17 @@ You will need to:
You will need to:

* Demonstrate an understanding of how these middleware via DI (dependency injection) simplifies your code.

*******************************************************************************************************************************************************
By configuring swagger it allowed me to implement the NSwag middleware that available for configuration when the application starts running. With the NSwag middleware I was able to use a third-party API that incorporates swagger to generate a client implementation without the use of an existing API. With the middleware configured, I was able to easily add in app.UseOpenApi() and app.UseSwaggerUi3() to run an OpenAPI specification generator and view from a web browser, respectively. In general, the middleware allowed me to just a few simple lines of code to get a lot of work done.
*********************************************************************************************************************************************************
### Section Three

You will need to:

* Demonstrate the use of NUnit to unit test your code.
* Use at least one substitute to test your code.
* Demonstrate an understanding of why the middleware libraries made your code easier to test.
* Demonstrate an understanding of why the middleware libraries made your code easier to test.

*********************************************************************************************************************************************************
From my coding experience during this week's phase 2, the middleware libraries made it easier to test because of the swaggerUI web browser. It allowed me to see if my CRUD operations worked or not by simply executing them on the browser. By doing so, I was able to get response types that I implemented and figure out what the issue was from there.
*********************************************************************************************************************************************************