Broadridge interview questions on dotnet
1)In WCF which bindings support the reliable sessions?
2)What is the significance of isolation level in sql server?
3)Why isolation levels are needed in sql server?
4)How to check Multiple like conditions in one single Sql statement?
5)What are Http Status codes? breif some of them why you got?
6)What do you mean by cross page posting?
7)What is the redirect permanent in Asp.net 4.0?
8)What is application warmup module?
9)What happens when we instantiate a com component?
www.cinterviews.com appreciates your contribution please mail us the questions you have to cinterviews.blogspot.com@gmail.com so that it will be useful to our job search community
Showing posts with label asp dotnet. Show all posts
Showing posts with label asp dotnet. Show all posts
Basic .NET, ASP.NET, OOPS and SQL Server Interview questions
Basic .NET, ASP.NET, OOPS and SQL Server Interview questions
- What is IL code, CLR, CTS, GAC & GC?
- How can we do Assembly versioning?
- can you explain how ASP.NET application life cycle and page life cycle events fire?
- What is the problem with Functional Programming?
- Can you define OOP and the 4 principles of OOP?
- What are Classes and Objects?
- What is Inheritance?
- What is Polymorphism, overloading, overriding and virtual?
- Can you explain encapsulation and abstraction?
- What is an abstract class?
- Define Interface & What is the diff. between abstract & interface?
- What problem does Delegate Solve ?
- What is a Multicast delegate ?
- What are events and what's the difference between delegates and events?
- How can we make Asynchronous method calls using delegates ?
- What is a stack, Heap, Value types and Reference types ?
- What is boxing and unboxing ?
- Can you explain ASP.NET application and Page life cycle ?
- What is Authentication, Authorization, Principal & Identity objects?
- How can we do Inproc and outProc session management ?
- How can we windows , forms and passport authentication and authorization in ASP.NET ?
- In a parent child relationship which constructor fires first ?
ASP .Net Interview Questions
1)How does ViewState work and why is it either useful or evil?
2)What is the OO relationship between an ASPX page and its CS/VB code behind file in ASP.NET 1.1? in 2.0?
3)What is an assembly binding redirect? Where are the places an administrator or developer can affect how assembly binding policy is applied?
2)What is the OO relationship between an ASPX page and its CS/VB code behind file in ASP.NET 1.1? in 2.0?
3)What is an assembly binding redirect? Where are the places an administrator or developer can affect how assembly binding policy is applied?
- Compare and contrast LoadLibrary(), CoCreateInstance(), CreateObject() and Assembly.Load().
- What happens from the point an HTTP request is received on a TCP/IP port up until the Page fires the On_Load event?
- What are ASHX files? What are HttpHandlers? Where can they be configured?
- What is needed to configure a new extension for use in ASP.NET? For example, what if I wanted my system to serve ASPX files with a *.jsp extension?
- What events fire when binding data to a data grid? What are they good for?
- How does IIS communicate at runtime with ASP.NET? Where is ASP.NET at runtime in IIS5? IIS6?
- Explain how PostBacks work, on both the client-side and server-side. How do I chain my own JavaScript into the client side without losing PostBack functionality?
How to access EJB from ASP?
You can use the Java 2 Platform, Enterprise Edition Client Access Services (J2EETM CAS) COMBridge 1.0, currently downloadable from Sun
ASP Dotnet with Vs 2008
Visual studio 2008 completely replaces VS 2005. It provides new features like JavaScript intellisense, JavaScript debugging and new CSS editor, and also Unit test automation tools
.NET 3.5 built on top of 2.0 and 3.0. In it, Membership, Role, and Personalization framework exposed as web services.
Language Integrated Querying (LINQ), Native support for latest web protocols (RSS, JSON, etc) are some exciting features. Here is complete presentation

