I want to create a Asp.NET MVC SPA application using .net , jquery, javascript. These technology stack is fine to create a SPA application or i must use knockout or ember or angular in my SPA Application?
-
Although possible this is a bad idea. The frameworks exist and are used routinely because it allows you to focus on building your application. Rather than rebuilding all the backend systems and services that are provided by large organisations and teams who's sole purpose to exist, is to do this work for you.mikeswright49– mikeswright492015-07-20 14:48:05 +00:00Commented Jul 20, 2015 at 14:48
Add a comment
|
2 Answers
For SPA, you should choose a JavaScript framework such as Angular, Aurelia or any other. If you use jQuery, you can still create a SPA but it requires a lot of plumbing. Also, its harder to maintain application state using jQuery.
2 Comments
user5050407
So it is not possible to create SPA , just using Asp.Net MVC & Jquery/Javascript. We need some third party framework like angular or knockout.js?
Ajay Kumar
Its possible to create a SPA just using Asp.Net MVC & Jquery/Javascript but you will face a very high difficulty level You need to manually handle the application state, routing and maintaining the browser history is very cumbersome. Using a javascript framework will reduce this difficulty level to very low. You can focus more on your business logic rather than creating a SPA framework with jQuery.
Yes. it is possible to make single page application in asp.net core without using any third party javascript framework.
Check this nuget Package : https://www.nuget.org/packages/AjaxSpaMvcCore/
Github Repository : https://github.com/KishorNaik/Sol_Ajax_Spa_MVC_Core