|
By Nishant Kumar
C#.Net Interview Questions and their answer part 5.
Question - Define Satellite Assembly.
Answer
- 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.
Question
- Namespaces to create a localized application.
Answer
- System.Globalization, System.Resources.
Question
- List out difference between the Debug class and Trace
class.
Answer
- Use debug class for debug builds, use Trace class for both debug
and release builds.
Question
- What are three test cases you should go through in unit testing?
Answer - 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).
Part 1 |
Part 2 |
Part 3 |
Part 4 |
part 5
Define Authentication and Authorization | What is the
authentication mode available in ASP.NET? | How do you set authentication mode
in the ASP.NET application? | List out the difference between windows
authentication and form authentication | How do you impersonate the
authenticated user in ASP.NET? | How do you provide secured communication in
ASP.NET?
Define Exception handling in ASP.NET. | What are the ways of
handling exceptions in ASP.NET? | Explain Try/catch block method of exception
handling. | Define Error Events. Define Custom Error Pages. | Why is exception
handling important to an application? | When can you use tracing with exception
handling?
What is Master Page in ASP.NET? | Advantages of using Master
Page in ASP.NET | Define Multiple Master Page. | How do you create Master Page?
|