.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Advanced Serialization: Format Your Way to Success with the .NET Framework Versions 1.1 and 2.0

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

While .NET offers adequate support for the simple serialization cases, issues arise when you're attempting to support delegates and subscribers, versioning, and class hierarchies. . In addition, the introduction of generics in The .NET Framework breaks new ground in the complexity of the serialization task and the power of serialization tools. This article discusses these issues and related pitfalls, suggests techniques and workarounds that address them, and recommends when and how to best use the new serialization abilities.

Juval Lowy

MSDN Magazine October 2004

View Complete Post

More Related Resource Links

Class To Contract: Enrich Your XML Serialization With Schema Providers In The .NET Framework


The Microsoft .NET Framework 1.x provided minimal options for mapping classes to schemas and serializing objects to XML documents, making this sort of mapping quite a challenge. The .NET Framework 2.0 changes all this with Schema providers and the IXmlSerializable interface.

Keith Pijanowski

MSDN Magazine June 2006

Question regarding having multiple versions of the .net framework


Hi guys,

Sorry if this sounds silly, but it's been getting to me for quite a while now.  I've been having some issues installing both .net framework 3.5 and 4.0 on my computer since I have certain software that either requires one or the other to run.  I've tried over and over again to install framework version 3.5 from your web site, but each time, the result is the same.  I always get the error that I mustconfigure the framework from the control panel.  Yet I see nothing about that in the control panel.  Maybe it would help you to know that I had first found .net framework through IIS when I went to put that in there, and so I've been trying to install it from there.  Every other framework version works fine except for version 3.5.  I unfortunately cannot provide any logs since my computer is currently with the Gordon college techs due to another issue, but any help on this would be appreciated.  Thanks. 



.Net Framework-I have different versions installed but none appear in the Registry.

I am currently having problems installing postgresql and Microsoft Visual Basic 2008 Express Edition on Windows Vista.
I get the following error messages while installing postgresql:
1.    "Error 1935: An error occurred during the installation of assembly. 'Microsoft .VC80.ATL.type="win32".version="8.0.50727.4053".publicKey Token="1fc8b3b9a1e18c3b".processorArchitecture="x86". Please refer to Help and Support for more information."

2. "An erro occured executing the Microsoft VC++ runtime installer."

And when installing VB i hav the following error message:
"Error occured during setup." "Visual C++ Runtime pre-requisites" could not be installed.

I have on my computer .Net Framework versions 2.0,3.0,3.5 and 4.0 installed but none appear in the Registry. Could it be that the above-mentioned problems stem from that?

Multiple .net framework versions



In my server i am observing multiple versions of .net framework.

Our server is sql server 2005.with .net framework 2.0.

But i am observing more versions like 3.0,3.5 also

Can anyone help me why these many versions are there.

 And recently i got one error

Event id: 5000

Error .net runtime 2.0 error




event type clr20r3,P1 sacsclient.exe,P2,P34c0f1a1a,P4mscorlib,P5,P6471ebc5b,P716f8,P822,P9 system.invalidoperation exception,P10NIL.

Is this error due to above multiple versions .


Do I need to keep multiple versions of the .NET Framework installed in my system?


I realize that this may sound like a bit of a dumb question, but here goes anyway...

 Several months ago, I downloaded and installed the Visual Basic trial thinking that that was the program that I needed.  As it turns out I have decided farm this part of my project out to a professional, rather than spending countless hours frustrated with attempting to do it myself.  At the time that I installed Visual Basic I was asked to .NET Framework 2.0  I have since installed two updates, version 3.0 & 3.5.  These programs are quite memory intensive and take up a great deal of hard drive space!  I am currently running WinXP on my Intel-based MacBookPro under Bootcamp.  Unfortunately, the way that the original Bootcamp beta version partitioned my hard drive, it only allows for 32 GB of my hard disk to be allocated to running WinXP This includes any & all applications, documents, etc... that you would by definition have on your computer!  As it stands currently, the .NET Framework applications are occupying 0.5 gigabytes of my hard drive.

