Getting first and last days of a given month

The following statements will allow you to manipulate date values from a date input (e.g. GETDATE()) to provide you with the last day of the given month. I have found this very helpful. You can also specify a hard-coded date, and wrap in CAST functions…

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…