Choose the INCORRECT information about .NET Standard
a. All of the others.
b. The .NET Standard is a formal specification of .NET APIs that are intended to be available on .NET
Core, .NET6. The motivation behind the .NET Standard is establishing greater uniformity in the .NET
ecosystem.
c. None of the others.
d. The .NET Standard is a formal specification of .NET APIs that are intended to be available on all .NET
implementations (.NET Core, .NET Framework, etc.) The motivation behind the .NET Standard is
establishing greater uniformity in the .NET ecosystem.
Source: https://docs.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-1-0 ✅b
Steps to implement JWT Authentication in Asp.net Core
a.
1. Create Asp.net Core Web API project
2. Install NuGet Package (JwtBearer)
3. Understanding JWT Authentication Workflow.
4. Asp.net Core JWT appsetting.json configuration
5. Asp.net Core Startup.cs - configure services add JwtBearer
6. Create Models User, Tokens
7. Create JWTManagerRepository to Authenticate users and generate JSON Web Token.
8. Create UserController - Authenticate action method.
,b.
1. Create Asp.net Core Web API project
2. Understanding JWT Authentication Workflow.
3. Install NuGet Package (JwtBearer)
4. Asp.net Core JWT appsetting.json configuration
5. Create UserController - Authenticate action method.
6. Asp.net Core Startup.cs - configure services add JwtBearer
7. Create Models User, Tokens
8. Create JWTManagerRepository to Authenticate users and generate JSON Web Token.
c.
1. Understanding JWT Authentication Workflow.
2. Create Asp ✅c
Choose the correct information about Protocol buffers.
a. None of the others.
b. Parsing Protocol Buffers (binary format) is less CPU intensive because it's closer to how a machine
represents data.
c. All ofthe others.
d. Protocol buffers, also known as Protobuf, is a protocol that Google developed internally to enable
serialization and deserialization of structured data between different services. ✅c
Which utility can be used to create WSDL from WCF services?
,a. Svcutil.exe
b. Wcf.exe
c. ILDASM.exe
d. Svc.exe ✅a
What is complex model binder?
a. In the case the response is complex, pass data in response body as an entity with the desired content-
type, then such kind of response is mapped by Complex model binder.
b. If the request is simple, input parameter are of type int. string, Boolean, GUID, decimal, etc. and is
available in the URL, then such kind of request is mapped to complex model binder.
c. None of the others.
d. In the case the request is complex, pass data in request body as an entity with the desired content-
type, then such kind of request is mapped by Complex model binder. ✅d
A binding source attribute defines the location at which an action parameter's value is found. Choose
the INCORRECT information about binding source attribute.
a. [FromQuery] - Gets values from the query string.
b. [FromRoute] - Gets values from route data.
c. [FromBody] - Gets values from the response body.
d. [FromHeader] - Gets values from HTTP headers.
e. [FromForm] - Gets values from posted form fields. ✅c
Which one is NOT a benefit of gRPC?
a. Supports client, server, but does not allow bi-directional streaming calls.
, b. Modern, high-performance, lightweight RPC framework.
c. Tooling available for many languages to generate strongly-typed servers and clients.
d. Contract-first API development, using Protocol Buffers by default, allowing for language agnostic
implementations. ✅a
Choose the correct information about scaling RESTful web services.
a. RESTful web services support only support vertical scaling in communication.
b. RESTful web services depend on the IP address and port number of the system to get a response.
c. RESTful web services support both vertical and horizontal scaling.
d. None of the others. ✅c
Choose the correct information about the JSON Web Token
a. All of the others.
b. With JSON Web Token, the data sent between two parties using JWT is digitally signed and can be
easily confirmed and trusted.
c. JSON Web Token is an open, industry-standard technique for securely conveying claims between two
parties.
d. None of the others.