WPF DataGrid – Grouping

WPF DataGrid is also used for showing group of items DataGrid use ListCollectionView class for grouping the associated list. DataGrid GroupStyle.ContainerStyle provides a way to display Group Item detail and its associated items. ListCollectionView Class ListCollectionView constructor takes an IList collection and has a GroupDescriptions list property. In the GroupDescriptions …

WPF DataGrid – Grouping Read More

AJAX – AngularJS

Ajax is used for creating asynchronous web applications that get and store data from server without postbacks. In AngularJS $http object is used for get and post data from the server. $http use asynchronous techniques for interacting with server. A $http object returns a Promise object. A promise object represent …

AJAX – AngularJS Read More

WCF Architecture

WCF provides a runtime environment for developing distributed services that are interoperable, secure, and reliable. A service is a reusable unit of functionality that performs a particular task. A WCF Service exposes Web Service Definition Language (WSDL) file contains the available functionality and the communication methods supported by the service. …

WCF Architecture Read More

WCF Hello World Example

WCF is very popular platform for developing services. In this blog, we’ll create a very basic and simple example of WCF service in just 6┬ásteps. Steps are: Declare ServiceContract Declare DataContract Implement Service Configure Service Host Service Access Client Declare ServiceContract Create a new blank Console solution and name the …

WCF Hello World Example Read More

WCF Instance Management

WCF Instance management is a set of techniques to decide whether create a new service instance on each client request or use existing service instance that handles client request. Advantages of WCF Instance Management The biggest advantage of instance management is the use of WCF sessions. With the use of …

WCF Instance Management Read More

Forms – AngularJS

AngularJS provides great way to create Forms which submit their data without postback. AngularJS Forms use two directives: ng-model: The ng-model directives is used for binding input controls to Javascript Objects. ng-submit: Bind AngularJS Controller submit function to submit event of HTML Form. It also prevents the form to submit …

Forms – AngularJS Read More

Filters – AngularJS

AngularJS Filters is used for change the format of the expression result. Filters are applied directly on expressions. AngularJS Filter Syntax {{ expression | filter1:arg1,arg2 | filter2:arg1,arg2 }} Filters use the pipe (|) character for its syntax. Main AngularJS Filters currency number lowercase uppercase json date orderBy limitTo currency Filter …

Filters – AngularJS Read More

Controllers – AngularJS

AngularJS supports Model-View-Controller (MVC) architecture pattern. A Controller is a javascript object which has properties and functions. AngularJS Controller is the only object that communicates with both Models and Views. Controller Directive In AngularJS application, a controller directive is defined with ng-controller directive. <div ng-controller=”empController”> Controller Syntax <script> angular.module(’empApp’, []).controller(’empController’, …

Controllers – AngularJS Read More