About Me

All about Real time requirements in Orale Stay Tune!!

Sunday, April 6, 2008

C# INTERVIEW QUESTIONS



What connections does Microsoft SQL Server support?

Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and password).


Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted?

Windows Authentication is trusted because the username and password are checked with the Active Directory, the SQL Server authentication is untrusted, since SQL Server is the only verifier participating in the transaction.


What does the Initial Catalog parameter define in the connection string?

The database name to connect to.


What does the Dispose method do with the connection object?

Deletes it from the memory.


What is a pre-requisite for connection pooling?

Multiple processes must agree that they will share the same connection, where every parameter is the same, including the security settings. The connection string must be identical.


How is the DLL Hell problem solved in .NET?

Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly.What are the ways to deploy an assembly?An MSI installer, a CAB archive, and XCOPY command.


What is a satellite assembly?

When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.

0 comments: