Sonu's Tech Log

Sonu's ramblings on 'what' and 'why' of software products she experiences at Microsoft

Browse by Tags

Tagged Content List
  • Blog Post: Do we need to GAC the adapter assembly?

    We have created a projected based on WCF LOB Adapter SDK. So just want to understand, do we really need to GAC the adapter project assembly? Also, if the adapter is using third party assemblies, is it really required to GAC them as well? For example, if we using Log4Net (for logging errors & information...
  • Blog Post: QualifiedType accessor to XML Schema type mapping

    This previous post shows how WCF LOB Adapter SDK metadata object model can be used to define metadata for operations and/or types so that the WCF contract (WSDL) can be generated from it. The ResolveOperationMetadata() / ResolveTypeMetadata() methods in Microsoft.ServiceModel.Channels.Common.IMetdataResolverHandler...
  • Blog Post: WCF LOB Adapter SDK Performance Counters

    WCF LOB Adapter SDK provides the following built-in performance counters to help gauge performance of the adapter. You can view these performance counters in Performance Management Console (perfmon.msc). Select the performance object named "ServiceModel Adapters". % Cache full ...
  • Blog Post: Declarative XML Parsing - Adapter Data Readers/Writers

    Are you using adapter data reader / writer derived classes? WCF LOB Adapter SDK team had introduced adapter XML data readers/writers in Beta 2. Since an adapter developer, who is using WCF LOB Adapter SDK to build an adapter, is working with XML messages in inbound / outbound handlers, the parsing...
  • Blog Post: Sample SQL Adapter built using WCF LOB Adapter SDK

    WCF LOB Adapter SDK 'RC' ships with two sample adapters - Contoso Adapter - uses a canned back-end defined using SQL Server 2005. Echo Adapter - a simple adapter that shows how to use WCF LOB Adapter SDK API and includes a usage pattern for inbound scenarios Both of these adapters are limiting...
  • Blog Post: WCF LOB Adapter SDK 'RC' is now available for public download

    I haven't had many posts in last few days as we have been working on releasing first public beta 'Release Candidate' of WCF LOB Adapter SDK. Now some of you who did express interest in trying this SDK will be able to download it without having to sign Microsoft's Technology Adoption Program (TAP) agreement...
  • Blog Post: WCF LOB Adapter SDK and its relationship with WCF Channel Model

    In this post, I will show how WCF LOB Adapter SDK relates to WCF Service Model and WCF Channel Model. I have briefly talked about this topic in the following posts: · Where does a WCF LOB Adapter fit in the WCF Channel Stack? · Adapter as a WCF Binding – In Depth · Scenarios for creating an...
  • Blog Post: Transaction support in inbound message exchange handler

    Scenario: How does WCF LOB Adapter SDK enable transaction support in the inbound message exchange handler? There are two ways of providing transaction support within the adapter inbound message exchange handler. Transactions initiated by dispatcher Set Microsoft.ServiceModel.Channels...
  • Blog Post: Contract Generation from WSDL/XML Schema - DataContractSerializer vs. XmlSerializer

    WCF LOB Adapter SDK metadata object model generates WSDL / XML Schema with constructs that are well-liked by DataContractSerializer . The Svcutil.Exe creates a proxy / service interface from this WSDL containing attributes such as ServiceContract, OperationContract, DataContract, DataMember, etc. If...
  • Blog Post: Metadata object model extensibility using ExportXmlSchema

    Scenario: Adapter Developer needs to define an operation signature using XML Schema types not directly supported by the WCF LOB Adapter SDK Metadata Object Model. For example, there is a need to have an operation signature like this – void SendXmlBlob(System.Xml.XmlElement blob). WCF LOB Adapter SDK...
  • Blog Post: How to invoke the Metadata Resolver and resolve metadata without using Visual Studio Plug-Ins?

    Scenario: You want to get an adapter generated WSDL / XML Schema for a subset of operations. The following code snippets show how to retrieve a ServiceDescription (WSDL) for a given set of operation identifiers. Method 1 – Using WCF provided MetadataExchangeClient Ensure you have the metadata...
  • Blog Post: Back from TechEd 2007

    Last week at TechEd2007 in Orlando, Florida was fabulous. I got a chance to attend a few sessions on WCF, WF and .NET 3.0 Architecture and Performance. The session on WCF LOB Adapter SDK, presented by me, Jesus Rodriguez and Wayne Citrin , had 102 attendees and we thank all who attended this session...
  • Blog Post: Create an installation package for the WCF-based adapter

    Objective: Create a setup project (Setup.exe and/or MSI) for distributing the adapter code and its relevant dependencies using Windows Installer To install the WCF LOB Adapter on the end-user’s machine, at minimum, there is a need to install the assemblies (and any of it pre-requisites) in the...
  • Blog Post: Implementing Adapter Inbound Message Exchange Handler - Part 3 (Consumption in .NET Console Application using WCF Channel Model)

    You saw in this post , how to test the inbound functionality of the WCF-based adapter using the WCF Service Model. If you are interested in testing the Adapter Inbound Handler using the WCF Channel Model, the following sample shows you how to do so. This bypasses the de-serialization of the WCF messages...
  • Blog Post: Implementing Adapter Outbound Message Exchange Handler

    Scenario: Client executes a single synchronous outbound call in the target system using the adapter Content 1) Adapter Developer Perspective: Implement execute() method in adapter implementation of IOutboundHandler 2) Adapter Consumer Perspective: Test Adapter Outbound Handler functionality...
  • Blog Post: Adapter Message Exchange Handlers

    A message exchange pattern describes how messages flow between two endpoints. Choosing a message exchange pattern is the first step in writing a custom transport channel. An adapter developed using the WCF LOB Adapter SDK is a custom transport channel. The following table shows the common adapter message...
  • Blog Post: Adapter Connection Management

    One of the key features of WCF LOB Adapter SDK is target system’s Connection Management. This posts talk about how connection management is accomplished within an adapter. Contents · Connection Lifecycle · Connection Pool Settings · Extracting Client Credentials · Implementing Connection...
  • Blog Post: Adapter Anatomy

    The adapter built using WCF LOB Adapter SDK is comprised of design-time and run-time components. The design-time user experience consists of browsing, searching and extracting Service Contract with choice of operations from the adapter. The run-time provides features such as Connection Pool Management...
  • Blog Post: Scenarios for creating an adapter using WCF LOB Adapter SDK and relationship with WCF Service

    Windows Communication Foundation (WCF) is Microsoft's unified programming model for building service-oriented applications with managed code. It extends the .NET Framework to enable developers to build secure and reliable transacted Web Services that integrate across platforms and interoperate with existing...
  • Blog Post: Implementing Metadata Resolver Handler

    The Adapter Browse Handler and Adapter Search Handler implementations return an array of objects of type MetadataRetrievalNode. This object structure doesn’t contain the actual information about the input and output types of each operation. The input parameters and output result for each operation are...
  • Blog Post: Implementing Metadata Search Handler

    The implementation and usage of metadata search handler is identical to metadata browse handler, with the exception of this class returning a filtered list of metadata objects back to the caller depending on the passed in search criteria. It can return the operations as well as categories depending on...
  • Blog Post: Implementing Metadata Browse Handler

    Most databases and LOB applications provide some form of metadata that can be used to define the data that is exchanged between the adapter and the target system. Adapter Developer needs to implement IMetadataBrowseHandler interface provided within WCF LOB Adapter SDK for providing Adapter Consumer an...
  • Blog Post: Show me the metadata!

    WCF LOB Adapter SDK extends the WCF channel architecture with Metadata Object Model and provides an infrastructure for browsing, searching, retrieving and importing metadata from the adapter. What is metadata? See this wikipedia definition for a more descriptive definition. The WCF LOB Adapter metadata...
  • Blog Post: Using Adapter Development Wizard

    After WCF LOB Adapter SDK is installed on the system, the Adapter Developer can use the WCF LOB Adapter Development Wizard within Microsoft Visual Studio 2005 to create skeleton code for a new adapter. To invoke the wizard, select File > New > Project > Visual C# > WCF LOB Adapter. This will...
  • Blog Post: Adapter SDK Prerequisites

    One of the commonly asked questions I get is - "Do I need to install BizTalk Server as a pre-requisite for WCF LOB Adapter SDK?". The answer is No. The Adapter SDK doesn't require BizTalk Server installed on a system, before Adapter SDK can be installed or used. If, however, you wish to use the Adapters...
Page 1 of 2 (27 items) 12