Another online code editor

In the past I have found and shared online resources for developers (e.g. playcode.io), and today I have another one! htmleditor.io does basically what the URL suggests – it allows you to edit HTML. But it does it all in your browser. And it renders…

Beware of !important

I learned a powerful lesson today while modifying my blog (yes, the one you’re reading right now!). I was messing with the site title as I was trying to get the size correctly responsive. You may already be aware of the @media only keywords, where…

Overriding base methods in C#

When you have a base method which can be overridden by a child class, it’s important to keep in mind that you are completely overriding the base method. So, you need to ensure that the child class method does everything that is required. In other…

Using F12 Developer Tools

Modern browsers have an inbuilt tool to aid web developers, which you can open for any web page by hitting the F12 key. Personally, I have found the Google Chrome developer tool to be the best. Debugging Javascript You can debug Javascript buy clicking the…

Easily show/hide a web control

An easy way to show and hide a control is to use a combination of the display:none CSS property, and the .show() and .hide() JQuery methods. Let’s say you have a Yes/No set of radio buttons, and you want a show a simple message if…

In-line dynamic content with Razor

If you have some content where you need to add content under certain circumstances, you can do so using some Razor syntax inline. For an example, lets say you have the following code. [CSHARP] Hi there, this is a paragraph. @if (that == true) {…

Quick Lookup of Key Development Terms

This post is intended as a cut-down list of important development terms, for easy reference. [table class=”table table-striped”] Term, Type, Meaning Virtual, Method keyword, Designates a method that is overridden in derived classes. Can add derived types without modifying the rest of the program. Protected,…

How to ensure your website can see files

It seems silly, but I’ve seen co-workers load up a website for the first time and the site cannot located certain pages even though they are available in the file system. This can throw you off a bit, especially when other developers have no problems….

Can’t see changes after dev build?

I recently had some pain where a fellow developer’s changes were not present on the website after getting latest from source control and doing a build. The changes were in a separate project, which the website referenced. Therefore the project changes were built into a…