Thoughts from the Wet Coast

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

Articles


ToDo DNN - 2 Classic WebForms

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.

Nov 10 2015

ToDo DNN - 1. Introduction

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. 

Nov 8 2015

Module Development in DNN 8: 6 - Handling Module Actions in MVC and SPA modules

This blog was originally posted on the DNN Community blog

DNN 8 will support creating modules using ASP.NET MVC version 5.1 (or later) as well as using a SPA (Single Page Application) module using HTML 5, JavaScript and ASP.NET Web API.  In previous blogs in this series I have described how these modules can be built and I have shown how localization is handled.  One topic still to describe is how both of these approaches can register module actions so they show on DNN’s module action menu.

Jul 15 2015

Module Development in DNN 8: 5 - New tokens to support building pure SPA modules

https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Roman_Baths_in_Bath_Spa%2C_England_-_July_2006.jpg/276px-Roman_Baths_in_Bath_Spa%2C_England_-_July_2006.jpgThis blog was originally posted on the DNN Community blog

DNN 8 will support creating modules using a SPA (Single Page Application) model using HTML 5, JavaScript and ASP.NET Web API based web services.  In a previous blog in this series I showed how you can set up your environment to create SPA modules. This model development style has been available ever since we added support for ASP.NET Web API, but in DNN 8 we have added support for html files to be module controls.  This means that we no longer require some form of code-behind file.  So how do we do things like registering JavaScript files that we used to do in those code behind files.  In this blog I describe how we have extended DNNs token support to provide these abilities.  As before the source code for my examples is available on Github at https://github.com/cnurse/DnnConnect.Demo.

Jul 10 2015

Module Development in DNN 8: 4 - Localization support for MVC modules

DNN_Loves_MVC_LogoThis blog was originally posted on the DNN Community blog

DNN 8 will support creating modules using ASP.NET MVC version 5.1 or later.  In previous blogs in this series I showed how you can set up your environment to create MVC modules and I created my first MVC Action/View. In this blog I will describe the support we have included for localizing text in MVC Controllers and MVC Views.  As before the source code for my examples is available on Github at https://github.com/cnurse/DnnConnect.Demo.

Jul 9 2015

Module Development in DNN 8: 3- Introduction to SPA modules

https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Roman_Baths_in_Bath_Spa%2C_England_-_July_2006.jpg/276px-Roman_Baths_in_Bath_Spa%2C_England_-_July_2006.jpgThis blog was originally posted on the DNN Community blog

In addition to ASP.NET MVC modules, DNN 8 will support SPA (Single Page Application) modules, developed purely with HTML JavaScript and Css, together with ASP.NET Web API based Web Services on the Web Server.  DNN currently supports this module type – to a degree - but the HTML is required to be in the WebForms User Control.  A number of the newer modules have been built this way, for example the Core Messaging module and Membership modules found in the User Profile are built in this way.

Jun 20 2015


Module Development in DNN 8: 1 – Introduction to MVC modules

This blog was originally posted on the DNN Community blog

DNN_Loves_MVC_LogoA new CTP for DNN 8 was released this week.  This CTP contains updated support for building modules using the ASP.NET MVC Framework as well as new support for building HTML 5 based modules.  This adds to the existing support for building modules with ASP.NET WebForms (User Controls) and Razor scripts. 

Jun 16 2015

DNN Loves MVC: 1 - Introduction

DNN_Loves_MVC_LogoLast summer DNN Corp announced their intention to support MVC in future versions of the eponymous DNN Platform. 

Last week Joe Brinkman announced that the initial fruits of those labours was now available in a CTP of DNN 7.5.  The support introduced in 7.5 will allow developers to build their DNN modules using ASP.NET MVC version 5.1.1 or later. 

Mar 28 2015

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Categories

Tags