Thoughts from the Wet Coast

The musings of an ASP.NET Developer from Canada's We(s)t Coast




ToDo DNN - 2 Classic WebForms

Nov 10 2015

A few days ago I blogged that I would be creating a number of different “ToDo” modules to showcase “Best Practices” for building DNN modules.  This project is hosted on Github and is inspired by the ToDo MVC project which shows how different JavaScript MV* frameworks and libraries can be used to build a common “ToDo” application.  My first project is a “Classic WebForms” approach to building a DNN ToDo module.

I have called it “Classic Webforms” as it primarily uses features of DNN that were available prior to version 5, when we began to add additional ways to develop modules.  However,  as with most of my example modules this module is developed using a number of modern “Best Practices” – these Best Practices are highlighted in italic.

ToDo DNN - 1. Introduction

Nov 08 2015

When I announced that I was no longer working at DNN Corp, I did make it clear that it was still my intention to remain active in the DNN Community.  And so, for the last couple of weeks I have been trying to decide what I should do. 

In my role as Senior Architect and Chief Architect at DNN Corp I often found myself adding or updating the framework for developers to write module extensions for DNN.  And, of course, that meant that I needed to create a module in order to test out those features.  Often I did this by creating a To-do or Task List module. 

A New Beginning

Nov 02 2015

A couple of weeks ago, I announced that I was leaving DNN Corp, my employer - either as a contractor or employee - for the last 9 years.  It was a difficult day, as this wasn’t my choice. 

JavaScript for C# Developers: 6. Closures

Oct 30 2015

Closures are an important concept in JavaScript and give raise to some of the real power of the language. Later in this series I will discuss JavaScript module patterns – all of which rely on closures. In order to understand closures lets look at a specific example function.

ASP.NET 5: 1 - Introduction

Oct 28 2015

Almost a year ago I posted the first post in a new series of blogs on ASP.NET 5.  As it happened that post ended up being the only post as my work commitments meant that I wasn’t able to dive into the new features of ASP.NET 5.

So, now that I have some free time, its time to get back to the topic of ASP.NET 5.  Although ASP.NET 5 is still in Beta (Beta 8 is the current release), it is scheduled to be released in the first quarter of 2016, so the features are much more stable than they were in late 2014.

JavaScript for C# Developers: 5. Curly Brace Formatting and the Implicit Semicolon

Oct 27 2015

In C type languages, such as C, C++, Java and C#, whether the curly brace starts on the same line or on a new line is basically a matter of convention.

However in JavaScript it does make a difference due to a feature of JavaScript called the “implicit semicolon”, If a statement doesn’t end in a semicolon then JavaScript interpreters will add one.


Lessons Learned

Oct 21 2015

Last week I posted an article on my Blog announcing that I was no longer working at DNN Corp.  As I usually do after posting a new blog I shared that on Twitter and Facebook.

Within about 10-15 minutes, I started getting Twitter DMs and comments on my Facebook post that my site was down.

So Long, Farewell, (Auf Wiedersehn, Goodnight)

Oct 14 2015

(with apologies to Rodgers and Hammerstein)

It is with some trepidation and certainly with mixed emotions that I am announcing that I am moving on from my position as Chief Architect at DNN Corp.

JavaScript for C# Developers: 4. Variable Scope

Aug 26 2015

As C# developers we think we know what variable scope is all about.  But if I showed you the JavaScript code below, what number would you think would be shown in the alert dialog.