Working as a web and database developer I often come across useful snippets of information about the
technologies, tools and standards I use professionally. In order that I don't forget them and that
someone out there may find them useful I keep a blog detailing the problems and solutions I discover.
visual studio 2010
I would imagine most people by now will have discovered and use the NuGet Visual Studio extension (http://www.nuget.org). It is a great way of adding and maintaining 3rd party code libraries in your projects. One problem I find though is that every time I create a new project or solution I end up installing the same old NuGet packages. By default NuGet downloads the source code for these packages into a new "packages" folder in your project/solution root directory. This means I have the same source code downloaded multiple times, in multiple locations. This can easily be fixed as you can...
Loving some of the new things you can now do with CSS3. Recently discovered that you can add styling to text selected by the user. Begs the question where you could make use of this or in fact whether a user is ever likely to notice you have tweaked the styling for their benefit but hey... Style Selected Text Simply drag the cursor over the styled text and the background and color properties change. This is now supported in the latest versions of all the major browsers: Internet Explorer, Opera, Firefox and Chrome.
Another day and another shared web hosting issue. This time it's with Log4Net and its AdoNetAppender. The AdoNetAppender is used by Log4Net to append logging events to a table within a database. This is my preferred method for logging any live site errors within my web applications. However the latest release of Log4Net (1.2.10) will not allow the use of the AdoNetAppender within a medium trust environment. Fortunately after a lot of trawling through forums and blogs I finally stumbled onto a fix... To demonstrate the fix let's run through the basic steps for adding Log4Net to a web project...
I have been developing applications at home for a while now. I have my own libraries and coding structures. All my applications are stored on a local disk drive and manually backed up to an external drive whenever I can remember to do it. However in this environment creating branches of code or experimenting with code changes becomes extremely difficult. I also like to have access to my code at work and often end up carrying copies around on portable flash drives. So I felt it had become time to find a source control solution for all my personal dev work. The basic requirements being: Basic...
Having Googled the question "should I use Captcha on my site" I was presented with quite a few blog entries arguing that any benefits acquired from implementing a Captcha are sometimes outweighed by the disadvantages. The main points being: Captchas frustrate users to the point where they may choose not to leave feedback for your blog. How many times have you being asked to complete a Captcha and required a couple of attempts to get it right? Annoying, yes? Captchas don't work. Sad but true, it doesn't take much to get past a Captcha with various algorithms available if someone was...