Questions tagged [hottowel]

Hot Towel is a Visual Studio Template for creating a Single Page Application (SPA).

Hot Towel is a Visual Studio Template for creating a Single Page Application (SPA). It is built using the following components:

Hot Towel is delivered in three different forms:

The Hot Towel template was authored by John Papa, and is described in detail on his site.

336 questions
32
votes
2 answers

accessing $scope from unit test file when using the vm "ControllerAs" syntax from AngularJS HotTowel

See here for example: http://www.johnpapa.net/angularjss-controller-as-and-the-vm-variable/ As the title suggests, I'm following along on this tutorial [http://tech.pro/tutorial/1473/getting-started-with-angularjs-unit-testing] to setup unit testing…
proggrock
  • 3,055
  • 5
  • 33
  • 49
15
votes
2 answers

Durandal and ASP.NET MVC conventions

I'm currently evaluating Durandal for use in an enterprise ASP.NET MVC application. However the default conventions used by Durandal seem to conflict with the MVC conventions I've grown accustomed to. The HotTowel MVC template by John Papa is…
Brett Postin
  • 10,721
  • 9
  • 58
  • 93
12
votes
6 answers

emberjs "loading screen" at the beginning

I don't know, if you have seen this demo-app yet: http://www.johnpapa.net/hottowel/ but once you start it, you see a really nice loading screen at the beginning like you would in any bigger desktop application/game. So I haven't had the chance to go…
Markus
  • 1,214
  • 1
  • 9
  • 27
11
votes
4 answers

ValidateAntiForgeryToken with SPA architecture

I am trying to set Register and Login for Hot Towel SPA applicantion. I have created SimpleMembershipFilters and ValidateHttpAntiForgeryTokenAttribute based on the asp.net single page application template. How do you get the …
11
votes
2 answers

Why does HotTowel include Breeze?

This may sound like a dumb question on the surface, but why does the Hot Towel SPA Template include Breeze at all? I've been spending the last few days learning Hot Towel and its dependencies, and as far as I can tell, nothing in the template…
Matt Johnson-Pint
  • 197,368
  • 66
  • 382
  • 508
10
votes
2 answers

Durandal Subrouting (Hottowel)

Basically, I am trying to create a menu inside a menu. So, within a main menu route, there will be a vertical menu with another set of routes. When clicking on the submenu routes, only a part of the page gets updated, and the vertical menu does…
LastTribunal
  • 5,105
  • 7
  • 31
  • 61
9
votes
5 answers

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory

After finishing the John Papa course on Pluralsight- which is AWESOME by the way!!!) I'm now creating my first SPA. I come from Desktop Application Developer background so excuse me if this question is newbie! When I load the SPA instead of seeing…
EdsonF
  • 2,329
  • 3
  • 27
  • 34
9
votes
3 answers

Integrate the koGrid with the Durandal/HotTowel template

I work on an asp.net solution with the Durandal template. I try to use the koGrid (https://github.com/Knockout-Contrib/KoGrid) which is compatible with knockout. When inserting this grid in a test page managed by Durandal, it doesn't work: the grid…
Bronzato
  • 9,152
  • 21
  • 106
  • 196
8
votes
2 answers

Version problems with deprecated methods on my Breeze scripts

When trying to implement the session part in the tutorial of John Papa Pluralsight Video. I got the following error: Uncaught TypeError: Object # has no method 'extendQ' (function () { 'use strict'; var app = angular.module('app', [ …
Leonardo Lobato
  • 875
  • 1
  • 8
  • 22
8
votes
1 answer

Durandal 2.0 - Child routers intended for nested menus?

I've building an app, and wanting to show a 2-tier menu, with both tiers always available. Durandal 2.0 introduced their new router, which supports 'child routers', which allow for easier deeplinking. My question - Can I have my 'child' navigation…
Overflew
  • 7,122
  • 8
  • 41
  • 63
8
votes
1 answer

HotTowel (Durandal really) and SignalR initialisation

So I'm integrating SignalR and HotTowel, although really I think this is a matter of how to integrate with Durandal itself. The issue is I have obviously multiple views. Some of these views I want to respond to SignalR messages. The question is…
Adam
  • 1,001
  • 1
  • 9
  • 24
7
votes
2 answers

Angular UI-Bootstrap dropdown button on ng-options

The code above obviously displays a basic dropdown in a standard form-control manner. I've been trying to figure out how to convert…
zpydee
  • 4,477
  • 4
  • 13
  • 18
7
votes
2 answers

How to use dropdowns for Durandal navigation?

I've just started working with Durandal and all the pieces are falling into place, and am using the Hot Towel template to speed things up. One thing that stumps me is how to create a more complex hierarchical navigation system than a buttongroup. …
Graham
  • 6,577
  • 17
  • 55
  • 76
7
votes
2 answers

Hot Towel/Durandal/Breeze.js: how to vertically secure data calls?

I'm new to the whole client-side SPA world. I'm using the above technologies, which seem quite promising. However, one huge snag that I can't get over easily is the lack of built-in security. I had to manually roll out the user authorization,…
Ali B
  • 1,047
  • 1
  • 13
  • 27
7
votes
3 answers

How to set up login view (user authentication) in SPA HotTowel template?

Some of the Single Page Application (SPA) templates in VS2012 MVC4 have built-in authentication. HotTowel SPA Template does not. What is the proper way to implement user authentication (login screen) in SPA HotTowel? HotTowel uses Durandal JS, so I…
mitaka
  • 2,069
  • 1
  • 27
  • 30
1
2 3
22 23