PRN231
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.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller lydiaomutho. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.