Go to home page mail me! RSS Feed

March 2007 Entries

Get IP address of host

Grabbing the Internet Protocol (IP) of a given host name has never been easier, it so easy - it can be done with a single line of code. Anyway, a host name may return one of more Internet Protocol (IP) addresses. I was messing around with some DNS stuff today and I figured I'll share this snippet since there are a bunch of posts out there on how to do DNS queries such as getting the Internet Protocol (IP) address given a host name.   private void GetIPFromHostName(string hostNameOrIPAddress) { ...

posted @ Thursday, March 22, 2007 12:13 AM | Feedback (0)

Web.Config Pages Section

It would be cool if I can specify my custom controls in my web.config file and reference them by a unique tag names - I said to myself and bam! One of my favorite sections of the web.config file is the Pages section and thats because not only does it allow me to specify the default theme accross the site but I can also specify controls that are used in the application and visual studio will create intellisense on the fly that will allow me to use those entries via the cusom tag names that I specified. It doesn't get...

posted @ Thursday, March 22, 2007 12:07 AM | Feedback (5)

HttpApplication pipeline demystified

If you don't know how each ASP.NET request is processed then you are lacking a vital piece of knowledge. The HttpApplication is usually un-heard of and it works quietly behind the scenes - well not really. If you have written a HttpHandler or HttpModule or any application with some sort of complexity before - you probably already know what its all about. The HttpApplication is the base class for all ASP.NET application objects, therefore, an HttpApplication class is created for each request.

posted @ Wednesday, March 14, 2007 5:39 PM | Feedback (0)

Beginners guide to .Net Generics

As famous as the word generics is among .Net developers, I was amazed when I found out that a huge percentage of .Net developers have only heard of it but have never actually used it or know of any reason why they should use it. If you have read my past articles, you would know that my philosophy is to code simple and efficiently, there is no need to write complex code that could have been done with simple techniques.

posted @ Monday, March 12, 2007 12:42 PM | Feedback (0)

New Programming (.Net) blog

To free up my name "Rydal Williams" and use it as a personal website - as the name implies :), I've setup a new location for my programming blog (http://blog.dotnetclr.com). From now on I'll be blogging at this new location. Please update your bookmarks, rss and etc. Thanks. I promise I won't be moving again. Oh and I'll now be blogging more actively than usual.

posted @ Monday, March 12, 2007 10:57 AM | Feedback (0)

Next entries »