You are creating a class library that will be used in a web application. You need to ensure that the class library assembly is strongly named. What should you do?
A.
Use assembly attributes.
B.
Use the csc.exe /target:Library option when building the application.
Suggested Answer:A🗳️
The Windows Software Development Kit (SDK) provides several ways to sign an assembly with a strong name: ✑ (A) Using assembly attributes to insert the strong name information in your code. You can use either the AssemblyKeyFileAttribute or the AssemblyKeyNameAttribute, depending on where the key file to be used is located. ✑ Using the Assembly Linker (Al.exe) provided by the Windows SDK. ✑ Using compiler options such /keyfile or /delaysign in C# and Visual Basic, or the /KEYFILE or /DELAYSIGN linker option in C++. (For information on delay signing, see Delay Signing an Assembly.)
Right, the answer is A. Strong named class library in assemblies can be obtained either by AL.exe or Assembly Attributes.
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.70-483 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
moraprex
4 years, 5 months ago