Archives
-
Sorting the results of DirectoryInfo.GetFiles
Say you wanted toget a list of all the SLN (Visual Studio Solution) files in a given directory and all child directories, sorted alphabetically, you could use something similar to this:
public …
-
A number that equals twice the sum of its decimal digits
Riffing on "dix-huit ans aujoud'hui = 18 pounds!" from Frankarr, an australian blogger.
In the entry he mentions that "One fact about 18 which I really love is that 18, aside from 0, is the only …
-
ASP.NET Expression Builders - Part 3 - Wiring it up in web.config
The final piece of the puzzle to get an Expression Builder working is the entries that are required in the web.config file. Assuming that your expression builder class is in the App_Code directory, …
-
ASP.NET Expression Builders - Part 2 - Using them for Localisation
An expression builder is invoked by ASP.net when it transforms the ASP.net server control markup into C# code ready to be compiled and then rendered out, allowing code to be invoked to set properties …
-
ASP.NET Expression Builders - Part 1
Some linkage first:
Use ExpressionBuilder To Avoid "Server tags cannot contain <% ... %> constructs"
The CodeExpressionBuilder
skmExpressionBuilders - A Suite of Custom Expression Builder …