Skip to main content

Posts

Asp .Net Interview questions

What are page directives? The first line of an ASP.NET page is the page directive; you will find it on all ASP.NET pages. These directives are instructions for the page. It begins with the @Page directive and continues with the various attributes available to this directive. It's unreasonable to expect a candidate to know all of these attributes, but a few popular ones include the following. AutoEventWireup:  Indicates whether page events are autowired. CodeBehind:  The name of the compiled class associated with the page. Debug:  Indicates whether the page is compiled in debug mode (includes debug symbols). EnableTheming:  Indicates whether themes are used on the page. EnableViewState:  Indicates whether view state is maintained across pages. ErrorPage:  Specifies a target URL to be used when unhandled exceptions occur. Language:  Indicates the language used when compiling inline code on the page. Trace:  Signals whether tracing is ...

Great .Net interview questions for experienced and middle level

Describe the difference between a Thread and a Process? What is a Windows Service and how does its lifecycle differ from a "standard" EXE? What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design? What is the difference between an EXE and a DLL? What is strong-typing versus weak-typing? Which is preferred? Why? Corillian's product is a "Component Container." Name at least 3 component containers that ship now with the Windows Server Family. What is a PID? How is it useful when troubleshooting a system? How many processes can listen on a single TCP/IP port? What is the GAC? What problem does it solve? Mid-Level .NET Developer Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming. Describe what an Interface is and how it’s different from a Class. What is Reflection? What is the...

Dot net experienced interview questions...1

What is something substantive that you've done to improve as a developer in your career? Would you call yourself a craftsman (craftsperson) and what does that word mean to you? Implement a using on . What is SOLID? Why is the Single Responsibility Principle important? What is Inversion of Control? How does that relate to dependency injection? How does a 3 tier application differ from a 2 tier one? Why are interfaces important? What is the Repository pattern? The Factory Pattern? Why are patterns important? What are some examples of anti-patterns? Who are the Gang of Four? Why should you care? How do the MVP, MVC, and MVVM patterns relate? When are they appropriate? Explain the concept of Separation of Concerns and it's pros and cons. Name three primary attributes of object-oriented design. Describe what they mean and why they're important. Describe a pattern that is NOT the Factory Pattern? How is it used and when? You have just been put in charge of a le...

C# Interview Questions with Ans-1

1. What is C#? C# is the best language for writing Microsoft .NET applications. C# provides the rapid application development found in Visual Basic with the power of C++. Its syntax is similar to C++ syntax and meets 100% of the requirements of OOPs like the following: Abstraction Encapsulation Polymorphism Inheritance To know more about C# Language read the following article: Introduction to C# The latest version of C# is C# 6.0 with lots of new features, to know them read the following article: List of All The New Features in C# 6.0: Part 1 2. What is an Object? According to MSDN, "a class or struct definition is like a blueprint that specifies what the type can do. An object is basically a block of memory that has been allocated and configured according to the blueprint. A program may create many objects of the same class. Objects are also called instances, and they can be stored in either a named variable or in an array or collection. ...

Dot net Interview Questions-2

61) What you mean by boxing and unboxing in C#? Boxing – This is the process of converting from value type to reference type. For example, int myvar = 10; object myObj = myvar; UnBoxing – It’s completely opposite to boxing. It’s the process of converting reference type to value type. For example, int myvar2 = (int)myObj; 62) Explain Partial Class in C#? Partial classes concept added in .Net Framework 2.0 and it allows us to split the business logic in multiple files with the same class name along with “partial” keyword. 63) Explain Anonymous type in C#? This is being added in C# 3.0 version. This feature enables us to create an object at compile time. Below is the sample code for the same – Var myTestCategory = new { CategoryId = 1, CategoryName = “Category1”}; 64) Name the compiler of C#? C# Compiler is – CSC. 65) Explain the types of unit test cases? Below are the list of unit test case types – Positive Test cases Negative Test cases Except...