August 2016
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…
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…
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…
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…
