July 2016
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;…
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’…
Introduction to Angular JS.
.
What is Angular JS? Angular JS is Java Script framework introduced by Google in 2012 (version 1.0). It is an open source. Angular JS allows a developer to write a powerful client-side coding. To work with Angular JS just download…
Upload a file using JQuery and Generic Handler in ASP.Net
.
In this blog we will learn how to use jquery and generic handler in asp.net to upload a file.I have used Jquery to call a generic handler to upload a file. In this blog I have written code which accepts…
Data Contract in WCF
.
In my earlier blog, I wrote about Other Contracts. Please refer this link Contracts in WCF Learn Data Contract It is used to define the data which will be exchanged between client and server. A simple Data Contract with Data…
Create Datatable using .Net Client Context in SharePoint 2010
.
Create Data Table while using SharePoint 2010 Client Context with .Net Code I am using .net code to access SharePoint List.I created a method ExecuteSPQuery() which returns Data Table. For that I wrote below code. public static DataTable ExecuteSPQuery() { DataTable dtData = new DataTable(); Microsoft.SharePoint.Client.ListItemCollection listCollection…
What is Operation Contract in WCF Service?
.
In my earlier blog I wrote about Contracts and Service Contract. Please refer this link Service Contract in WCF Operation Contract Operation Contracts are nothing but the functions or methods exposed to the client which may or may not return…
What is Service Contract in WCF?
.
Service Contract in WCF Contracts in WCF are very important. Contracts are responsible for how to communicate, what protocol to use and what message to send. Following contracts available in WCF: Service Contract Operation Contract Data Contract Message Contract Fault…
WAS Hosting in WCF Service
.
As we all know that IIS 6 supports HTTP protocol only. Windows Process Activation Service (WAS) supports non-http protocols in IIS. So, WAS helps WCF service to host with HTTP and NO-HTTP protocols such as net.tcp. Once you changed binding…
