Skip to main content

Posts

Showing posts with the label Visual Studio Community

ASP.NET MVC 5 (Part 3)

In this tutorial, we will discuss the " View" and "Model" part from the MVC framework.  As we already knew, a model class does not depend on the controller and view classes. Model class represents the data of the application.  Public properties of model classes hold the data. All model classes reside in the Model folder. Let's see how to add a model class in MVC Project.  Model Let's add a model class in the project MVCProject which we have created in my previous article  ASP.NET MVC 5 (Part 1) .Right-click on the  Models  Folder and click  Add->Class. In the  Add New Item  dialogue, Enter the class name  "Student"  and click the Add button.    Add properties which will hold the student information. So, this is our model class. Let's discuss "View" part of the  MVC . View A view is a user interface. view display data from the m...

A Beginner's Tutorial for Understanding Windows Communication Foundation (WCF)

In this article, we will create a WCF service. Firstly, we will discuss some basics understanding of WCF services. Basics of WCF services WCF Services can be used to communicate with different type of applications using different protocols. if we want to use the WCF services we will have the basic understanding of its main components which is called ABC. Let's discuss these main components of WCF services one by one. Address A WCF provides a URI which can be used to locate the WCF services. This URI called the address of the WCF service. Binding Once we are able to locate the WCF service , The  next point is how to communicate with WCF service like which protocol will be used to communicate. the binding which defines how the WCF service handle this communication, it also defines other communication parameters like message encoding Contract The contract defines  what public data and inter...

ASP.NET MVC 5 (Part 1)

This tutorial teaches you the basics of building an ASP.NET MVC 5 web app using  Visual Studio 2017 . Get started Start by installing Visual Studio 2017. You can  Install Visual Studio 2017 community version which is free. Open Visual Studio,  Instead of selecting  New Project  on the  Start page , you can use the menu bar and select  File  >  New Project . Your first app On the  Start page , select  New Project . In the  New Project  dialog box, select the  Visual C#  category on the left, then  Web , and then select the  ASP.NET Web Application (.NET Framework)  project template. Name your project "MVCProject" and then choose  OK . In the  New ASP.NET Web Application  dialog, choose  MVC  and then choose  OK . The visual studio used the default template for the project you just created.you have a running applicat...