Saturday, April 30, 2011

Difference between Biztalk 2006 to Biztalk 2009

Installing BizTalk Server 2010 on WindowsServer 2008 R2 and 2008

What Are the BAM WCF and WF Interceptors

Business Activity Monitoring (BAM) is a collection of tools, APIs, and services that allow you to manage aggregations, alerts, and profiles, and to instrument automated processes to send events to monitor relevant business metrics. Together, these provide end-to-end visibility into business processes and enable you to stay abreast of business process status and results.


BAM interceptors extend this same functionality into Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), and other runtime environments. By using a BAM interceptor, you can track your business processes without recompiling your WF or WCF solution—integration is done through a configuration file.

By using the BAM WF or WCF interceptor in your project, you can:
  • Use the BAM portal to view information about the business processes running in your WF or WCF application.
  • Use BAM functionality without adding additional code to your application.
  • Deploy your solution using familiar BizTalk Server tools and utilities.
  • Leverage your existing BizTalk Server environment for existing and new WF and WCF applications.


 

Difference between call by out and call by reference

out = ref -  (intiliazation)

void main()
{

int x,y,o,r;

//ref
r=0;
MultiMath(x,y,ref r);
MultiMath(x,y,out o);

}



functions

OUT
private int MultiMath(int a, int b, out o)
{
    o = a*b;
return a+b;
}

REF
private int MultiMath(int a, int b, out r)
{
    r = a*b;
return a+b;
}

http://www.c-sharpcorner.com/UploadFile/5eae74/6867/

Friday, April 29, 2011

WCF Workflow Service Application Enpoint configuration

 IService is a WCF Workflow Service Application Servicecontarct



<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.web>
        <compilation debug="true" targetFramework="4.0" />
    </system.web>
    <system.serviceModel>
        <services>
   <service name="xxxxxxx">
       <host>
           <baseAddresses>
               <add baseAddress="http://xxxxxx:1231/Configuration/"/>
           </baseAddresses>
       </host>
    <endpoint address="BDSIBUP301.xamlx"
     binding="wsHttpContextBinding" contract="IService" />
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
   </service>
  </services>
        <behaviors>
            <serviceBehaviors>
                <behavior>
                    <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
                    <serviceMetadata httpGetEnabled="true"/>
                    <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
                    <serviceDebug includeExceptionDetailInFaults="false"/>
                </behavior>
            </serviceBehaviors>
        </behaviors>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    </system.serviceModel>
    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true"/>
    </system.webServer>
</configuration>