Its just over a year since I updated my Naif.Blog blogging application. In fact its just over a year since I posted anything on this blog. For the last week I have been off work and so I have been keeping my hand in by making some long overdue updates to my blogging application – Naif.Blog.
In my continuing project to build my own Blog Application using the new ASP.NET Core, I previously set the stage by reviewing the development environment, I will be starting with. In this post I move on to displaying a simple list of Blogs.
Peter Donker raised the question in the DNN Connect Facebook Group – “How can you access the Client Resource Manager in an MVC View?”. I gave him the answer as a reply but I thought it would be good to provide a more accessible source for the information.
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.
In my previous blog I reviewed the Development Environment I will be using for my blog series on Module Development in DNN 8. As a reminder you can find all the sample code on Github at https://github.com/cnurse/DnnConnect.Demo. In this blog we will create our first MVC Action and View.
A 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.
Up until a few years ago, at DNN Corp we had primarily been using jQuery to do that manipulation. Don’t get me wrong jQuery is an awesome framework, but jQuery directly manipulates the DOM - there is no concept of working with models/objects in jQuery – i.e. separating your presentation aspects from your other logic.