Find your next readFilters
Reset

Page 5 of 12 (Total items: 117)
On Logging in ASP.NET Applications (Part 1...probably)

Logging is OF COURSE a critical part of applications however I often see it misunderstood / misused in ASP.NET applications. This is part post and part manifesto on how to effectively log in ASP.NET Applications. This is not a complete guide to logging;…

Custom Config Section Extensions

It seems like everyone has a version of this code, I first came across this approach from Filip W and recently my old colleague Phil Haack has his version. Just for completion this is how I do it. Why? The why is to make it easier to work with configuration.…

Using Polly For Retries

Polly is a critical part of any .NET developer's toolkit. It is a library that allows you to define policies for handling exceptions and retries in your application. In this article, we will explore how to I use Polly to handle retries in this application.…

Guid format string from a string input extension.

Small Posts FTW Small but potentially useful solution to a problem I was having. Namely, how to generate a GUID from a string input where the Guid is always valid but unique for any given input string. I needed this for my RSS feed generator where I wanted to…

Back - and code for impersonating users...

Well, had a lovely break...now for some code, this will let you 'impersonate' a user - really handy when, for instance, trying to upload a file to a network location...as usual, no idea where I found this, if it was youre, let me know! using System; using…

Simple Guid validator...

Another of my fairly simple functions (actually written by a colleague of mine, Jonny Anderson) - this time just a simple way to validate a Guid - in this implementation you pass in a Guid as an 'out' parameter along with the string you want to test - it then…

Creative Spam

It never ceases to amaze me the lengths to which Spammers go to get you to read their dumb emails... Some however are just deeply dumb and to be gullible enough to read them would put you into a category of stupidity which would automatically (or should)…

Part IV of the interview with Anders Hejlisberg

Linked to the other 3, here's part 4 , very interesting stuff about Virtual methods in C# This is really interesting stuff (well, I think it is!)...here's a section on 'contracts' and virtual methods...the Java bit is SO true! Bill Venners: What do you mean by…

Catching all errors in an ASP.NET application

Okay, I realise that probably everyone and his / her mother knows this already, but if you want to log ALL errors in an ASP.NET application, the simplest way I've found to do it is in the Global.asax.cs (or whatever codebehind)...simply do this: protected void…

Pretty useful C# Projects

Just discovered this, a collection of links to amazingly interesting C# projects. I love the idea of SourceFTP which essentially gives you 'SourceSafe - like' access to FTP - so you can share stuff stored on an FTP server with a form of versioning (and looking…

Page 5 of 12 (Total items: 117)
logo

© 2026 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.