How to create dynamic menu and page title with Angular Material and CLI

How to create dynamic menu and page title with Angular Material and CLI

Adding Material Design to an Angular CLI project is relatively simple; Connecting your routed page components to a menu with navigation and bookmarking is a little more complex. The solution has a common pattern you can follow using built in angular router and some custom

Read more…

How to use Angular CLI with Visual Studio 2017

How to use Angular CLI with Visual Studio 2017

This article will show how to create an Angular web application using Angular CLI to manage the build process and dependency management, using WebPack. The latest version of Angular at this time of this article is 4.0.1. Using this technique you can integrate Angular into

Read more…

How to build a real world Angular app with ngrx store, Part I: Define the state

How to build a real world Angular app with ngrx store, Part I: Define the state

This article series will show how to create an application using Angular 2 or later, and leverage ngrx store for application state. The back-end REST layer will leverage Microsoft Asp.Net MVC 5 / Web API. All of this is backed by a Github repo with

Read more…

Fixing the Two Home Controller Problem

Has Microsoft MVC ever complained to you about not being able to load your site’s home page due to having two home controllers? Sometimes this can happen after you publish your site after some refactoring. Multiple types were found that match the controller named ‘Home’.

Read more…

NuGet Package MVC Controller from a live application

This is a followup from my last article on Candor Mvc bootstrap. This will show the first steps in moving a portion of an Mvc project out into a NuGet package. The NuGet package will include the controller and the associated view models and views.

Read more…

Candor Security MVC4 Bootstrap

Previously I’ve talked about the concepts behind securing passwords and the backend code related to that. I am now going to follow up with how to use the candor security features from a Microsoft MVC web application. The full source code can be found in

Read more…

AsyncUI MVC with Progressive Enhancement

The top concerns for any site are having basic functionality, having it perform as fast as possible, and then working for as many customer browsers as possible. Asynchronous User Interfaces are the latest technology to achieve the ultimate in performance. Alex Maccaw: Web developers are

Read more…

ASP.Net MVC Render a partial view as a string for a PDF generation tool

Generally in MVC you want to render views using a view engine with a standard action result response that lets MVC deal with the view engine. But in a couple circumstances you may need to render that view to a string. One case I’ve seen

Read more…