Browse by Tags
All Tags »
Enterprise Library 3.1 (
RSS)
Intro... One of my favorite Application Block on the Enterprise Library is the Logging Application Block (LAB). I have used it since the early versions of EntLib and even prior when we had the application block itself. I though I knew everything there is to know about the logger, however lately I have found that there still things to learn. I though I'd share with you one of them. Just so we can get started, a quick poll: How many of you knew that there is a Tracer within the LAB? How many of...
With enterprise library 3.1 you can create a custom exception handler that will handle the exception on hand. First you need to create a custom exception handler. In order to implement your custom handler you must follow 3 rules: Implement the IExceptionHandler. Add a class attribute that implements the ExceptionHandlerData (e.g. CustomExceptionData). Add a constructor that receives a NameValueCollection. Here is a sample ExceptionHandler that implements those 3 rules: [ ConfigurationElementType...
In this screen cast, I will be show how to use the cryptography application block in order to encrypt and decrypt query string parameters. In addition I am attaching the source code for the screen cast here . You can download the screen cast from here . Screen cast walk-through In this screen cast I will create a web site application that will contain two pages: Default.aspx and Default2.aspx. The first page will ask the user for a product id input, then it will encrypt it and perform a redirection...