VB.Net Interview Questions and Answers - 8

Question: 36

What is .NET passport?

.NET Passport is a Web-based service that is designed to make signing into Web sites fast and easy.

Passport enables participating sites to authenticate a user with a single set of sign-in credentials, alleviating the need for users to remember numerous passwords and user names.

Question: 37

To which namespaces do Trace and Debug belong?

Systems.Diagnostics

Question: 38

What is the difference between manifest and metadata?

Manifest describes assembly itself.

Assembly Name, version number, culture, strong name, list of all file.

Type references and referenced assemblies.

 

Metadata:

Metadata describes contents in an assembly classes, interfaces, enums, structs etc. and their containing namespaces, the name of each type, its visibility/scope, its base class, the interfaces it implemented, its methods visibility/scope, its base class, the interfaces it implemented, its methods and their scopes and each method’s parameters, type’s properties and so on.

Question: 39

How can you automatically generate interface for the remote able object in .NET with Microsoft tools?

Use the Soapsuds tool.

Question: 40

What are three test cases you should go through in unit testing?

Positive test cases (correct data, correct output).

Negative test cases (broken or missing data, proper handling).

Exception test cases (exceptions are thrown and caught properly).

Related Questions