ASP.NET + SPA

Sign in to queue

Description

Steve Sanderson demonstrates some prototypes for single page application development with ASP.NET 5, including a new Node Services NuGet package that allows for leveraging Node-based tools within an ASP.NET application. He shows off some interesting demos showing server-side rendering for Angular and React applications as well as the use of Babel for transpilation.

Day:

2

Embed

Download

Download this episode

The Discussion

  • User profile image
    Manuel Patrone

    OUTSTANDING!
    Now, I wish that there will be a NodeServices.Aurelia also....

  • User profile image
    Rem

    Great and excitement talk! Steven mentioned about publishing MusicStore SPA NG2 sample project. Where can we see it?

  • User profile image
    Manuel

    Very nice Steve!
    Where can i show the spa code?
    Greets

  • User profile image
    zoidberg

    Nice presentation. 

    But let's face it: ASP.NET becomes a middleware/wrapper to node.js. Then why not just use node.js directly? Of course ASP.NET still does do many other things. But it will fade away.

    Realtime applications? No need for stuff as EF and SignalR. Just take Firebase. It can't be easier. Also from a cost perspective it's much more cheaper. CDN, SSL etc, all included for nearly nothing compared to the freaking expensive Azure Services.

    The last thing which misses in my stack is a relational realtime database - sort of SQL Firebase.

    I switched from the microsoft stack lately because of Azure cost explosion and have to say that the alternative stack isn't only much cheaper. It's also faster and more productive.

    Nevertheless a good talk.

  • User profile image
    sravikiran

    Code of the sample MusicStore application can be found in ASP.NET's GitHub account: https://github.com/aspnet/NodeServices/tree/master/samples

  • User profile image
    scyonx

    Hey Steve... so whats happening with KnockoutJS. That's that was used in the Azure portal no ?

  • User profile image
    Sirwan

    Great presentation! Thanks Steve, It was suppose to publish MusicStore source code :D

  • User profile image
    brad1825

    YES, make this happen!  
    Wow, that was just as amazing as Steve's knockout presentation from Mix all those years ago.

  • User profile image
    Bill

    Second the NodeServices.Aurelia request

  • User profile image
    Mihai

    It's like Christmas came earlier this year!

  • User profile image
    jlarue

    The concept of Isomorphic design and wrapping many SPA's within a bunch of Razor templates is the way to load and build the SPA within the client.  Excellent concept!

    I am having a lot of issues trying to build and run sample MusicStore application, lots of exceptions.   Running VS 2015, latest version of NodeJS.

  • User profile image
    glen84

    +1 for Aurelia integration.

  • User profile image
    RyanCEI

    Absolutely amazing!  And +1 for Aurelia as well as Angular 2.

  • User profile image
    brandonseyd​el

    @Manuel Patrone:Don't worry they are working in it. :)

  • User profile image
    Michael Ganesan

    You are spot on when you stated that many of the templates in asp.net is really outdated. I have never used any of the stock templates. I am glad you are attempting to update the templates. Rendering client side code on the server is a great addition to speed up the rendering. Great presentation!

  • User profile image
    stephenlaut​ier

    +1 for Aurelia!

  • User profile image
    alvipeo

    I'm completely sold on Angular2! With that kind of support from ASP.NET! And I have looked at react, cycle, yolk.

  • User profile image
    Beginner

    excellent.Steve,you are a good speakman

  • User profile image
    WiepCorbier

    So, you invented the wheel...great.

  • User profile image
    Konstantin Triger

    Are there any plans to make ASP.NET a platform for Cordova Services? And generally, I'd like to run your stuff as a gulp task.

    Regarding the API:
    ViewData["ReactOutput"] = await ReactRenderer.RenderToString(...);
    return View();

    Looks more like a workaround than an intended solution. ReactRenderer should BE the renderer (or something like NodeRenderer<React>).

    Back to the gulp tasks, I'd like to have 2 types: one calling any view engine (razor, node...) and another invoking full stack, including controller. If you can host node.js, why not host dnx as well?

  • User profile image
    jomit

    Very interesting. Still wondering what's the real value add of ASP.net in this architecture. Also, would love to see Aurelia in the list.

  • User profile image
    Soren Hoyer Kristensen

    Great video!
    And +1 for NodeServices.Aurelia! :-)

Add Your 2 Cents