Questions tagged [hottowel]

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

hottowel
Filter by
Sorted by
Tagged with
0 votes
1 answer
243 views

Durandal routes to modules across domains

How can I define routes to modules sitting on different domains (or subdomains)? The idea is to componentize the UI and deploy to multiple Azure roles: Chrome/Shell app that holds navigation and ...
AndyV's user avatar
  • 398
0 votes
0 answers
240 views

breezeJS WebAPI and deploying to IIS dev server

I'm new to Breeze and webAPI for that matter. I have a hopefully simple problem - While working locally my project works fine, but after I deploy to my dev server running IIS 7, I can't seem to get ...
user1757494's user avatar
0 votes
2 answers
899 views

404 when access Breeze controller?

I created an Asp.Net MVC 5 project and then used NuGet to add hottowl (which includes Breeze). I have the following controller. [BreezeController] public class BreezeController : ApiController { ...
ca9163d9's user avatar
  • 28.3k
0 votes
1 answer
826 views

HotTowel - unable to upgrade to webapi 2 (vs2013)

I have upgraded to Visual Studio 2013, and naturally I wanted to upgrade HotTowel, Breeze and all the other friends to also support MVC5, WebApi2, EF6 etc. After a lot of back and forth, I have ...
Morten's user avatar
  • 339
1 vote
1 answer
357 views

What can cause HTML block elements to overlap?

I started an MVC4 SPA web application based on the Hot Towel template. I started cleaning out header and footer stuff that I didn't want. One of the things I removed was from the file app.css that ...
BlueMonkMN's user avatar
  • 25.4k
0 votes
1 answer
522 views

Where do child navigation options appear from Durandal's createChildRouter?

I am trying to figure out how to properly use createChildRouter. After going in circles for a day and a half trying to find code that will give me some results, I have settled for the moment on the ...
BlueMonkMN's user avatar
  • 25.4k
1 vote
1 answer
1k views

How to use Durandal's createChildRouter

I have struggled all day unable to figure out how to properly create a child router using Durandal in my hot towel-based (MVC4 SPA) project. This is what I have at the moment: shell.js var routes = [...
BlueMonkMN's user avatar
  • 25.4k
0 votes
2 answers
536 views

Breeze JS: Error on manager.fetchMetadata() after upgrading from 1.4.4 to 1.4.5 to support Entity Framework 6 model

I just upgraded Breeze (client and server) from 1.4.4 to 1.4.5. When I switched over to point to the server where Breeze is upgraded (using Breeze 1.4.5, Entity Framework 6, Web Api 2, MVC 5), I had ...
dlabarca's user avatar
  • 119
0 votes
1 answer
80 views

how can i optimize and bundling js files easiy of hot towel installed in asp.net mvc solution?

I have hot towel template installed inside my asp.net mvc project. how can i optimize and bundle the js files with .net optimizer dlls in the app folder so requirejs work as it is?
Kapil Garg's user avatar
  • 3,140
1 vote
2 answers
2k views

HotTowel EF6 MVC5 Angular Breeze version challenge

Is it Possible to Get HotTowel and EntityFramework 6 working together? Our DataAccess Layer was upgraded to EF6. The only reference we have to EntityFramework in the Web layer is the Web.Config &...
phil soady's user avatar
  • 11.2k
1 vote
1 answer
353 views

Combining jQuery UI and HotTowel

I'm getting back into web development a bit after having been kind of out of it for the past 10 years or so, and I'm overwhelmed by all the new technologies that I'm having to catch up with, ASP.NET, ...
BlueMonkMN's user avatar
  • 25.4k
1 vote
1 answer
141 views

Add image to navigation

Im using the hot towel template and I would like to add a different image for each navigation route. How would i accomplish this? At the moment its just using the same image. Here is my code for ...
Ricardo's user avatar
  • 127
1 vote
1 answer
594 views

is there an updated version for Hottowel.angular.breeze -pre install package?

i tried installing this package and got the following error. Install-Package : Updating 'Microsoft.AspNet.WebApi.OData 5.0.0' to 'Microsoft.AspNet.WebApi.OData 4.0.30506' failed. Unable to find a ...
Imanuel Gittens's user avatar
2 votes
2 answers
2k views

Durandal: Widget's activate callback not behaving like a regular viewmodel's callback

I have a widget that has a drop down list, that needs to be refreshed every time I go to the view. Is there a callback that I can use in the widget's viewmodel, that is called everytime the widget is ...
dlabarca's user avatar
  • 119
0 votes
2 answers
78 views

How to clear existing routes and push new routes

I use the following in Hot Towel SPA template for ASP.net MVC router.mapNav('home'); router.mapNav('register'); router.mapNav('login'); I wanted to clear the existing routes and push my new ...
Pradeep's user avatar
  • 4,752
1 vote
1 answer
746 views

hottowel nuget with entity framework 6?

I'm trying to get hottowel installed via nuget in my german visual studio 2013 mvc application. I get this error: Install-Package : Error during the update from "EntityFramework 6.0.1" auf "...
float's user avatar
  • 1,265
0 votes
1 answer
611 views

Knockout-sortable with Durandal compose

I'm attempting to create a view that contains a dynamic set of widgets (not actual durandal widgets) within it. Each widget is just a standard module that will have its own behavior and rendering, and ...
Pablo Romeo's user avatar
  • 11.3k
0 votes
1 answer
593 views

Breeze registerEntityTypeCtor not calling initializer

I'm going through John Papa's HotTowel tutorial and adapting it to my own data. I want to format a datetime field named startTime into a string formatted with moment, but the initializer function isn'...
Josh Bula's user avatar
  • 373
0 votes
1 answer
178 views

How to set currentUserId value in John Papa - CodeCamper SPA application

I have a question regarding CodeCamper app by John Papa. In the config.js file, the currentUserId value is hardcoded to 3. I want to set this value with the SQL employee table unique id after it has ...
user2807648's user avatar
8 votes
1 answer
6k views

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. ...
Overflew's user avatar
  • 8,022
0 votes
1 answer
105 views

Send records count from server to breeze when custom query is used

return Repository.Clients.OrderByDescending(cl => cl.ID).AsQueryable().Skip(startIndex).Take(pageSize); I am executing a custom breeze query in web api and want the total no of records fetched on ...
user2585299's user avatar
0 votes
1 answer
582 views

Fetching distinct values from a collection in knockout binding

<tbody data-bind="foreach: hearings"> <tr> <td data-bind="text: ID"></td> <td data-bind="foreach:Appeals"> <span data-...
user2585299's user avatar
2 votes
2 answers
663 views

Durandal 2.0 "routes"

I'm a Beginner trying to learn SPA / Durandal, Knockout etc... Need some help with my routes for a Admin drop down button. Here are my routes in the shell.js so far: var routes = [ { ...
Matthew Lor's user avatar
0 votes
2 answers
1k views

How to add web API to an existing MVC Hottowel project

I have one Hottowel project created using it's template from Visual Studio. I want to add the Web API feature in that project. I have created a Web Api controller to the controller folder and tries to ...
Pradeep's user avatar
  • 4,752
1 vote
1 answer
281 views

Constructing a Hot Towel Breeze API

I'm building a fairly basic CRUD app based on Hot Towel SPA. My plan is to use an ASP.NET web API to expose data to Breeze. Is that the correct architecture? At present I have four projects: ...
Ruminator's user avatar
  • 164
0 votes
1 answer
968 views

Visual Studio 2012 Hot towel template not working correctly

I am following this tutorial for getting started with Hot towel, I have installed the ASP.NET Web Tools 2012.2 update and have also downloaded and installed the VSIX for the Hot towel template, but ...
BruceHill's user avatar
  • 7,034
1 vote
1 answer
613 views

Breeze JS with Entity Framwork: Extending entity's properties on the server, and have them available on the client

I'm extending an entity from the entity framework by adding an extra property: Example: public partial class Product { public string DefaultProductCode { get; set; } I set this property with a ...
dlabarca's user avatar
  • 119
2 votes
2 answers
502 views

Hottowel or Kendoui SPA with kendo ui library?

I am planning to start a new project where i am planning to go for SPA route. As i am goint to use Kendo ui , I have two choices with me either to use Hottowel and use Architectural advice for a SPA ...
parth1729's user avatar
  • 125
2 votes
1 answer
1k views

Static module declaration using Durandal and Require

I'm using Durandal and Require for my SPA application. Also I'm using HotTowel template from John Papa. For my modules, I need some of them to be created per request and some of them to be singleton. ...
mehrandvd's user avatar
  • 9,036
1 vote
2 answers
4k views

Breeze JS: Is there a way to query entities from data.results?

I have a Breeze web api controller, with methods that accept parameters and do some work, filtering, sorting, etc, on the server. On the querySucceeded, I'd like to do further querying to data....
dlabarca's user avatar
  • 119
2 votes
1 answer
3k views

Conditional routing in Durandal

In my HotTowel based project, I'm using Durandal 1.1.1 for routing. I have a login route, which I want to activate if the user is not logged in. my route config is like: var routes = [ { url: '...
mehrandvd's user avatar
  • 9,036
2 votes
5 answers
670 views

Durandal SPA Taking Over Regular Website Routing

I'm building a plain old website that has a single page application in one of it's pages. There are other pages on the nav bar, such as Home, About, Blog, with my app being in Dashboard. After ...
Dragonseer's user avatar
  • 2,874
0 votes
1 answer
375 views

selenium dotnet tests from MSBuild in firefox fail

I try to execute a coded UI test (BrowserWindow.CurrentBrowser = "firefox";) from MSBuild but the "firefox" never launch and the build failed show the next error: Test method SolutionX.UITests....
kuskunko's user avatar
  • 330
0 votes
1 answer
910 views

How do I make the transition wait until my data is loaded before disappearing?

I'm using HotTowel/Durandal for an SPA. On my home page, I've got the normal entrance transition in my main.js: app.setRoot('viewmodels/shell', 'entrance'); This ends up routing to my home.js class....
taylonr's user avatar
  • 10.8k
0 votes
2 answers
573 views

Multi language support in Hot towel(Durandal framework)

I'm in the process of creating a application using Hot Towel, which supports multiple language (eg. english, french) I have the referred the following links Translating Views Durandal localization ...
Pandiyan Cool's user avatar
0 votes
1 answer
400 views

Architectural advice for a SPA ASP.NET application

I'm starting a new project, based on ASP.NET. The application will be a registry with a web interface. It will be used by ca 3000 users. It has been ca 4 years since I last started a new project so I'...
user315648's user avatar
  • 1,955
0 votes
0 answers
2k views

Dynamically load and render cshtml files and return in controller as html

I'm working on a large scale software which consists of about 300 projects written in C#. The software is working based on a framework and a WinForm based portal for UI. Our team is working to ...
mehrandvd's user avatar
  • 9,036
0 votes
0 answers
119 views

Keep geeting errors when I use razor views for the updated Hot Towel Template

I am using the upgraded version of Hot Towel template which has new versions of Durandal, Knockout, Breeze, etc. for a Single Page Application. This process works fine with the older version but not ...
dejobo's user avatar
  • 113
0 votes
1 answer
2k views

Closing Durandal modal

I have a Hottowel application and a Durandal modal dialog for creating a new entity. In it's viewmodel I have create and cancel functions, which both call close on success. The problem is that modal ...
Sljux's user avatar
  • 534
1 vote
1 answer
311 views

Is Duranda's compose a good replacement over knockout templates

In the first 'Code Camper' course by John Papa, there was using knockout templates like{control}.tmpl.html format. But in the next course 'Code Camper Jump Start', everywhere is using compose method ...
mehrandvd's user avatar
  • 9,036
1 vote
0 answers
85 views

jQuery.Mobile Styling Not Applied to Hot Towel Views

In a hot towel app, a <ul> list is styling correctly within index.cshtml, but not in any of the hot towel views: Steps to reproduce: Create a new MVC app using the hot towel template Add the ...
Bob Horn's user avatar
  • 33.9k
0 votes
1 answer
384 views

Hot Towel/Knockout.js - HTML Display issue with observableArray

I am working with the following objects/structure: Course, SubCategory, SubUniversity, Category, SubCategory, CourseSchedule. A course can have one and only one subcategory, but can be a part of ...
milestogofromhere's user avatar
10 votes
4 answers
23k views

How is it possible for the page source not to show what is on the page?

This is my web page: I'm trying to find out why my list isn't showing up correctly, but that's another post. To troubleshoot, I right-clicked on the page and chose View page source. As you can see ...
Bob Horn's user avatar
  • 33.9k
2 votes
1 answer
321 views

jQuery Mobile Autodivider Not Formatting Correctly - Using Hot Towel Views

I'm trying to get my list to look like this: But it looks like this: I've copied the code directly from the jQuery mobile site: <ul data-role="listview" data-autodividers="true" data-filter="...
Bob Horn's user avatar
  • 33.9k
3 votes
1 answer
289 views

Navigation Issue with Durandal

I'm using the hot towel template, and I'm trying to understand how to navigate to a different view via a javascript call. When my page loads, it looks like this: Then, if I click any other button, ...
Bob Horn's user avatar
  • 33.9k
2 votes
2 answers
4k views

Dropdown menu won't close

I tried this in a test page and it works fine. <div class="btn-group"> <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown"> Action <span class="...
Old Geezer's user avatar
  • 15.5k
0 votes
1 answer
701 views

metadata query failed for: api/breeze/metadata;Nan on server only. In hot towel application

I have developed one application in SPA using HotTowel. The application is running well on localhost. But When I uploaded on IIS server. It showing following error: "metadata query failed for: api/...
user1755390's user avatar
2 votes
1 answer
2k views

ko commands Embedded in comment tags?

I am trying to understand HotTowel more. In ~/App/views/shell.html, it contains: <header> <!--ko compose: {view: 'nav'} --><!--/ko--> </header> Are ko commands embedded ...
Old Geezer's user avatar
  • 15.5k
0 votes
1 answer
52 views

What's needed to add knockout.js to HotTowel?

I have a project in VS 2012 using MVC4 and the HotTowel template. I tried replacing details.html and details.js with the Hello World sample at http://knockoutjs.com/examples/helloWorld.html. So ...
Old Geezer's user avatar
  • 15.5k
0 votes
1 answer
142 views

Sharing html files in Hot Towel Template similar to partial views in MVC application

I am using Hot Towel template with knockout data binding. I have certain HTML that I know is going to be used at several places in my application. Is it possible to share my HTML files similar to ...
user2585299's user avatar

1 2 3
4
5
7