
|
|
Entries for the 'Programming' Category
Dan Gilleland posted on January 03, 2009 05:51

This was a great read from Jeff Atwood of Coding Horror. I'm going to have to take some time this coming week to actually follow up on some of the lin...
[Read the rest of this article...]
Dan Gilleland posted on September 05, 2008 23:32

I've run across an article - "HTTP Handlers and HTTP Modules in ASP.NET" - that provides a nice introduction and background on the topic, so I thought I would mention it here (for myself and others). The article is from 2002, but it still serves as a good introduction.
[Read the rest of this article...]
Dan Gilleland posted on August 07, 2008 23:59

Stephen Walther writes an article on creating custom route constraints for web apps. One particularly interesting constraint is to only allow a certain URL to run if it is run from the local machine (which can be great for an admin to check something that others shouldn't be able to). Here's an excerpt:
Creating a Local Constraint
You also can create a custom constraint that prevents a request from matching a URL unless the request is made from the local machine. This type of constraint can be useful for restricting access to website administrative pages.
...
The LocalConstraint simply checks whether the current request is a local request by taking advantage of the Request.IsLocal property. This property returns the value True when the host is either equal to localhost or 127.0.0.1.
He goes further by offering suggestions on how to write unit tests for these constraints, illustrating how to fake the HttpContext (look in the download code for this one).
[Read the rest of this article...]
Dan Gilleland posted on March 19, 2008 09:22

Now, this looks like a very cool article. Can you imagine - adding your own methods to something like the String class?!? WOW.
ASP.NET.4GuysFromRolla.com: Extending Base Type Functionality with Extension Methods
[Read the rest of this article...]
Dan Gilleland posted on March 17, 2008 09:24

I've been meaning to look into WCF programming - just haven't had the time. Now, at least, I have a list of articles et.al. to get me up to speed. Thanks Joe!
Windows Communication Foundation - 65 Links to make you an expert!
[Read the rest of this article...]