SPA - Single Page Application Framework with Javascript

How can we improve ASP.NET SPA - Single Page Application Framework with Javascript

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can vote and comment on it.

If it doesn't exist, you can post your idea so others can vote on it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Please add the concept of Modularity to build larger Applications

    As shown in Project Silk (Microsoft P&P) Modularity is very important in SPA as an Project grows larger an many people are working on it.
    An example for this is to structure your SPA with CommonJS Modules oder require.js.
    How can this be done in an SPA with knockout etc.?
    How should the modules communicate with each other? (Pub/Sub, Eventing etc?)
    Who manages different modules that are tied to different logical pages in the (technical) SINGLE Page?

    92 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      1 comment  ·  Flag idea as inappropriate…  ·  Admin →

      Prescriptive guidance is in the works for the next version of the web tools. There will likely be project templates, snippets, item templates etc. for proper modularize Angular/KO/Ember/etc. apps. Point is, this is being actively looked into right now

    • Offline Support for Single Page Application templates on mobile devices

      Steve Sanderson presented MVC 4 SPA "Delivery Trucker" for mobile devices with offline support using upshot.js JavaScript framework.
      http://channel9.msdn.com/Events/TechDays/TechDays-2012-Belgium/199
      It seems that the MVC team dropped support for upshot.js
      It would be really helpful if the MVC team provides support for Single Page Applications (SPAs) templates running on mobile devices offline.
      Example: MVC4 SPAs application is running on a smart phone. The phone might lose reception. SPA is using the HTML5 offline storage to save data changes when offline. MVC team supported JavaScript framework will detect when the mobile device is back online and synchronize the changes from the HTML5…

      43 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
      • Less Abstraction

        There is too much abstraction going on at the server side code. Please refer to this post for further information: http://forums.asp.net/t/1772721.aspx/1?upshot+metadata+and+DbDataController+generic+controller

        42 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • Support AngularJS

          Would be good if the SPA template could support AngularJS as well as KnockoutJS. Or perhaps a separate template makes more sense.

          30 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            4 comments  ·  Flag idea as inappropriate…  ·  Admin →
          • Improve support for Durandal

            Improvemnts shipped with VS 2013 Update 2 CTP 2 are great, but It would be even better if I could omit ko-vs-editor and specify it globaly as a function. That could provide me ability to write function that based on file name and durandal convention returns correct ViewModel.

            28 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              1 comment  ·  Flag idea as inappropriate…  ·  Admin →
            • Better integration with ASP.NET MVC

              SPA templates released in WebTools 2012.2 are very primitive or based on WebAPI. It would be nice to know:

              1. How can we write SPA that use Durandal and Mvc/Razor together (with optimization)?
              2. How to manage with validation on client-side. You should provide ability to generate client-side validation like in MVC.
              3. How to restrict access to specified views like in traditional web applications.
              4. Both SPA and HotTowel templates are CRUD application. Provide sample that are more Task based UI.

              27 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Please give guidance how to measure performance and bottlenecks

                SPA have many advantages. But since the page technically doesn't change issues like Objects on the heap, memory leaks, performance of data-binding etc. now have an greater effect in runtime.
                How can this be tested or measured? Are there any best-practices in this environment? Are there any profiling tools (in Visual Studio)?

                19 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • One single framework which has all features needed.

                  Too many framework and tools are making life difficult of developers. Atleast for .NET Developers there should be singe framework from microsoft which is sufficient in most of the cases. It should have rich UI controls, support patterns (MVVM / MVC/ DI /Modularity), navigation, unit testing. asyn/parallel WebAPI calls, input validation, security, styling...

                  18 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    1 comment  ·  Flag idea as inappropriate…  ·  Admin →

                    Microsoft will not provide a brand new JavaScript framework to do all this. Instead, we’re going to create targeted tooling around industry standards and popular frameworks such as AngularJS and Bootstrap. All this will be fully compatible with WebAPI and new Razor tooling.

                  • Don't see your idea?

                  SPA - Single Page Application Framework with Javascript

                  Feedback and Knowledge Base