Questions tagged [spa-template]

16 questions
8
votes
3 answers

Error on Typescript instruction: "Breakpoints set but not yet bound" in VS2017

I create a project with "dotnet new angular". When a breakpoint is set on a Typescript instruction, it shows as a open red circle when run. The error message is "The breakpoint will not currently be hit. Breakpoints set but not yet bound." This…
8
votes
4 answers

Visual Studio 2017 Angular 4 Templates

I am looking for a good Angular 4 template for Visual Studio 2017. Or what is the best template to use and the way to proceed? This will be for a Angular 4 SPA web page.
Adam
  • 497
  • 2
  • 9
  • 29
7
votes
2 answers

count of cookies is zero after page refresh and angular routing with url rewrite

I am using angular Spa template with .net core 2.0 and angular 4. I am getting zero count of cookies after page refresh. and in fact I am not getting anything in HttpContext after page gets refreshed. Here is my cookie in browser. it's working fine…
Bharat
  • 5,869
  • 4
  • 38
  • 58
5
votes
1 answer

ASP.NET Core 3 React SPA Template - Set AccessTokenLifetime

I'm using the latest react SPA .NET Core 3 template and wondering is there a way to set the "AccessTokenLifetime" for a client, where obviously that client is my SPA. I've been looking here…
Andrew Duffy
  • 795
  • 2
  • 17
  • 37
5
votes
2 answers

Passing Data from ASP.NET Core to Typescript in Angular Cli-based App

I am trying to setup a SPA where I can pass data from my appsettings.json to my clientside on server render. I followed the steps to configure SSR using the new SpaServices Templates https://learn.microsoft.com/en-us/aspnet/core/spa/angular However…
4
votes
0 answers

404 Error for static files, aspnet core AddSpaStaticFiles roothpath, SPA Template

I've created a react project using asp.net core react spa template. Everything seems to be fine, but when I deployed the application in IIS, it is deployed as an application under the default website. When I try to access the site, the index file is…
3
votes
1 answer

visual studio 2017 spa templates vue js missing

I can see that lot of examples of Spa templates dotnet new --install Microsoft.AspNetCore.SpaTemplates::* does have VueJs but when I install it I can't seem to see it on the list even with -l parameter. does anyone know what is up with this…
2
votes
2 answers

404 on "Fetch data" in .net core spa template app when using proxy development server

I created an angular project using the .NET core 2.2 and the spa template. I changed startup.cs to use a proxy development server when serving angular, so I could start my server and my client code independently. I am using .net core 2.2…
user3538411
  • 338
  • 4
  • 15
1
vote
2 answers

MVC null route ID takes me to spa(angular) rather than returning a bad request

I've been searching for this question for a while but have yet to find an answer. In a nutshell, I have a .net core web application using the angular spa template. I have multiple controllers that act as APIs and in general everything works fine. …
Drew
  • 23
  • 8
1
vote
1 answer

.net core angular spa templates with IdentityServer

I'm using this template: SPA Template And I want to understand how I can change layout of user registration and user login ? Thanks and Regards, Danijel
Danijel Boksan
  • 779
  • 1
  • 13
  • 30
1
vote
1 answer

Vue.js component only rendering after saving the template in asp.net core

I've set up a new vue.js template from Microsoft.AspNetCore.SpaTemplates and added a new controller and route to get a feeling for how it all works. My problem is that the component I have added is not rendering at all. The console shows the…
Erik
  • 417
  • 4
  • 14
1
vote
0 answers

Aspnet Angular SPA template not working after updating to angular 5

I have updated aspnet JavaScriptServices angular template to Angular 5.0.2 everything looks fine but when it published i'm getting following error Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0] An unhandled exception has occurred:…
Chamika Sandamal
  • 23,565
  • 5
  • 63
  • 86
0
votes
1 answer

ASP.NET Core MVC + Angular SPA Template + Docker Support: Changing html content does not refresh live on the browser

Scenario: I created an ASP.NET Core 2.1 project in Visual Studio 2017. I selected the Angular SPA template and then added Docker Orchestration Support. Expected Result: When running the application in debug mode in a container, I expect the changes…
0
votes
0 answers

NodeInvocationException: The Node invocation timed out after 60000ms

I have an asp.net core web application with angular 5. In my repository layer I have a simple linq query that get data from a table. every thing works well till I change the query and join it to another entity to fetch data from two table. the join…
0
votes
1 answer

React and Angular templates missing in 'dotnet new' command

In Visual Studio Code I ran dotnet new --install Microsoft.AspNetCore.SpaTemplates::* Somehow the templates 'react', 'reactredux' and 'angular' are missing. (They are also missing when running the above command in my Powershell window) How come? I…
Ole EH Dufour
  • 2,968
  • 4
  • 23
  • 48
1
2