skip to main |
skip to sidebar
System.Runtime.Remoting
www.codecollege.NET
1. MEAN
2. MEDIAN
3. MODE
www.codecollege.NET
Observer pattern can be implemented using “Delegates” and “Events”.
www.codecollege.NET
Design Patterns are best proven techniques for a common design problem. It is only a design technique and not code. Though code is available for almost all design patterns in all popular languages, design patterns mean the design technique alone.Each design pattern explains a repeated problem, gives standard solution to the problem.
www.codecollege.NET
1. Use Case Diagram
2. Class Diagram
3. Interaction Diagrams
4. Activity Diagram
5. State Diagram
6. Physical Diagrams
www.codecollege.NET
Asp.net session supports cookie less session & it can span across multiple servers whereas these are not available in ASP sessions.
www.codecollege.NET
AcquireRequestState event.
www.codecollege.NET
You can customize columns ina DataGrid using the Template column.
www.codecollege.NET
We can do that by Using the DataFormatString property.
www.codecollege.NET
DataReader is faster as it has only one record at a time, and Dataset is slower as it fetches the entire table or set of tables.
www.codecollege.NET
It is used for sorting and finding data with in DataTable. .
www.codecollege.NET
The Method which is called to save the changes in a DataSet is,
RejectChanges().
www.codecollege.NET
The Method which is called to save the changes in a DataSet is,
AcceptChanges().
www.codecollege.NET
Object can be created using Remoting in two different ways , they are :
1. SAO (Server Activated Objects)
It is also called as Well-Known call mode. It is stateless.
2. CAO (Client Activated Objects)
It has state.
www.codecollege.NET
CAS(Code Access Security) belongs to .NET Security Model and determines whether a piece of code is allowed to run or not and if allowed to run then what resources it can access.
www.codecollege.NET
1. Mark all the managed memory as garbage
2. Look for used memory blocks, and mark them as valid memory
3. Discard all unused memory blocks
4. Compact the heap
www.codecollege.NET
Not all code paths return a value.
www.codecollege.NET
MARS(Multiple Active Result Sets) allows you to execute multiple queries or Stored Procedures with a single Connection.
www.codecollege.NET
You can enable MARS by setting the MultipleActiveResultSets attribute in the Connection String as follows,
"Server=localhost;Database=Northwind;" +
"Trusted_Connection=True;MultipleActiveResultSets=True";
www.codecollege.NET
The use of ADO.NET Connection Pooling is it reuses connections from a pool of Connections instead of establishing connection every time.
www.codecollege.NET