Latest Posts


  • Import OData / XML / RSS / Webservice Feeds into Excel

    If you came here looking for some quick and easy code that you can plug right in and dump data in excel format.. You have come to the wrong spot. ๐Ÿ™‚ Depending on the scenario you may need this functionality… Continue reading

  • .Net Thread Safety

    Any future posts regarding thread safe calls will go here. C#: (field) C#: (singleton) Continue reading

  • URL Encode in .Net

    C#: (ASP .Net) C#: (Client/Server Environment) References MSDN, WebUtility Classhttp://msdn.microsoft.com/en-us/library/system.net.webutility.aspx MSDN, Uri Classhttp://msdn.microsoft.com/en-us/library/system.uri.escapeuristring.aspx MSDN blogs, http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx Continue reading

  • Encryption 101 and Security for the Paranoid

    Modern day television, cinemas and news have created a big hype around security, especially computer security, usually without any good explanation. I’m not going to tell you that hype is false, there is definitely a growing need to be careful… Continue reading

  • Quick .Net Encryption Reference

    The code below represents a very basic .NET encryption class which has been tested and should work in your application – simply plug and play. ๐Ÿ™‚ Contains two static methods that can be called without needing to instantiate the class.… Continue reading

  • Quick .Net Email Reference

    I’ve done a bit of encapsulation here to abstract the concept into clearer functionality, IMO. Make sure to add “using” reference directives for System.Threading and System.Net.Mail accordingly, when necessary. Note usage of basic boolean “sync lock” style logic in place… Continue reading

  • Get Current URL in Javascript

    JS (JQuery): JS (standard): Continue reading

  • JQuery Grid Themes

    Useful links to JQuery grids utilizing (mostly) standard UI themes and/or very little code. Google! http://jquery-ui.googlecode.com/svn/branches/labs/grid/tests/static/grid/default.html Datatables.Net: http://www.datatables.net/styling/themes/smoothness Ke-Cai: http://www.ke-cai.net/2010/01/theme-your-table-with-jquery-ui.html Trirand: http://www.trirand.com/blog/jqgrid/jqgrid.html Stackoverflow: http://stackoverflow.com/questions/2613632/jquery-ui-themes-and-html-tables Continue reading

  • JQuery and Partial Postbacks

    I recently came across an issue where JQuery bindings no longer functioned after a partial postback and stumbled upon some code that was helpful in most cases. Javascript (JQuery): And alternatively.. This code will not always work however, as was… Continue reading

  • IIS Application Pool

    A great many documents, blogs and references exist on IIS which cover it comprehensively. This article simply serves to discuss one aspect – the application pool. When configuring IIS in an environment that will contain many websites, there are a… Continue reading