Do I need to keep version 2.0 as well as versions 3.0 and 3.5?  Also, since I had no longer using Visual Basic, do I even need to keep the .NET framework on my system at all?

Thank you so much for your help!!!


How are targeted versions affected in new Framework Support Lifecycle Policy Change starting April 2


Hopefully this is the right forum, I searched and wasn't really sure where to put this.

In about a month the Support Lifecycle changes for the .NET Framework as referenced here http://support.microsoft.com/gp/lifeandotnet

We are trying to determine if we need to upgrade our applications or not and have gotten quite confused.

We have a number of web applications that target the 2.0 framework.  We also have Framework 3.5 SP1 installed on our web server.  3.5 SP1 uses the same CLR version 2.0 as Framework 2.0.  Because we have 3.5 SP1 installed, does that mean our applications that target 2.0 will still be covered under the new support lifecycle? 

Would the same apply to a web application that targets 3.5 that references a class library DLL that targets 2.0?

Thank You.

Recovering prior versions of .Net Framework


Like others, I've recently had repeated updates of .Net Framework 4 (KB2446708) which where successfully installed .  Before finding this site, I Googled the issue and it was suggested that I download & run the MS dotnet_cleaup_tool which I did.  It was also suggested to download & install the full version of .Net 4 (filename: dotNetFx49_Full_x86_x64 which I also did.  They both seemsed to work.

Unfortunately, when I ran the cleanup tool I mistakenly deleted ALL versions of .Net Framework.  I did do the instal of the "full" V4 application. 

Questions: How do I reinstall the prior versions?  Do I need them all back to V1?  Is there a specific order they should be installed? Should I perform update requests after each version has been installed?

TIA for your help.

Joe T

Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.

Advanced Paging GridView with ASP.NET 2.0/3.5

This is an article about advanced paging GridView with ASP.NET 2.0/3.5. All the HTML, CSS, JavaScript it needs have been embedded into the WizardGridView.dll.

How To Set a Date Format In GridView Using ASP.NET 2.0

A very common desire is to set a column of a gridview to display just the month, day and year of a DateTime type. The problem is the by default, the HtmlEncode property of the boundfield attribute (
The problem is that if this field is enabled, you can not pass format information to the boundfield control. That is, if you try the following code, you will not get the desired result.

How to format and update GridView and DataGrid rows using JQuery

The behavior described in this question is as expected. When you set text of a cell in grid, it directly affects HTML that is going to be rendered. When you set text value of a cell, it means that you are setting innerText of the cell. The column that GridView creates for command fields (Edit, Delete and Select) are a (anchor) or button elements. So you can see what will happen if you set text value in that cell. It will wipe out those link or button controls and replace them with simple text string.

Creating a Generic Entity Framework 4.0 Repository

With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework.

The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. To set things right, Microsoft proactively moved forward with improving Entity Framework, in time for the 4.0 release of the .NET Framework. This is good news because my initial impressions, so far, have been nothing but positive.

ASP.NET 4.0 Dynamic Data and Many to Many Entity Framework Entities

I did not play much with Dynamic Data controls in VS2008 and just made a cool discovery in VS2010 Beta 2. This may not even be new, but as I'm sitting 30,000+ feet over the Atlantic ocean, I don't have access to VS2008 at the moment to check.

How to format datetime & date with century?

Execute the following Microsoft SQL Server T-SQL datetime, date and time formatting scripts in Management Studio Query Editor to demonstrate the usage of the multitude of temporal data formats available and the application of date / datetime functions.


Program for Format Conversion of An Image

.NET provides extensive support for image conversion. Any image can be processed from one format to another. Most common formats to which .NET have support for are .BMP, .EMF, .GIF, .ICO, .JPG, .PNG, .TIF and .WMF.

Entity Framework 4 Tips for WinForms Development

I've been recently working on a smart client (WinForms) application backed by Entitiy Framework 4 (EF4) on Visual Studio 2010. In this blog post I will try to give you some tips regarding some limitations and points to be careful about EF4.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend