Click here to Skip to main content

Articles by Martin Jarvis (Technical Blogs: 34, Tip/Tricks: 4)

Technical Blogs: 34, Tip/Tricks: 4

RSS Feed
No articles have been posted.

Average blogs rating: 4.45

Miscellaneous
General
Posted: 20 Oct 2011   Updated: 20 Oct 2011   Views: 14,910   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This is tricky because tfs2svn stopped being updated when Subversion 1.4 ruled the roost.
ASP.NET
General
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 3,604   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In part 1, I gave an overview of the similarities in securing a good night club and a website and in part 2 I gave an overview of what we, as developers, can do to secure our websites.  In this final part, I give details on how we should be doing the most important (and mundane) part of securing our
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 4,321   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
In part 1, I gave an overview of the similarities in securing a good night club and a website.   In this part I’ll give an overview of what we as developers can do to implement these measures:4 and 5 Authentication and HTTPSThe implementation of these is very much driven by the business requirements
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 5,328   Rating: 3.50/5    Votes: 2   Popularity: 1.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
A good website is much like a nightclub, we want the general population to be able to use the facilities freely (or for a nominal fee!) but we don’t want the trouble makers that will spoil it for everyone.
Posted: 23 May 2010   Updated: 24 May 2010   Views: 5,715   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
This module allows you to disable Control Adapters using a whitelist (disallow all, apart from those lists) black list (disallow all control adapters listed) and also to inject a control adapter into a specific control.
Posted: 14 Jun 2010   Updated: 14 Jun 2010   Views: 5,854   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
N2CMS comes with some pretty fully featured examples, the most useful to me is the N2.Templates example site.  Unfortunately, as it stands the RSS feed is broken and give the error: Cannot use filters when using MaxResults, sorry.
Posted: 15 Jul 2010   Updated: 15 Jul 2010   Views: 7,583   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Url Rewriting is great and I love it a lot, you get to create nice readable (and memorable) urls without having to create hundred of files.  However, there can be issues.  For example, when you post back to a page where the url has been rewritten, it won’t be to the nice alias, it will be to the d
Posted: 3 Aug 2010   Updated: 3 Aug 2010   Views: 9,156   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Some extension methods to try and get around the (many) issues that I’ve had with FindControl
Howto
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 6,478   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
It’s a (conscientious) developer’s worst fear: You’ve slaved long and hard to produce a top-notch, blistering fast website that fully shows off your coding prowess and skills, you unveil the website to critical acclaim and universal client approval (imagine the cheering crowds) but then out-of-h
Posted: 14 May 2010   Updated: 14 May 2010   Views: 7,671   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Basic Example of On-The-Fly Config Section Encryption
Posted: 9 Jun 2010   Updated: 9 Jun 2010   Views: 11,378   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I've recently been working with the excellent n2cms project. However, I've noticed a bug with the Forum Addon. The first page would be correctly themed but any subsequent pages were not when running against a build of the latest N2CMS.
Posted: 20 Jul 2010   Updated: 20 Jul 2010   Views: 16,675   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
How to change a Master Page Body Tag’s CSS class for different Content Pages
User Controls
General
Posted: 5 Nov 2010   Updated: 8 Nov 2010   Views: 8,137   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
One of the great features in ASP.NET is the rich caching framework.  I particularly like being able to: Define caching policies in the configuration file and then assigning those policies to groups of pages (via the @OutputCache directive). Cache User Control output for reuse on multiple pag
Validation
Validation Controls
Posted: 16 Jan 2012   Updated: 16 Jan 2012   Views: 19,016   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
The new MVC3 Validation Groups.
Web Security
Security
Posted: 21 Sep 2010   Updated: 21 Sep 2010   Views: 7,472   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Protect against POET Attacks with Custom Errors!
Content Management Server
General
Posted: 2 Feb 2012   Updated: 2 Feb 2012   Views: 8,110   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Finding “Missing” content in the index on 64 bit Windows.
Database
SQL
Posted: 1 Nov 2010   Updated: 1 Nov 2010   Views: 7,762   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
I’ve recently had to do a quick bit of DB performance analysis work on a 3rd Party database to see if I can improve performance(without being too invasive).  The quickest way to do this, is using the Database Tuning Engine Advisor tool that comes with SQL 2008 (the best way is to have loads of exper
SQL Reporting Services
General
Posted: 1 Nov 2011   Updated: 1 Nov 2011   Views: 1,939   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I’ve recently needed to have a multilingual menu where the id for each menu item is the same across all languages, this is a bit of a tall order using the workarea as only the root menu item will share the id. So I’ve knocked out a quick’n’dirty TSQL script to clone a menu across across several lan
C#
General
Posted: 5 May 2010   Updated: 12 May 2010   Views: 4,533   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
I’ve been investigating a replacement for our current link checker (SEO Optimization Toolkit) to be run automatically as part of our build so that we can get a quick heads up if one of our dynamic pages breaks.  The problem is that as most of our sites are built with Ektron there’s a lot of pot
Posted: 24 Jun 2010   Updated: 28 Jun 2010   Views: 8,623   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I’ve recently had to look at dynamically assigning an assembly versions based in part on the date of compilation and the version of a compiled 3rd Party library. This looked like a simple job for the MSBuild.ExtensionPack.Framework.Assembly task in the MSBuild Extension Pack.  However, this had a s
Posted: 19 Aug 2010   Updated: 19 Aug 2010   Views: 4,574   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Creating Strongly Typed Code Using Microsoft.VisualBasic.Collection
Other .NET Languages
Forth .NET
Posted: 21 Jul 2011   Updated: 21 Jul 2011   Views: 3,795   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
As much as at pains me to admit it, an ORM Framework is not the answer to all data access problems.  Sometimes the quickest, easiest and most maintainable approach is back-to-basics flat ADO.Net.  For those developers whose (development) life began with Entity Framework, NHibernate or SubSonic.  Thi
.NET Framework
How To
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 6,683   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Everyone knows (hopefully) how WCF has made multi-tiered application development easier and cleaner.  You get nicely generated client proxies that reuse common libraries straight out of Visual Studio – no more having to convert between your DTOs and the Web Service DTOs.  They even implement IDispos
Posted: 7 Sep 2010   Updated: 7 Sep 2010   Views: 4,647   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Yummy! Cleaner, sweeter WCF proxy usage with DynamicTidyProxy!
Exception Handling
General
Posted: 4 May 2011   Updated: 4 May 2011   Views: 5,072   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Logging is the new Exception Swallowing
String handling
Regular Expressions
Posted: 3 Jul 2010   Updated: 3 Jul 2010   Views: 8,254   Rating: 3.75/5    Votes: 6   Popularity: 2.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
String.Format is a wonderful method, a real life saver when it comes to producing (readable) formatted text from within code. 
Text Conversion
Posted: 29 Jun 2010   Updated: 12 Jul 2010   Views: 13,975   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
I recently needed a way to replace accented characters with simple English ones to allow more readable friendly urls. I'm sure there are plenty of Danes out there who are sick of seeing their language butchered by UrlEncode... 
Design and Architecture
General
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 2,982   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Craigs pointed out an interesting discussion about managing client expectations around the final display of a website across browsers. This sort of discussion has been around for a while now and I think clients are starting to wise up to browser display issues.
Testing and QA
General
Posted: 1 Nov 2011   Updated: 1 Nov 2011   Views: 2,176   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I’ve recently hit a problem with deploying  Ektron Extensions (the 8.0 replacement for Plugins), essentially every time my Extension ‘Strategy’ was called the workarea would display an error similar to: Value cannot be null. Parameter name: type Fortunately, in the Application Event log (for
Work Issues
Pro Developer
Posted: 10 Jul 2010   Updated: 10 Jul 2010   Views: 21,238   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Diagnosing Tricky ASP.NET Production Issues with DebugDiag and winDbg
Uncategorised Technical Blogs
General
Posted: 2 May 2011   Updated: 2 May 2011   Views: 4,358   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Ever needed to convert an Excel Column Letter to a number or vice versa?  Here’s a couple of extension methods to do it: 1: public static string ToLetterEncoded(this Int32 numberToEncode) 2: { 3: if (numberToEncode = 0 && numberToEncode !char.IsLetter(c)).Any()) throw ne
Posted: 21 Oct 2011   Updated: 21 Oct 2011   Views: 11,808   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Ektron: High Indexing Service Processor Usage (Potential) Fix
Posted: 1 Nov 2011   Updated: 1 Nov 2011   Views: 11,578   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
It’s been a while since I last posted – it’s been crazy busy at work – and this is a completely non-.Net related post (sorry).  However, like many of you (I’m  sure) I’ve got a personal SVN repository (where I keep my .Net code, so there is a tenuous link!) which is hosted on my QNAP 419P NAS Drive
Reviews on Third Party Products and Tools
Community Reviews
Posted: 23 Nov 2012   Updated: 23 Nov 2012   Views: 2,816   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
I’m assuming that you’ve read the installation instructions: http://world.episerver.com/Documentation/Items/Installation-Instructions/EPiServer-CMS/Version-6/EPiServer-CMS-6-R2/Installation-Instructions---EPiServer-CMS-6-R2/ Creating a new blank EPiServer Site Project and Solution Prepare Repositor

Average tips rating: 5.00

ASP.NET
General
Posted: 14 Apr 2010   Updated: 14 Apr 2010   Views: 13,870   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Whilst uploading a large (70MB) file to an IIS 7 website I got a 404 error….which was odd, uploading a file in a postback shouldn’t give me that. I know that file exists!On further investigation it turns out it was actually a 404.13 error from the Request Filtering feature of the Integrated...
Posted: 8 Jun 2010   Updated: 8 Jun 2010   Views: 4,491   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Essentially, leave 'Treat As Library Component Unchecked'
Programming Tips
General
Posted: 24 Jun 2010   Updated: 26 Jun 2010   Views: 4,619   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
How to Programatically (and configurably) Launch a Debugger
Posted: 26 Jul 2010   Updated: 26 Jul 2010   Views: 2,912   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
An alternative (and reusable) method is to create a Control Adapter for the form which replaces the Action attribute value as the page renders.This can then be moved from project to project with just a bit of config in the App_Browsers file.I've just written a quick blog post about this...
No reference articles have been posted.

Martin Jarvis
Software Developer (Senior) Freestyle Interactive Ltd
United Kingdom United Kingdom
I'm a lead developer for Freestyle Interactive Ltd where we create many wonderful websites built on Microsofts ASP.Net and Ektron CMS.
 
I've been developing .Net applications (both Windows and Web) since 2002.
Follow on   Twitter


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 27 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid