Why is XmlSerializer so slow

Answer Posted / kirti

There is a once-per-process-per-type overhead with XmlSerializer. So the first time you serialize or deserialize an object of a given type in an application, there is a significant delay. This normally doesn't matter, but it may mean, for example, that XmlSerializer is a poor choice for loading configuration settings during startup of a GUI application.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between model view and controller?

476


what is entity sql?

597


Explain tempdata in asp.net mvc?

594


How to return the JSON from action method in ASP.Net MVC?

685


How to enable Attribute Routing?

613






What are Non Action methods in ASP.Net MVC?

591


Why to use Html.Partial in ASP.Net MVC?

596


what do you mean by navigation property?

587


What is entity client data provider? : Entity framework

539


What are the new enhancements done in default project template of asp.net mvc 4?

574


Explain the new features 3.5 framework against with the tool?

494


What is layout in mvc?

561


Can you explain renderbody and renderpage in mvc?

573


What are differences between entity framework and l2s? : Entity framework

642


What is routeconfig.cs in mvc 4?

641