Enterprise Library’s Logger is powerful and convenient. It’s default TextFormatter provides a suitable human readable format, and it also allows you to implement custom formatters to suite your needs. I think that being able to work with log data without having to manually parse strings, can really simplify the development of tools for mining logs. To this end,Continue reading “Get Control Of Your Enterprise Library Logging Application Block Logs”
Monthly Archives: January 2009
Object Bakery – Fun with .NET Serialization and Crypto: Part 2
In my last article, I demonstrated how to use .NET serialization to dehydrate and rehydrate objects with helpers that drive XmlSerializer, DataContractSerializer, SoapFormatter, and BinaryFormatter. This is part 2, where I expand upon these concepts demonstrating how to use the DESCryptoServiceProvider to securely save off your objects for later consumption. For this, I created a fewContinue reading “Object Bakery – Fun with .NET Serialization and Crypto: Part 2”
Object Bakery – Fun with .NET Serialization and Crypto: Part 1
Being able to snapshot an object graph at runtime can be a valuable capability. I have had occasion to capture objects during a run for the purpose of analyzing and debugging problems that require comparison across multiple runs. Additionally, the power to dehydrate objects and store them in a disk based cache, can also proveContinue reading “Object Bakery – Fun with .NET Serialization and Crypto: Part 1”