?

Log in

Previous Entry | Next Entry

.NET interview questions: - In which scenarios we can use serialization and when to use what binary serialization or XML serialization?

Below are some scenarios where serialization is needed: -

  • Passing .NET objects across network. For example .NET remoting, web services or WCF services use serialization internally.

  • Copy paste .NET objects on clip board.

  • Saving old state of the object and reverting back when needed. For example when the user hits the cancel button you would like to revert back to the previous state.

Following are the uses of binary serialization as compared to XML serialization

  • Binary is smaller in size, so faster to send across network and also faster to process.

  • XML is more verbose, but easy to understand and human readable. But due to the XMLstructure its complex to parse and can impact performance.

c6


Also see following .NET interview questions videos debug directive in C#:  -

Copy right www.questpond.com

Buy 600+ Real Time Interview Videos

Call +91-22-66752917 or mail us on questpond@questpond.com for more details on C#, .NET, ASP.NET, SQL Server interview question videos.

SQL Server interview question videos

Latest Month

January 2017
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Tags

Powered by LiveJournal.com