Palermo4
J. Michael Palermo IV
-
Revision: Case-Insensitive String Equality
I made revisions to my method for comparing strings while ignoring case. This is in light of some good feedback I received. Here is the updated method:
-
American Idol Returns Home
Jordin Sparks returns to Glendale, AZ tonight as part of the American Idols Live Tour. Her family lives just a few blocks from us in Glendale. Welcome home!
-
To Compile or Not Compile
ASP.NET 2.0 allows developers to configure whether a page compiles or not. Consider the following page directive:
-
Sales, Marketing, Assessments, and Me
Last week I had a chance to be at Coors Field in Denver to watch the Rockies play. Before the wicked rain storm, we were able to sit and enjoy a few good innings.
-
Blog Fear
I have had many conversations at the office about the fear of writing a blog - especially when posting code samples. From the blog author's perspective, it is a good and noble deed to post his/her code discoveries to the world. However, despite good intentions, there is always the fear that someone in the cloud will find something wrong with the code, and potentially embarrass the would-be-poster-of-good-code.
-
Utility Methods - Are They The Devil?
Awhile back I posted a blog on string comparisons. The number of comments on that blog also spawned debate at AZGroups. One of the intriguing manifestations of the debate was regarding the use of utility methods in general.
-
2007 Worldwide Partner Conference in Denver, Colorado
Today I head back to Phoenix, AZ from the 2007 Worldwide Partner Conference in Denver, CO. I had many opportunities to get to know other individuals and organizations.
-
How To: Create a Strongly-Typed Property For HttpContext.Items
HttpContext.Items is one of my favorite properties in ASP.NET. If I want to communicate a value from the HTTP pipeline to a page and then to a user control, this is my method for doing so. Because the Items property is an implementation of IDictionary, the key/value pair is not strongly-typed. If I am going to access a value often, I would like to make the call as simple as possible. Here is an example of a property I created that "wraps" HttpContext.Items around a key value, yet exposing the value as a string, not object:
-
How To: "Upsert" Into AppSettings
ASP.NET 2.0 allows developers to update or insert values into web.config programmatically. This allows senior ASP.NET developers to create an administration or support page to modify values into web.config sections - without tampering with the web.config file directly.
-
How To: Convert ASP.NET Trace Messages Into System.Diagnostics.Trace Messages
After reading a post from [danw], I decided to extend the discussion on Tracing in ASP.NET. Dan discussed in his blog how to capture System.Diagnostic.Trace messages in the ASP.NET trace reports via trace.axd. This blog post is to demonstrate how easy it is to do the opposite - send TraceContext message to System.Diagnostics.Trace listeners. In web.config, do the following: