
.NET Core Microservices - Configure ProductService and HttpClient in Startup
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in configuring the HTTP client factory in the Mango Web project?
Open the settings.json file
Open the startup class file
Create a new HTTP client
Add a new service
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where do you retrieve the base path for the product API?
From the main project file
From the database
From the static details
From the service class
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the product API URL in the configuration?
By using a hardcoded string
By reading from a text file
By accessing the configuration object
By calling a function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of service is the product service added as in dependency injection?
Scoped service
Session service
Singleton service
Transient service
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the next step after configuring the HTTP client and adding the product service?
Test the HTTP client
Deploy the application
Write unit tests
Start creating the controller for CRUD operations
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?