|
Deserialize whole node's inner text as string Hello there, I 'have' to serialize xhtml within a xml-node without escaping / wrapping it in CDATA tags, but also need to be able do deserialize it. The structure looks e.g. like this: <Requirement> <IDNumber>1234</IDNumber> <Description><html xmlns="http://www.w3.org/1999/xhtml"><head></ head><body><p>&nb... 20 Jun 2008 16:22
Remote Win64 registry access from Win32 managed app? Since the following article was posted, have there been any updates to the ..NET framework (any version) to support remote access to the Win64 registry from a managed app running on a Win32 system? We'd prefer to do this in managed code without having to resort to PInvoke calling native code that uses the KEY_WOW... 23 Jun 2008 10:40
See This See the following article to find the solution :: http://harriyott.com/2006/05/contextswitchdeadlock-was-detected.aspx http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=271410&SiteID=1 Hope it helps. ... 20 Jun 2008 07:07
Serialising/Deserialising subclass to base class I have a class "RtpImage" which inherits from a class called "LogImage". I serialise this class and then deserialise back to a LogImage. However it seems that .NET is remembering its type and calls the RtpImage constructor/finaliser instead of the LogImage constructor/ finaliser. This is causing me problems in the ... 20 Jun 2008 07:07
How To: do network sniffing on Vista? I am trying to implement some UDP based network communication protocol. It's error prone a a network sniffer will greatly help me understand wha't going on (sometimes I don't get any messages...) I found this one which (unfortunately) works only on XP: http://www.codeproject.com/KB/IP/CSNetworkSniffer.aspx Th... 20 Jun 2008 07:07
How to determine if a property is inherited or not using reflection? I've tried using TypeDescriptor.GetProperties to get PropertyDescriptors and I've tried <t>.GetProperties to get PropertyInfo but I can't figure out how to determine for a given property whether or not the property in question is inherited from an ancestor or not. For that matter, I can't determine the inheritan... 20 Jun 2008 16:22
Disappearing Data on Dynamically Loaded WPF Form Hey all - I'm seeing some extremely odd behaviour on dynamically loaded XAML forms that are bound to an XmlDataProvider. This will be slightly difficult for me to explain, so I'll try to give everybody some background of what we're doing and what the problem is. We're creating an application for our client... 24 Jun 2008 22:37
SqlConnection.BeginTransaction timeout under load I am load testing a client-server application and see intermittent timeouts in the BeginTransaction method. The server is close to I/O bound but SQL Server is generally responding to queries in less than 4 seconds and is using 25% CPU about 25% of the time and probably averaging closer to 18% on a dual-dual-co... 19 Jun 2008 17:50
GC causing variable run-time ? We have a .Net 1.1 application and witnessing huge variance in performance, and suspect the GC is the culprit. The same operation can take 6mins initially, then 2:30 mins, then 3 mins. The variance is bigger on slower machines. On a 4 core 2.36 workstation the variance is limited and the same operation takes a... 19 Jun 2008 22:57
Custom Filter in Enterprise Library 4.0 I am trying to create a custom filter that will filter based upon values specified in the Categories field of the LogEntry instance. I have all of the code written, but am unable to get the config file to work. Has anybody done anything like this before or can provide any sample code that does something like th... 19 Jun 2008 16:48 |