
|
|
Entries for the 'Web Apps' Category
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 August 07, 2008 00:04

I just wanted to make note on my blog of an article by Nathanael Jones about relative paths and whether you use user controls (ascx) or opt to make Control subclasses in App_Code. Overall, it's a nice article, and a good reminder of some subtle differences in the two approaches.
[Read the rest of this article...]
Dan Gilleland posted on April 15, 2008 04:33

If you're involved in developing web sites or Web Applications in any way, then it's a good idea to get the IE Developer Toolbar. You get quite a lot of information on a page you browse. Here's a screen-shot.
There are a lot of great tools & features hidden in those menu items, like the ruler under the Tools menu (see image below).
This allows you to actually see measurements of stuff on your screen, like this:
This is definitely a good tool to use. I'll be exploring it more as time goes on....
[Read the rest of this article...]
Dan Gilleland posted on April 06, 2008 05:21

Good article on some best practices for AJAX (specifically the JavaScript part of AJAX). It's worth the read!
CodeProject: ASP.NET AJAX Best Practices. Free source code and programming help
[Read the rest of this article...]
Posted in:
Web Apps,
AJAX