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

What is Web API? When should we use in our projects?

Web API is the Microsoft open source technology for developing REST services based on HTTP protocol. ASP.Net Web API is a framework for building, consuming HTTP based service. The advantage of Web API is that it can be consumed by a wide range of clients like a web browser and mobile applications. ASP.Net Web API … Read more

Angular JS model and controller

Angular JS Model: ng-model directive in Angular JS is use to bind the value of an HTML control to any variable. <div ng-app=”testApp” ng-controller=”testCtrl”>    Name: <input ng-model=”name”>    <h1>Hello : {{name}}</h1></div>

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

Insert record in database using angular js

In this blog I will explain about how we can save data in SQL database using Angular JS.In this example i have written a web method which is available in .cs file. So lets start by create a web application in VS2015.On ASPX Page: Link this script in head section of page: <script src=”../js/angular.min.js”></script> Write … 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

RSS
YouTube
YouTube
Instagram