Videos

  • 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 = null;         ClientContext context = new ClientContext(“SITE_URL”);         try         {                        Site oWebsite = context.Site;             context.AuthenticationMode = ClientAuthenticationMode.Anonymous;             List list =…

  • 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 to perform some logic at server end. A simple Operation Contract with Service Contract will…

  • 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 Contract We will see all contract one by one with the help of practical implementation…

  • 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 in the config file to netTcpBinding Your service will throw this error. Don’t worry there…

  • Self Hosting a WCF service

    .

    As we know WCF supports various hosting options. Self Hosting is one of them. What is Self Hosting? WCF allows hosting a service in an application such as Console Application. Create a Console Application Project to host a WCF Service. Add WCF Service project Reference in this Console Application. Delete existing App.config file. Add new…

Subscribe to my news letter

    RSS
    YouTube
    YouTube
    Instagram