The main purpose of "Dot Net Labs" provide the dot net program. You can learn dot net, .Net Core, C#, SQL, Linq step-by-step.

Sunday 30 August 2020

How to install Visual Studio 2017


Hello Friends, Here we will learn how to install visual studio 2017. Visual Studio has a complete set of development kit that allows you to develop Web-based apps, Windows Apps, Mobile Apps, Services, and other components in various languages like C#, Visual C++, Visual Basic, F#, etc.

Here we are going to install visual studio 2017 but we can use MVC 5 in Visual Studio 2013/2015.


System Requirement:


  • OS: Windows 7 (Service Pack 1) or higher (Windows 10 Recommended) 
  • Processor: 1.8GHz or higher (Dual Core Recommended) 
  • RAM: 2GB (4GB Recommended) Hard Disk: Minimum 20GB


Download:


Downloading Page: https://visualstudio.microsoft.com/vs/older-downloads/


Installation:


Step 1: Double click on downloaded Installer vs_Community.exe

Step 2: Click the Continue button to accept Microsoft License.

Step 3: Select workload, which you want.

Step 4: After selecting workloads click Install button.

Step 5: In the next screen, you will see the installation progress bar.

Step 6: Click Launch button to open Visual Studio 2017.


Thanks for reading this blog. We will learn how to create MVC 5 application.


Introduction to MVC and Asp.Net MVC 5


Hello Friends, Here we will learn what is MVC and Asp.net MVC. We will learn with pictures and simple ways so that you can understand the real use of MVC.

What is MVC?

MVC is Model View Controller.
MVC is a design pattern.
MVC pattern is used for building Web, Mobile, Desktop application, etc.
MVC is used by all the technologies like Java, .Net, PHP, Angular, etc.

See the below picture to understand MVC

MVC


To learn MVC we need to understand coupling, without couplings we can't understand MVC so see to following two types of coupling

  • Tightly Coupled
  • Loosely Coupled

Tightly Coupled: It means classes and objects are dependent on one another. 

Drawback

  • Reduces the flexibility of the code.
  • Re-usability of the code.

                              Example

  • Asp.Net is web forms is tightly coupled.


Loosely Coupled: It means reducing the dependencies of a class. we can make a separate class that uses different classes directly.

Real-Life Example


MVC stands for Model View Controller. It has different three logins. Now we will try to learn Model, View, Controller in detail. 


Model: 

The model is the c# class.

Perform the database operation like - update, delete, etc.

Business Logic.


View:

The view is the graphic user interface in which the user can interact with system ex- Html, CSS, bootstrap.

Presentation Login.


Controller:

Controllers are classes in c# which handles browser requests.

Mediator Between Model and View.

Get the data from Database.


What is Asp.Net MVC?

ASP.NET MVC is a lightweight, fast, secure, and highly testable framework that integrates existing ASP.NET features.

Asp.net MVC is based on MVC design pattern.

Asp.net MVC is used for web development.

Benefits:

  • Enables the full control over the rendered HTML.
  • Provides clean separation of concerns(SoC).
  • Enables Test Driven Development (TDD).
  • Easy integration with JavaScript frameworks.
  • Following the design of stateless nature of the web.
  • RESTful urls that enables SEO.
  • No ViewState and PostBack events.


Thanks for reading this blog. We will learn how to set up the environment for Asp.Net MVC 5.

Popular Posts