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
51
votes
4 answers

Where can I find Upshot.js examples and documentation?

Steve Sanderson gave a very interesting presentations at Techdays 2012 in the Netherlands. In one of them he presented a library that he used for client-server communication in MVC application: Upshot. I was really amazed how easy it was to use it,…
Michal B.
  • 5,676
  • 6
  • 42
  • 70
16
votes
3 answers

Single Page Application Authentication

My company is re-writing its e-commerce site as a single page application using the new Web API / SPA features in MVC 4. We're not sure about the best way how to handle authentication. Specific questions: How do we handle both encrypted and…
10
votes
3 answers

Missing Single Page Application template in MVC4 RC

When I installed MVC4 beta on a development PC, it had a template for SPA (Single Page Application). Today on a different PC with the same setup (VS2010 SP1, win7), I installed MVC4 RC but no longer is the SPA template available (see image). Any…
mateuscb
  • 10,150
  • 3
  • 52
  • 76
9
votes
1 answer

MVC 4 SPA (Single Page Application) clarification

I've been reading a MVC 4 SPA at http://www.asp.net/single-page-application/an-introduction-to-spa. Even after reading I'm bit unclear on what scenario should I use SPA. By looking at few examples on above link, looks like the Controllers remain the…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
8
votes
4 answers

MVC 4 Single Page Application and DateTime

While playing around with MVC 4's new single page application tooling, I noticed that none of the examples I have found contains an example of a DateTime being updated back through the WebApi. I soon found out why. I started by generating the…
Brian McCord
  • 4,943
  • 7
  • 32
  • 44
5
votes
1 answer

.NET Core WebAPI VueJS template publish issue

I'm trying out the "VueJS with Asp.Net Core 3.1 Web API Template" found here and it works quite smooth during development. However, I've wanted to see how it handles publishing and I can't manage to get it working. When running publish to folder, it…
Mikkel
  • 1,853
  • 1
  • 15
  • 31
4
votes
1 answer

Migrate Existing Web Form Application to ASP.Net MVC Single Page Application

I have an application which is built in ASP.Net WebForms and Silverlight. There is another WCF services application which is accessed by silverlight part of my application. Now I have to Re create the whole application in an MVC Single Page…
Habib
  • 300
  • 2
  • 14
3
votes
0 answers

Cannot publish ASP.Net Core SPA application outside working project directory

I'm building an application using Angular & ASP.Net. I have used ASP.Net Core & Angular web template (included in Visual Studio). However, my front-end source code is not placed in ClientApp folder as the template defined (because of the requirement…
Redplane
  • 2,971
  • 4
  • 30
  • 59
3
votes
1 answer

How to return an error on an invalid api request, using ASP.Net Core 3, SPA app

I am using a SPA (React) app in ASP.Net Core 3. What is happening is any request will first go to the back end and allow .Net to try and route it, if no route is found, it returns index.html and assumes that the SPA can handle routing. Most the time…
JonathanPeel
  • 743
  • 1
  • 7
  • 19
3
votes
0 answers

ASP.Net SPA Project Template 2.0.0 does not have aspnet-webpack module

I'm migrating my ASP.Net Core Angular project to use Microsoft.DotNet.Web.Spa.ProjectTemplates 2.0.0, which uses Angular 5. When running on Development Mode, I get an error…
Jonas Arcangel
  • 2,085
  • 11
  • 55
  • 85
2
votes
3 answers

Aurelia + Asp.net Web Api + Typescript + JSPM

I have created an ASP.net MVC WebApi 2 project using Visual Studio Asp.Net SPA project template and installed Aurelia into the root folder by running the following jspm commands. I have selected TypeScript as a transpiler. jspm init jspm install…
Rahul
  • 2,431
  • 3
  • 35
  • 77
2
votes
2 answers

Breeze, createEntity

Im using Breeze in my ASP.NET WebAPI Project, I have added the breezecontroller [BreezeController] public class BreezeController : ApiController { readonly EFContextProvider _context = new…
Mettlus Shaw
  • 69
  • 3
  • 5
2
votes
2 answers

Upshot helper extension using Linq To Sql

This is my first question on SO, so please bear with any mistakes/irregularities. I wanted to implement SPA for my new project, Hence I reached Steve Sandersion's after some googling blog. Looking at the code hosted on github, I noticed that I had…
dicemaster
  • 1,203
  • 10
  • 22
2
votes
1 answer

ASP.NET SPA as an alternative for Silverlight?

I am a massive Silverlight user. Since I started to realize that sooner or later Silverlight is gonna die (there is not going to be a SL 6 from what I heard), I'm starting to sniff around for an alternative technology. I need a fluid responsive UI…
2
votes
2 answers

Concerns about ASP.NET SPA(Single Page Application)

Here is my knowing about ASP.NET SPA: have to use Upshot to talk to the server; have to use DbDataController to provide Web APIs; have to use Entity Framework Code first... so, many concerns come out: have to provide metadata for the upshot to…
1
2 3