.NET 3.5 built on top of 2.0 and 3.0. In it, Membership, Role, and Personalization framework exposed as web services.
Language Integrated Querying (LINQ), Native support for latest web protocols (RSS, JSON, etc) are some exciting features. Here is complete presentation
DotNet Interview Questions
.Net Interview Questions
1. ________________ is the heart of .Net Framework.
2. What type applications can be created on .Net framework.
3. Name the component responsible for cross language integration.
4. What are dlls corresponding to FCL and CLR?
5. What is the functionalities provided by FCL?
6. Name any features of Assembly.
7. Why is XCOPY deployment possible for .Net applications.
8. What is managed code?
9. Name any five .Net Compatiblelanguages.
10. Difference between directcast and ctype. An example of a ctype and directcast.
11. ctype(123.34,integer) - should it throw an error? Why or why not? directcast(123.34,integer) - should it throw an error? Why or why not?
12. Difference between Panel and GroupBox classes?
1. ________________ is the heart of .Net Framework.
2. What type applications can be created on .Net framework.
3. Name the component responsible for cross language integration.
4. What are dlls corresponding to FCL and CLR?
5. What is the functionalities provided by FCL?
6. Name any features of Assembly.
7. Why is XCOPY deployment possible for .Net applications.
8. What is managed code?
9. Name any five .Net Compatiblelanguages.
10. Difference between directcast and ctype. An example of a ctype and directcast.
11. ctype(123.34,integer) - should it throw an error? Why or why not? directcast(123.34,integer) - should it throw an error? Why or why not?
12. Difference between Panel and GroupBox classes?
IBM interview questions for ASP DOTNET questions
IBM interview questions for ASP DOTNET questions
1)How many objects are there in ASP?
2)Which DLL file is needed to be registered for ASP?
3)If you want to initialize a global variable for an application, which is the right place to declare it? (like form or some other file).
4)What is diffrence between Server.transfer and Response.redirect.
5)Is there any inbuilt paging(for example shoping cart. which will show next 10 records without refreshing) in ASP? How will you do pating.
6)What does Server.MapPath do?
7)Name at least three methods of response object other than Redirect.
8)Name at least two methods of response object other than Transfer.
9)Tell few programming diffrence between ADO and DAO programming. What is state?
10)How many types of cookies are there?
11)Tell few steps for optimizing (for speed and resources) ASP page/application .
1)How many objects are there in ASP?
2)Which DLL file is needed to be registered for ASP?
3)If you want to initialize a global variable for an application, which is the right place to declare it? (like form or some other file).
4)What is diffrence between Server.transfer and Response.redirect.
5)Is there any inbuilt paging(for example shoping cart. which will show next 10 records without refreshing) in ASP? How will you do pating.
6)What does Server.MapPath do?
7)Name at least three methods of response object other than Redirect.
8)Name at least two methods of response object other than Transfer.
9)Tell few programming diffrence between ADO and DAO programming. What is state?
10)How many types of cookies are there?
11)Tell few steps for optimizing (for speed and resources) ASP page/application .
ASP.NET Interview questions and answers for classes struct methods
ASP.NET Interview questions and answers for classes struct methods
What is a partial class. Give an example?A partial class is a class whose definition is present in 2 or more files. Each source file contains a section of the class, and all parts are combined when the application is compiled. To split a class definition, use the partial keyword as shown in the example below. Student class is split into 2 parts. The first part defines the study() method and the second part defines the Play() method. When we compile this program both the parts will be combined and compiled. Note that both the parts uses partial keyword and public access modifier.
using System;
namespace PartialClass
{
public partial class Student
{
public void Study()
{
Console.WriteLine("I am studying");
}
}
public partial class Student
{
public void Play()
{
Console.WriteLine("I am Playing");
}
}
public class Demo
{
public static void Main()
{
Student StudentObject = new Student();
StudentObject.Study();
StudentObject.Play();
}
}
}
It is very important to keep the following points in mind when creating partial classes.namespace PartialClass
{
public partial class Student
{
public void Study()
{
Console.WriteLine("I am studying");
}
}
public partial class Student
{
public void Play()
{
Console.WriteLine("I am Playing");
}
}
public class Demo
{
public static void Main()
{
Student StudentObject = new Student();
StudentObject.Study();
StudentObject.Play();
}
}
}
1. All the parts must use the partial keyword.
2. All the parts must be available at compile time to form the final class.
3. All the parts must have the same access modifiers - public, private, protected etc.
4. Any class members declared in a partial definition are available to all the other parts.
5. The final class is the combination of all the parts at compile time.
What are the advantages of using partial classes?
1. When working on large projects, spreading a class over separate files enables multiple programmers to work on it at the same time.
2. When working with automatically generated source, code can be added to the class without having to recreate the source file. Visual Studio uses this approach when it creates Windows Forms, Web service wrapper code, and so on. You can create code that uses these classes without having to modify the file created by Visual Studio.
Is it possible to create partial structs, interfaces and methods?
Yes, it is possible to create partial structs, interfaces and methods. We can create partial structs, interfaces and methods the same way as we create partial classes.
Will the following code compile?
using System;
namespace PartialClass
{
public partial class Student
{
public void Study()
{
Console.WriteLine("I am studying");
}
}
public abstract partial class Student
{
public void Play()
{
Console.WriteLine("I am Playing");
}
}
public class Demo
{
public static void Main()
{
Student StudentObject = new Student();
}
}
}
No, a compile time error will be generated stating "Cannot create an instance of the abstract class or interface "PartialClass.Student". This is because, if any part is declared abstract, then the whole class becomes abstract. Similarly if any part is declared sealed, then the whole class becomes sealed and if any part declares a base class, then the whole class inherits that base class.namespace PartialClass
{
public partial class Student
{
public void Study()
{
Console.WriteLine("I am studying");
}
}
public abstract partial class Student
{
public void Play()
{
Console.WriteLine("I am Playing");
}
}
public class Demo
{
public static void Main()
{
Student StudentObject = new Student();
}
}
}
Can you create partial delegates and enumerations?
No, you cannot create partial delegates and enumerations.
Can different parts of a partial class inherit from different interfaces?
Yes, different parts of a partial class can inherit from different interfaces.
Can you specify nested classes as partial classes?
Yes, nested classes can be specified as partial classes even if the containing class is not partial. An example is shown below.
class ContainerClass
{
public partial class Nested
{
void Test1() { }
}
public partial class Nested
{
void Test2() { }
}
}
How do you create partial methods?{
public partial class Nested
{
void Test1() { }
}
public partial class Nested
{
void Test2() { }
}
}
To create a partial method we create the declaration of the method in one part of the partial class and implementation in the other part of the partial class. The implementation is optional. If the implementation is not provided, then the method and all the calls to the method are removed at compile time. Therefore, any code in the partial class can freely use a partial method, even if the implementation is not supplied. No compile-time or run-time errors will result if the method is called but not implemented. In summary a partial method declaration consists of two parts. The definition, and the implementation. These may be in separate parts of a partial class, or in the same part. If there is no implementation declaration, then the compiler optimizes away both the defining declaration and all calls to the method.
The following are the points to keep in mind when creating partial methods.
1. Partial method declarations must begin partial keyword.
2. The return type of a partial method must be void.
3. Partial methods can have ref but not out parameters.
4. Partial methods are implicitly private, and therefore they cannot be virtual.
5. Partial methods cannot be extern, because the presence of the body determines whether they are defining or implementing.
What is the use of partial methods?
Partial methods can be used to customize generated code. They allow for a method name and signature to be reserved, so that generated code can call the method but the developer can decide whether to implement the method. Much like partial classes, partial methods enable code created by a code generator and code created by a human developer to work together without run-time costs.
Keywords:
sealed and partial class in c#
c# partial class different namespace
c# partial class inheritance
partial methods in c#
partial class in c# javatpoint
c# partial class constructor
c# partial class best practices
partial class in mvc
c# partial interface
c# partial method
sealed and partial class in c#
partial class in c# stackoverflow
c# partial class best practices
c# partial class constructor
partial class in mvc
c# partial class inheritance
partial class in c# stackoverflow
c# partial method
sealed and partial class in c#
c# partial class constructor
c# partial class inheritance
c# partial interface
partial class in c# javatpoint
c# partial class different namespace
c# partial class inheritance
partial class in c# stackoverflow
sealed and partial class in c#
c# partial class constructor
c# partial method
partial class in mvc
c# partial class different namespace
partial class in c# javatpoint
partial class in c# stackoverflow
partial class in mvc
c# nested class
c# partial class best practices
c# partial class inheritance
sealed and partial class in c#
partial class in c# javatpoint
c# partial method
c# partial method multiple implementations
c# partial method vs abstract
partial class in c#
extension methods in c#
no defining declaration found for implementing declaration of partial method
c# partial class constructor
c# partial class best practices
delegates in c#
Subscribe to:
Posts (Atom)