Entries for the 'ASP.NET' Category
This snippet of code uses C# & ASP.NET to display all Server Variables in the HttpContext. The variables are displayed in an easy to read tabular format.
[Read more...]
Posted by Derek Trauger on Monday, January 04, 2010
Conditionally Execute Code Based on Active Solution in Visual Studio
[Read more...]
Posted by Derek Trauger on Saturday, September 19, 2009
Provides a generic method that can be utilized to programatically change the style sheet in an ASP.NET application. This method can be extended by creating an additional method to pass in the name of the desired style sheet.
[Read more...]
Posted by Derek Trauger on Monday, July 13, 2009
The DNN Event Viewer and its hooks provide functionality that are extremely extensible allowing developers to quickly incorporate event logging into their application (custom modules) by utilizing the DNN Core Framework. Writing to the DNN Event Log provides portal administrators with a friendly and unified interface to track trival, minor, and major events of all varieties (success or failure).
[Read more...]
Posted by Derek Trauger on Thursday, April 30, 2009
Encrypting sections of your applications web.config file helps to improve the security of your application by replacing plain text sections of your application configuration with encrypted ones. You can use aspnet_regiis.exe to encrypt sections of the web.config file and ASP.NET can natively decrypt theses sections and process the file normally, all occuring without the need to write additional lines of code.
[Read more...]
Posted by Derek Trauger on Monday, March 02, 2009
|
|