Wordpress - cgaskell.wordpress.com - WordPress.com News
General Information:
Latest News:
Format a link from the uComponents UrlPicker 10 Aug 2012 | 10:00 pm
For reference here’s the razor macro code I use to load a URL from the URLPicker. I pass the alias of the URLPicker field and a Css Class into the macro. @inherits umbraco.MacroEngines.DynamicNodeCont...
SQL–Single user modes 22 Jun 2012 | 05:57 pm
Ok so I always seem to forget the SQL for dropping in and out of single user mode should you be restoring / attaching dbs. So as a reference: Single User Mode ALTER DATABASE OxfamCommunityInteg...
Things to Learn from LinkedIn 7 Jun 2012 | 07:01 pm
An awesome piece written by Chris Mckee (http://chrismckee.co.uk/, http://twitter.com/chrismckee) after the LinkedIn password saga June 2012. It was so good I’ve nicked it and posted it here as it’...
Running sql scripts against an attached database (MDF in App_Data) 6 Jun 2012 | 06:29 pm
Recently I had some trouble running a SQL Script against an attached database in my solution (the database lived in App_Data). For info my app uses a connection string like Data Source=(local)\SQLEX...
Install self cert SSL in Dev environments 14 Jan 2011 | 12:00 am
Recently I needed to get SSL up and running on some internal development and test environments. We know as the cert hasn’t come from a trusted source the client will recieve certificate errors – not ...
HTTP Module Events 13 Jan 2011 | 11:52 pm
There’s a fair number of events you can listen for in a .NET HTTP Module. I forget most of them and certainly their order – here’s a reminder. These events are listed in sequential order: BeginReque...
Perform find replace in SQL update staement 5 Jan 2011 | 03:54 am
I had an interesting problem today where I needed to update strings in a database table field based on a certain criteria. A bad character had gotten into the URL field in the rhpRef table. The SQL u...
Setting RDP session timeout auto logoff 25 Oct 2010 | 08:13 pm
When sharing a dev server there is always someone who ‘disconnects’ rather than logging off or leaves their RDP session connected and idle. You can set timeouts for these situations to auto logoff th...
Readonly textbox not adding values to viewsate 10 Feb 2010 | 05:06 am
If TextBox’s ReadOnly property is “true”, postback data won’t be loaded e.g it essentially means TextBox being readonly from server-side standpoint (client-side changes will be ignored). If you want ...
Exceptioneer – ASP.NET, Windows Forms and JavaScript Exception and Error Handling 15 May 2009 | 08:07 pm
Exceptioneer is a hosted system designed for .NET folks to help identify, manage and resolve unhandled exceptions. When an Exception occurs within an Application, that exception and a range of platfor...