PREFINALS | .NET Assemblies | Event-Driven Programming

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

26 Terms

1
New cards

Assemblies

These are files that contain compiled code targeted at the .NET Framework. These are basically physical packages meant for distributing code. The .NET classes are actually contained in several assemblies (Harwani, 2015, p. 621).

2
New cards

Metadata, Manifest

An assembly has two (2) sections:

3
New cards

Metadata

It includes information about the data types of the program that are being used.

4
New cards

Manifest

It holds the information of the assembly, which consists of the name, version number, and the type of mapping information.

5
New cards

.exe, .dll

An assembly also has two (2) file extensions:

6
New cards

.exe

for standalone applications

7
New cards

.dll

for reusable components.

8
New cards

C:\Windows\assembly

.NET Frameworks’ core assemblies location can be found in.

9
New cards

Private Assembly

Simplest type of assembly.

10
New cards

Private Assembly

Can only be used within a software package that is intended to be used.

11
New cards

Private Assembly

Two (2) private assemblies with the same class name are not a problem since the application can only see the classes that are mentioned in its private assemblies Private Assembly

12
New cards

Shared Assemblies

These are libraries that other applications can commonly use. Security precautions are necessary when using a shared assembly since any other software can access a shared assembly.

13
New cards

Name Collision

It is a common problem in shared assembly wherein other classes or variables have the same name that matches with the other shared assembly.

14
New cards

Name Collision

A different form of the same assembly might overwrite the shared assembly, and the new version might be incompatible with the existing code.

15
New cards

Name Collision

Shared assemblies are given a strong, unique name based on the private key cryptography to avoid name collision.

16
New cards

Global Assembly Cache (GAC)

It enables several applications to share shared assembly.

17
New cards

Global Assembly Cache (GAC)

It is required to add the assembly to the special directory.

18
New cards

Global Assembly Cache (GAC)

It is a centralized storage location for .NET Assemblies.

19
New cards

Step 1

Which step of Creating a Shared Assembly is this:

Create a project containing a class file. The class file contains the methods and properties that you want other applications to access.

20
New cards

Step 2

Which step of Creating a Shared Assembly is this:

Generate a strong name for the project. The strong name is saved in a strong key filename (e.g., ShareAssemblyMessageKeyFile). The strong key file is created named ShareAssemblyMessageKeyFile.snk and located at the solutions explorer.

21
New cards

Step 3

Which step of Creating a Shared Assembly is this:

Specify the key filename in the project by indicating its strong key filename in the AssemblyInfo.cs file.

22
New cards

Step 4

Which step of Creating a Shared Assembly is this:

Compile the project to generate an assembly. The assembly is generated with the extension .dll.

23
New cards

methods and properties

Create a project containing a class file. The class file contains the __ ____ _that you want other applications to access.

24
New cards

strong key filename

Generate a strong name for the project. The strong name is saved in a _ _ (e.g., ShareAssemblyMessageKeyFile). The strong key file is created named ShareAssemblyMessageKeyFile.snk and located at the solutions explorer.

25
New cards

AssemblyInfo.cs

Specify the key filename in the project by indicating its strong key filename in the _ file.

26
New cards

.dll

Compile the project to generate an assembly. The assembly is generated with the extension ____.