Im my last post I highlighted the need for architects to be producers which amongst other things, means architects need to be comfortable with their sleeves rolled up, writing code. Sometimes this is a challenge because there is not enough time in the day to learn every new technology. I’m always looking for short cuts.
Without the project templates you have to start from a MVC application. So create a New ASP.NET Web Application and select the MVC Template.
Installing via NuGet Package Manager
If you search for HotTowel in NuGet you’ll get several hits. The one I used was HotTowel.Angular.Breeze.
Starting the application
Set the project’s start page to Index.html in the root folder and run the project. You’ll see the following
This isn’t right!
The error points to module ‘ngAnimate’ being unavailable. This means the Angular Animate package is missing. You’ll find that if you correct this there will be more errors. To cut a long story short there are three packages missing
Back in NuGet you’ll notice all three are present but they have the blue upgrade arrow next to them. Update all three packages and run rerun the application.
You should now have a working Hot Towel based SPA with all the necessary packages managed through NuGet. Time to start exploring.