Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How does the XmlSerializer work? What ACL permissions does a
process using it require?

Answer Posted / sweta kumari

The XmlSerializer constructor will generate a pair of classes derived from XmlSerializationReader and XmlSerializationWriter by analyzing the your class using reflection. It will create temporary C# files, compile the resulting files into a temporary assembly, and finally load that assembly into the process. Code gen like this is also relatively expensive. So the XmlSerializer caches the temporary assemblies on a per-type basis. This means that the next time an XmlSerializer for the your class is created, the cached assembly is used rather than a new one generated. For more details please refer "Leaking Unmanaged Heap Memory" secton of http://msdn.microsoft.com/en-us/magazine/cc163491.aspx. Hence the XmlSerialize will require full permissions (read/write/delete) on the temporary directory. This directory is the user profile temp directory for windows applications and the app specific folder under Temporary ASP.NET Files (in the framework directory) for ASP.NET applications

Read more: http://wiki.answers.com/Q/How_does_the_XmlSerializer_work_What_ACL_permissions_does_a_process_using_it_require#ixzz1FTVVIxab

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between asp and asp.net?

995


what are the security certificates used in webservices?

1992


What are the session variables?

967


calling result set one procedure to anothar procedure in sql2000

1745


Explain how cookies work.

1031


What is the life cycle of web page?

953


Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?

1015


What is difference between rest and soap?

1094


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

1029


Explain asp.net application life cycle?

968


What is the difference between c# and .net?

1033


Which method is used to enforce garbage collection in .net?

859


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

2214


What are the different types of sessions in asp.net? Name them?

1174


How do u deploy ur project?

2667