Differences between Dataset and DataReader

Sunday, June 28, 2009



























Sno Dataset DataReader
1 Disconnected Mode Connected Mode
2 Can navigate back and forth Can navigate forward only
3 Data is editable Data is Readonly
4 Can contain more than one table and relationships Can contain only one row at a time.
5 Slower as having more overhead Faster when compared with dataset.

What is the name of the class used to read and get details of the files uploaded to asp.net?





System.Web.HttpPostedFile

Daily Tips- Tip #1 - How can we force all the validation controls in a page to run?



For that call this code,


Page.Validate();

Links for Asp.net Http Modules and Http Handlers



Http Modules and Http Handler
========================

http://support.microsoft.com/kb/307985





How To Create an ASP.NET HTTP Handler by Using Visual C# .NET


================================================

http://support.microsoft.com/kb/308001/EN-US/



Intercept, Monitor, and Modify Web Requests with HTTP Filters in ISAPI and ASP.NET

==================================================================

http://msdn.microsoft.com/hi-in/magazine/cc301704(en-us).aspx




Some more samples
================

http://www.informit.com/articles/article.aspx?p=25339&seqNum=3

How to force Garbage Collector?

System.GC.Collect() forces garbage collector, but it is not recommended.

What is assemblyInfo.cs file? Where can I find it? What is it for?

What
It consists of all build options for the project,including verison,company name,etc.
Where
It is located in the Properties folder.
Use
It is used to manage the build settings.

Oslo - The Microsoft's Modeling platform



Oslo is the code name for Microsoft's Modeling platform .


"Oslo" was first announced by Robert Wahbe in October 2007.


Microsoft says that oslo consists of the following:



*A tool that helps people define and interact with models in a rich and visual manner
*A language that helps people create and use textual domain-specific languages and data models
*A relational repository that makes models available to both tools and platform components



For more information about oslo, read the following:


http://www.microsoft.com/NET/Oslo.aspx




Watch videos about oslo,



mms://msstudios.wmod.llnwd.net/a2294/o21/presspass/modeling9_10_MBR.wmv


http://msstudios.vo.llnwd.net/o21/presspass/zune/Looking_Ahead_Zune.wmv

What is Serialization ? What are the Types of Serialization and their differences?

Serialization:
It is the process of converting an object to a form suitable for either making it persistent or tranportable.
Deserialization is the reverse of this and it converts the object from the serialized state to its original state.

Types:
1. Binary
2. XML

Differences:













Sno Binary XML
1

It preserves type fidelity , which is useful for preserving


the state of the object between transportation and invocation.


It doesnt preserves type fidelity and hence state cant be


maintained.

2 As it is the open standard its widely used Not that much compared to
Binary.

LinkWithin

Blog Widget by LinkWithin

Recommended Books