How to create ASP.Net Web API

In this blog, I have created ASP.Net web api using Visual Studio 2015.If you need to know what is web api then please read one of my previous blog. Follow the below steps to create ASP.Net Web API Open Visual Studio 2015 and follow the below steps:1. File -> New Project and Select ASP.Net Web … Read more

Razor View and ASPx in MVC

In MVC 5 we have only one way to create View which is Razor View, the file extension of razor view is “.cshtml” But before MVC 5 we had one more option which was ASPX, now in MVC 5 ASPX has been removed and currently, Razor view is available with MVC 5. Razor View vs … Read more

My first ASP.Net MVC Program

In all my blog I will be giving example/code in context of Visual Studio 2015.So first create a MVC project in VS 2015. My first ASP.Net MVC Program File-> New -> ProjectSelect Web from templates (from left side) and ASP.Net Web Application from middle section, click on OK. Now select MVC from template section and … Read more

Introduction to ASP.Net MVC

In this blog, we will know about ASP.NET MVC.This is my first blog on MVC.  We will see below topics in this blog – 1. What is ASP.NET MVC?2. A relation between ASP.NET and ASP.NET MVC.3. Why MVC?4.The lifecycle of MVC application 1. What is ASP.NET MVC? MVC – A commonly used software design pattern. MVC … Read more

Angular JS Ng-repeat directive

In this blog I will explain about ng-repeat directives in Angular JS. ng-repeat repeats set of HTML. <div ng-app=”” ng-init=”EmpName=           Stu =[{stufname :‘John’,address:‘India’ }          ,{stufname :‘Tom’,address:‘USA’ }          ,{stufname :‘Sachin’,address:‘India’ },          {stufname :‘Rahul’,address:‘UK’ }          ,{stufname :‘Rohan’,address:‘Australia’ }          ,{stufname :‘Sunil’,address:‘India’ }          ,{stufname :‘Rohit’,address:‘India’ }];”>             <br />             <input type=”text” … Read more

Data Contract Serialization and De-Serialization – WCF Service Tutorial

Serialization is the process of converting an object to transferable data format. By default WCF uses DataContractSerializer. And vice-versa process is called De-Serialization.      public class Product     {         public int  ProductID         {             get;set;         }         public string ProductName         {             get;set;         }         public string ProductSeller         {             get;set;         }         public decimal ProductCost         {             get;set;         }     } … Read more