jQuery DataTables

0

Category :

Basic Implementation

Download files from www.datatables.net
Add files to project.
Reference files in master/main page or on specific view.






Initialise table as dataTable.


Also had to add this piece of css to ensure header and footer covered all buttons within.
div.ui-widget-header {
    height: 25px;
}

And that should be about it.

NLog Intro

0

Category :

Basic Setup

Create new config file.
Change the "Copy To Output Directory" option for this file to "Copy always".

Config File




    
      
        
          
          
          
          
          
          
          
        
      
      
    

    
      
      
    

DR



  
    
      
test

Instantiate Logger


private static NLog.Logger _logger = NLog.LogManager.GetCurrentClassLogger();
my thanks to: http://www.codeproject.com/Articles/10631/Introduction-to-NLog

Implementing a Basic Hello World WCF Service

0

Category :

  • A WCF Service is a class library, which defines one or more WCF service interface contracts
  • The System.ServiceModel assembly is referenced by all of the WCF Service projects
  • The implementations of a WCF Service are just regular C# classes
  • A WCF Service must be hosted in a hosting application
  • Visual Studio 2010 has a built-in hosting application for WCF Services, which is called ASP.NET Development Server
  • A client application uses a proxy to communicate with WCF Services
  • A configuration file can be used to specify settings for WCF Services

Endpoint

Imagine that you are trying to send a birthday gift to someone. What information you need? The first and the foremost is the address, where the gift needs to be delivered. And the second one is how wiil the gift be transmitted? By train or bus? And the last one you must know what is the content you are transmitting. What type of goods is it?

The ABC of Windows Communication Foundation

  • "A" - stands for Address: Where is the service?
  • "B" - stands for Binding: How do I talk to the service?
  • "C" - stands for Contract: What can the service do for me?

 http://www.codeproject.com/Articles/97204/Implementing-a-Basic-Hello-World-WCF-Service
http://www.c-sharpcorner.com/UploadFile/rkartikcsharp/abc-of-wcf/