When we look around in today's world, what we see is devices all around. Devices from mobiles to tablets to computers surround us and now the world is talking about internet of things. IOT means communicating between devices where each device will provide some relevant information to other so as to provide a customer with highest level of service. Example can be a Phone providing information about the user reaching home in around 10 minutes so that the AC can switch-on itself.
So here, when we can speak about communication or talk about internet and with internet; comes a world that suddenly seems much smaller than it is. Websites and applications are the main medium/interface using which people share and get information with each other. So how do this happen? To make a website we need a platform that is robust and reliable enough to handle huge traffic (people coming in to view website), should deliver better performance, provide enterprise level security and importantly should have minimal up time(time from development to production).
What to choose and why?
Important question that comes into picture now is what should be used to build such an application. There are various technologies like Java, Php, Python, and Node.js to name a few. So what is the advantage of using .net over them? Main advantage of using ASP.NET is the time that it takes to build an application from on paper to the actual server. It is far less than that of java. Then comes the fact that we can use any language from C#, F#, C to C++ to build components all the languages mentioned are compiled languages which gives us an advantage over interpreter languages like Python, JavaScript (nodejs), etc. Yes, there are compliers that are built to compile languages like Python but the ASP.NET supports concurrency and asynchronous pattern, which gives it an advantage over interpreted languages. Then comes the enterprise level support that it has due to vast experience of over 12 years in enterprise industry. In addition, another fact is that ASP.NET has a good set of stable plugin's and CMS's built around it, which helps us build enterprise solutions at rapid speed.
ASP.NET is a framework that has evolved over the time. Its major breaking change was when it started supporting MVC. This pattern allowed .Net to dump the old page life cycle pattern, which at times caused hindrances and also performance issues as for every click or a postback whole page life cycle events used to get executed. Also as the time passed the processing power of the machines improved. Now the client side scripts play a major role when architecting a solution as they help reduce the load of the server to a good extent as all the rendering logic is handled/processed by the client machine. Also there are various plugins developed in JavaScript that handle graphics and animations like pro. This gives a website a good look and feel and also since they are handled at client end they help the server to focus on processing the actual business logic.
The MVC architecture
MVC architecture is loosely coupled. This means that the server is only concerned about the data that it needs to send to client and then its client's responsibility to handle that, as it wants. Hence, every single entity has a predefined role. One more advantage of this is that anytime we can replace the whole entity without even disturbing the other. Example: Suppose we have used Jquery to handle the rendering logic of the webpage but then later we found that React or Angular serve the purpose better so we can easily replace the client side logic with ours and it will not require a single code change at server logic. Since the server, side is just concerned about the data that the client passes it to process and the data that it needs to send.
MVC also had its own demerits even though it is a great architecture. Now with the evolution of MVC6 most of the demerits that MVC5 had are resolved the architecture is further enhanced to improve the performance and stability of the application that is built. MVC6 along with ASPNET 5 has taken a pick from best of various other technologies like Python, Nodejs so that it can provide a one-stop solution to the problems in hand.
The major advantages of MVC6 are as follows:
Apart from the features mentioned above there are also list of features that are currently in process, hence will update the article as and when they come into picture. Also there is some document management like library that is built which is taken as a reference from python.
Nikunj Bhanushali is associated with Cogzie as Sales & Operations head and who loves sharing information regarding ASP.NET, MVC, HTML5 and JS Angular. Get in touch with him for MVC Application Development.
![]() |
|
By Nikunj Bhanushali On 01 May, 15 Viewed: 943 |
MVC Searh page with pagination: It’s very easy to create a search page in asp.net but when I try to create the same in MVC I faced many problems, how to create model, how to keep searched values in search controls, pagination, I found myself nowhere, so start searching for some good examples but... By Ali Adravi On 25 Aug 2013 Viewed: 40,117
CRUD (Create, Retrieve, Update and Delete) in MVC. When we start to learn new language, first we try to run an application with “Hello World” and then CRUD functionality. So in this article we will see how to select records from database (with WebGrid, pagination and sort functionality), update a... By Ali Adravi On 17 Aug 2013 Viewed: 105,948
Sometimes we need a thanks page say we have user registration, change password, activate account functionality in our application then we need a thanks page after registering with our site, to say thanks for registering with us or showing confirmation that your password is successfully changed or... By Hamden On 30 Jun 2013 Viewed: 3,738
In MVC, autocomplete with jquery is the best way to pull data from database and render according to our requirements, so in this article we will use jquery to show the auto complete text box without any ajax controls. We need a method to get the data from database, a controller method to handle the... By Ali Adravi On 29 Jun 2013 Viewed: 6,997
Upload multiple files with model data in MVC is really very easy, when I started to test by uploading some files, I though it would be more complicated but it is really not. In my previous post [ASP.Net MVC file upload][1], I promised to post soon about how to upload multiple files. When I was... By Ali Adravi On 04 Jun 2013 Viewed: 25,493