Questions tagged [asp.net-spa]

ASP.NET Single Page Application (SPA) helps you build ASP.NET MVC applications that include significant client-side interactions using JavaScript.

ASP.NET Single Page Application (SPA) helps you build ASP.NET MVC applications that include significant client-side interactions using JavaScript.

A preview of ASP.NET SPA shipped with the ASP.NET MVC 4 Beta release, current development effort can be followed on the ASP.NET CodePlex site:

35 questions
1
vote
1 answer

Single Page Application ASP.NET MVC 4 Authorization

Single Application Page Asp.net MVC 4 temlplate uses default database to check Login and Register but I want to use my existing database in my SPA application. There are some table to store info like default database and some table to store other…
1
vote
1 answer

ASP.NET SPA with a legacy domain objects

Looking at the Single page application beta in the MVC 4 I don't see how I can use my legacy domain objects as the model. It seems to require that the model use the entity framework to using DbDataController to get the data etc. I do not understand…
1
vote
0 answers

ASP.NET Core with React.js Template targeting .NET 6 - Trouble accessing wwwroot files when scaffolding Identity

I'm currently having troubles with how the new template for 'ASP.NET Core with React.js' using .NET 6 as the target framework accesses the wwwroot folder when using individual account authentication, and scaffolding the Identity pages down. ASP.NET…
1
vote
1 answer

Configuring public route in ASP.NET Core SPA app

I've created an ASP.NET Core 2.1 SPA app using the built-in React/Redux template which configures everything pretty nicely. My app requires authentication and because it's a SPA app, I want to keep my authentication options pretty simple so I…
Sam
  • 26,817
  • 58
  • 206
  • 383
1
vote
0 answers

exception occurred in Microsoft SPA template for react-redux when using material-ui

I generated Microsoft reactredux SPA template with dotnet new command. And tried to use material-ui. If I only wrap my application with MuiThemeProvider and don't implement any component application works. When I try to use any component from…
rpk
  • 336
  • 1
  • 6
  • 15
1
vote
2 answers

How to handle password reset token flow in ASP.NET webapi with SPA

I have an API that is ASP.NET webapi2. Not .NET Core. Then I have a React SPA. I'm using Identity and Oauth2. I'm implementing the auth system and the password reset flow has me a little stumped. The API will generate a token that is emailed to the…
1
vote
1 answer

Visual Studio 2013 SPA Template Javascript documentation

Does anyone know of any documentation or worked examples of building on the Visual Studio 2013 SPA template (as of Jan 2014)? I am particularly interested in the general architecture of the Javascript code, how this is structured the changes needed…
PhilDotC
  • 35
  • 7
1
vote
2 answers

Multiple ViewModels with Knockout and ASP.NET MVC4 SPA

I'm new to ASP.NET MVC SPA and Knockout.js os maybe it's a simple mistake I made... Situation: I have two partialviews in my website and I want that every partialview has his own Knockout ViewModel so I won't get a huge ViewModel. My current…
1
vote
1 answer

Effects of MVC SPA being removed

I am currently working on a tool and writing it in MVC SPA (single page application) and just now found out it was removed from the final release. What does that means to my project. do i have to stop working and move to MVC Internet application. I…
Ajax3.14
  • 1,647
  • 5
  • 24
  • 42
1
vote
2 answers

MVC 4 Single Page Application - Where's the data go?

I just created an ASP.NET MVC 4 single page application using the template. Out of the box it appears to be able to persist and retrieve data. But I can't work out where this data is going. I haven't set up a database or anything. public void…
Michael
  • 91
  • 1
  • 9
0
votes
2 answers

Visual Studio 2010 freezes when creating new SPA controller

I've just started using the new ASP.NET MVC 4 Beta stuff and whenever I try to create a new controller VS2010 freezes, anyone else having this problem?
Ryan
  • 4,354
  • 2
  • 42
  • 78
0
votes
0 answers

ASP.Net Core SPA / Kestrel is not serving static content for Identity UI in production (Azure Web Apps Linux)

I've started from the default react template for Asp.Net Core 6. Changed the ApplicationUser default key. Tinkered a bit the Program.cs - everything else is the same as in the default template. builder.Services.AddIdentity
Ion Ciobanu
  • 506
  • 4
  • 13
0
votes
1 answer

.Net Core 3.1 SPA authorize failed

I'm having issue to call authorize api from react SPA. It's working if removed the [Authorize] attribute in the controller/action, but once added in the attribute, the response goes to SPA home page. Project Structure IdentityServer (.net core 3.1…
Kelvin Go
  • 84
  • 1
  • 10
0
votes
1 answer

how to serve asp.net core Angular SPA over HTTP POST

I am trying to develop an LTI tool using asp.net core and its Angular SPA template. A Learning Management System could use my tool (which is a web app) by embedding an i-frame of it inside their website, and they do so by using an HTTP POST request…
Tal Abziz
  • 89
  • 1
  • 4
0
votes
1 answer

AngularJS reading parameters from url with hash

I am using ASP.NET SPA template, but remaking it to work with AngularJS instead of KnockoutJS. The thing, I have trouble with, is with authorization access token. By default in this template, authorization access token is retrieved, by redirecting…
Wish
  • 1,594
  • 1
  • 18
  • 36