What is .Net, ASP.Net and MVC.Net ?

Hello.. !! After being a Software Developer for more than 1 year, got a brilliant doubt in my mind and  was actually confused with the terminology. 
Here is an interesting conversation

"Hey buddy, what technology you are working on ? "

"dot Net" 
"Oh, ASP.Net or MVC.Net ?" 
"Oops..!! Are they not same ?" 😕😕

So before writing a lot of code, this is the time we need to focus on what actually they are.




What is .Net ?


First let's hear from the inventors. According to Microsoft,

".NET is a free, cross-platform, open source developer platform for building many different types of applications.With .NET, you can use multiple languages, editors, and libraries to build for web, mobile, desktop, gaming, and IoT(Internet of Things)"


Yes, It is a platform where we can develop wide variety of applications like Self Contained(Desktop, Most famous Next˃ buttons to install the software), Web Applications(Host in server and access the services through HTTP/HTTPS protocols, Ex:https://midni8coder.blogspot.com/) and Games using languages  C#(C sharp .Net),Visual Basic(VB .Net) and F#(F sharp)


ASP.Net is a framework which is used to develop and host Web Applications.This framework has flavors called Web Forms and MVC.


What is ASP.Net Web Forms ?



A way of building a web application simply drag-and-drop method and can write dynamic code with Event Driven model. Event Driven Programming is simply taking the action on the web page and transmitting it into the server methods to Save or Get some data back to the page. This will be behind the scenes


                                               source:c-sharpcorner.com



What is ASP.Net MVC ?





MVC is a framework where we can have the modular programming by differentiating the exact responsibility of the components called View(User Interface. Ex:Online shopping page), Model(Data to be shown on the web page. Ex: Product Name,Brand, Price etc ), Controller(Application code to process the requests. Ex: Placing an order after payment).



                                            source:microsoft.com

So, here is the simple flow 


Controller will take the request, processes it and returns a View(page) with required Model(data)

Razor View Let's us to write a page with C# which can be converted into plain HTML code which can be understood by browsers.

Alright..!! We got a basic idea about .Net platform. So, we can continue the conversation and strongly say that "I am working on MVC.Net ". 

We will dig deeper into this in future. Keep visiting this page for more like this


Meanwhile you can visit below link to check best books available for ASP.NET MVC 
Preferred Books for ASP.NET MVC beginners

Thank you for your patience..!!! 

Comments

Post a Comment

Popular posts from this blog

Dependency Injection in C Sharp(C#)

ASP.NET Web API with C# - Implementing GET method and accessing in C#,JQuery