This is something I wanted to do for the new version of my portfolio (coming soon). It will essentially be a one page portfolio built of modules, some being projects, others being social feeds, e.g. latest tweet, Flickr photos and my last foursquare checkin.
Twitter is straight-forward, and can be done right from JavaScript without [...]
You try and use Request.Session in a .ashx handler and it is null. (You probably get a System.NullReferenceException – Object reference not set to an instance of an object).
Make sure you implement the System.Web.SessionState.IRequiresSessionState interface if you want to read/write Session data or the System.Web.SessionState.IReadOnlySessionState interface if only need to read Session [...]
Through this relatively unknown simple technique, you can instantly take down a .NET web app so you can do maintenance etc.
Simply put a file called App_Offline.htm in the root of the web server and .NET will detect it, and stop processing any requests. All it will do instead is serve the contents of this [...]
I got this exception after 2 minutes or so of waiting when consuming an RSS feed from Digg.com. It was strange seeing as the feed loaded instantly when I viewed it in a browser.
I discovered I could solve the problem by adding the following line of code (where the object req is a HttpWebRequest [...]
Normally if you’re looping through a list of items in a ListBox (or CheckBoxList etc) you’d probably do something like this:
That’s great and works well, but I though ‘How could I do this using LINQ?’. This is how:
This may be a trivial example and is a longer way of doing the [...]
-
Calendar
May 2012 M T W T F S S « Mar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta

