29Dec/090
C# Interview Question on XmlSerializer
How does the XmlSerializer work? What ACL permissions does a process using it require?
The XmlSerializer constructor generates a pair of classes derived from XmlSerializationReader and XmlSerializationWriter by analysis of the classes using reflection.
Temporary C# files are created and compiled into a temporary assembly and then loaded into a process.
The XmlSerializer caches the temporary assemblies on a per-type basis as the code generated like this is expensive. This cached assembly is used after a class is created
Therefore the XmlSerialize requires full permissions on the temporary directory which is a user profile temp directory for windows applications.
Tagged as: assembly, c files, caches, constructor, directory, Process, user profile, windows applications, work, xmlserializer
No Comments
Recent Posts
- Interview Questions Decoded, Part 2
- Interview Questions Decoded, Part 1
- Explain the ways of authentication techniques in ASP.NET
- What is Authentication in ASP.NET?
- Describe how the ASP.NET authentication process works
- How to save data from dataset?
- How to use performance monitor to diagnose bottlenecks in your application?
- What are the various objects in Dataset?
- Describe the basic schema of a .config file.
- Aren’t XML, SGML, and HTML all the same thing
Tag Cloud
-
application
ASP
assembly
career
class
code
company
constructor
control
Database
difference
Don
employer
file
hiring manager
information
interview
interviewer
job
job seekers
language
manager
method
NET
page
person
position
Process
question
quot
response
salary
Serialization
Server
State
string
system
table
time
type
user
way
web
work
XML
BlogRoll
Archives
Categories
Sponsors
-
Do You need a vertical mixer equipment?
lighting