Sign in to queue


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.





Right click to download this episode

The Discussion

  • User profile image
    Manuel Patrone

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

  • User profile image

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

  • User profile image

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

  • User profile image

    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

    Code of the sample MusicStore application can be found in ASP.NET's GitHub account:

  • User profile image

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

  • User profile image

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

  • User profile image

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

  • User profile image

    Second the NodeServices.Aurelia request

  • User profile image

    It's like Christmas came earlier this year!

  • User profile image

    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

    +1 for Aurelia integration.

  • User profile image

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

  • User profile image

    @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 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

    +1 for Aurelia!

  • User profile image

    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

    excellent.Steve,you are a good speakman

  • User profile image

    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

    Very interesting. Still wondering what's the real value add of 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