<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Junaidhassanalvi&#039;s Blog</title>
	<atom:link href="http://junaidhassanalvi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://junaidhassanalvi.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 12 Oct 2010 07:33:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='junaidhassanalvi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Junaidhassanalvi&#039;s Blog</title>
		<link>http://junaidhassanalvi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://junaidhassanalvi.wordpress.com/osd.xml" title="Junaidhassanalvi&#039;s Blog" />
	<atom:link rel='hub' href='http://junaidhassanalvi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Git &#8211; Open Source Version Control Solution</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/10/12/git-open-source-version-control-solution/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/10/12/git-open-source-version-control-solution/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 07:33:47 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SSH (Secure Shell)]]></category>
		<category><![CDATA[Version Control]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=60</guid>
		<description><![CDATA[Git is an open source version control solution. Have rich functionalities, extendibility Git is very easy to install and configure. As I am windows geek I just have to run a wizard to install Git. As I said I windows geek to I love to work on GUI but I think Git is the only [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=60&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Git is an open source version control solution. Have rich functionalities, extendibility</p>
<p>Git is very easy to install and configure. As I am windows geek I just have to run a wizard to install Git.</p>
<p>As I said I windows geek to I love to work on GUI but I think Git is the only tool where I enjoy will working on command line. On installing Git on windows, it will install Git GUI and Git Bash. Git Bash is its shell or command prompt where you can execute Git commands</p>
<p>You can create public and private repositories, history, version controlling. There’s nothing particularly magical about a repository; it is simply a directory tree in your file system that Git treats as special. You can rename or delete a repository any time you like, using either the command line or your file browser. It uses SSH (Secure Shell) protocol to exchange information in public repositories. All you need to do is to create private and public key and configure it for SSH agent and your information is now on secure channel for Git transactions.</p>
<p>There are a lots of Git command but all are simpler. It mechanism is very simple. If you do not want to go up to advanced level, you can start with just little simple command. Its syntax, keyword and switches are very self explanatory.  Following are 13 simple commands; these are enough to work on basic level. Further branches are introduce that increase complexity</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="163" valign="top">$ git help</td>
<td width="475" valign="top">First you get a help and documentation about get on Git bash.</td>
</tr>
<tr>
<td width="163" valign="top">$ git init</td>
<td width="475" valign="top">Initializes a git repository – creates the initial ‘.git’ directory   in a new or in an existing project</td>
</tr>
<tr>
<td width="163" valign="top">$ git clone</p>
<p>&nbsp;</td>
<td width="475" valign="top">To get a modified version from URL or initially it can be used to   fork or get files from repository or you can create another local copy with   same command.</td>
</tr>
<tr>
<td width="163" valign="top">$ git log</td>
<td width="475" valign="top">To get view of history</td>
</tr>
<tr>
<td width="163" valign="top">$ git add</td>
<td width="475" valign="top">Add file changes in working directory</td>
</tr>
<tr>
<td width="163" valign="top">$ git rm</td>
<td width="475" valign="top">Removes files from your index and your working directory so they will   not be tracked</td>
</tr>
<tr>
<td width="163" valign="top">$ git diff</td>
<td width="475" valign="top">Available with many switches. Use to take different between two version   of same file or different files also.</td>
</tr>
<tr>
<td width="163" valign="top">$ git commit</td>
<td width="475" valign="top">Commit local changes to working tree. Can be used with –a to commit   all changes in your local working directory.</td>
</tr>
<tr>
<td width="163" valign="top">$ git fetch</td>
<td width="475" valign="top">Fetches all the objects from the remote repository that are not   present in the local one.</td>
</tr>
<tr>
<td width="163" valign="top">$ git push</td>
<td width="475" valign="top">Upload a tree to the original repository.</td>
</tr>
<tr>
<td width="163" valign="top">$ git pull</td>
<td width="475" valign="top">Fetches the files from the remote repository and merges it with your   local one.</td>
</tr>
<tr>
<td width="163" valign="top">$ git reset</td>
<td width="475" valign="top">Resets your index and working directory to the state of your last   commit.</td>
</tr>
<tr>
<td width="163" valign="top">$ git status</td>
<td width="475" valign="top">Shows you the status of files in the index versus the working   directory. It will list out files that are untracked (only in your working   directory), modified (tracked but not yet updated in your index), and staged   (added to your index and ready for committing).</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=60&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/10/12/git-open-source-version-control-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>
	</item>
		<item>
		<title>Consume web service in BizTalk orchestration</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/10/11/consume-web-service-in-biztalk-orchestration/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/10/11/consume-web-service-in-biztalk-orchestration/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 05:45:02 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=52</guid>
		<description><![CDATA[If we want to consume web service in my BizTalk orchestration. I do not have to do so many efforts. Over all mechanism is still same that we will create message and port type according to my web service and send request and then receive response. But only concern that how can I found out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=52&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If we want to consume web service in my BizTalk orchestration. I do not have to do so many efforts.</p>
<p>Over all mechanism is still same that we will create message and port type according to my web service and send request and then receive response. But only concern that how can I found out what port type is. What request and response should be created? For web service we will do conventional thing that we used to do. I will add web reference and then all worries are for BizTalk. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>By adding the web reference of your web service you will get some cool stuff in your solution. It contains some files, web message types, port type, and multi part message type. Surly you will get all stuff you want for your service.</p>
<p>You will get following files<br />
Reference.map<br />
Reference.odx<br />
Reference.xsd<br />
Myservice.disco<br />
Myservice.wsdl</p>
<p>Some file are optional. If your request or response message type is primitive (normally a string in this case) then request and response XSD will not be created for you.</p>
<p>You will use web message type for your request and response message. Further port type and multi part message can be used accordingly.</p>
<p>Now is become handy to consume web service as all necessary information is available. Enjoy!!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=52&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/10/11/consume-web-service-in-biztalk-orchestration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>
	</item>
		<item>
		<title>Some thing about WCF</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/10/11/some-thing-about-wcf/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/10/11/some-thing-about-wcf/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 05:12:59 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=48</guid>
		<description><![CDATA[WCF (Windows Communication Foundation) is a unified approach to communicate on different technologies in a single and easier manner. WCF can be called form Ajax enabled website also Microsoft has introduce its consumption in SilverLight. You can easy find ABC of WCF on any WCF related site A = Address &#8212;&#8211; service location B = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=48&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>WCF (Windows Communication Foundation) is a unified approach to communicate on different technologies in a single and easier manner.</p>
<p>WCF can be called form Ajax enabled website also Microsoft has introduce its consumption in SilverLight.</p>
<p>You can easy find ABC of WCF on any WCF related site</p>
<p>A = Address &#8212;&#8211; service location</p>
<p>B = Binding &#8212;&#8212; mean of communication</p>
<p>C = Contract &#8212;&#8211;services functionality</p>
<p>Address is the unique location which is used to identify your WCF service.</p>
<p>WCF service communicates with its end point. End points are like exposed tunnel that allow incoming message to travel into WCF Service.  Each end point is identified by a unique address. Here Address of WCF ABC plays role. End point address allows WCF client to send message on specific location where it can be entertained my correct WCF service with correct operation.</p>
<p>Binding will define how the data will be transfer to WCF Service. As WCF is unified channel to communicate on many protocols we define in binding that what protocol should be used to communicate. Further security, encoding, timeout etc can be defined in binding.</p>
<p>It can be noted that WCF use SOAP envelope to communicate on all protocol. This will also explore the importance and increase of usage of SOAP protocol in BizTalk.</p>
<p>If we talk about BizTalk we do not much worry about ‘C’ i.e. contact. If we look deep down then we have three types of contract. Data contract, service contract, fault contract, message contract. These contracts have the definition of many aspects of WCF in their own area.</p>
<p>Data contract is the format in which data can be exchange with service. If we look for BizTalk we also required valid xml with pre-defined format to communicate with service.  This format is our XDS. So we can define data contract with our XSD. BizTalk XSD is very flexible and you can play very well if you have deep knowledge. On data contract we can apply many behaviors to distinguish data with other details we can do same in XSD but in a different way and when we publish service BizTalk server do the same for us.</p>
<p>Service Contract should be our orchestration. As services contract define the operation that services can perform with associated data contract. We can also do the same in orchestration. Or orchestration ports operation can be used as service contract functions. We can associate XSD with operation in orchestration, same as we can associate data contract with service contract.</p>
<p>Fault contract define which errors are raised by the service, and how the service handles and propagates errors to its clients.</p>
<p>Message contract allow the service to interact directly with messages. Message contracts can be typed or untyped, and are useful in interoperability cases and when there is an existing message format we have to comply with.</p>
<p>Microsoft .Net include service model (System.ServiceModel) that we can use to call WCF service. Its command line utility <strong>svcutil.exe </strong>to extract its Meta data.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=48&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/10/11/some-thing-about-wcf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>
	</item>
		<item>
		<title>FTPS Support in BizTalk 2010</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/08/08/ftps-support-in-biztalk-2010/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/08/08/ftps-support-in-biztalk-2010/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 12:51:11 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[FTP Adapter]]></category>
		<category><![CDATA[FTPS]]></category>
		<category><![CDATA[SFTP Adapter]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=43</guid>
		<description><![CDATA[I got to chance to download and upload some files through FTP. Later on it notified that it is SSH FTP (SFTP). BizTalk does not have built in SFTP adapter. Next option for me is always Code Plex. I have used TCP adapter of Code Plex in BizTalk Server 2006 and that experience is grate [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=43&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got to chance to download and upload some files through FTP. Later on it notified that it is SSH FTP (SFTP). BizTalk does not have built in SFTP adapter. Next option for me is always Code Plex. I have used TCP adapter of Code Plex in BizTalk Server 2006 and that experience is grate full.</p>
<p>I have found Biological SFTP adapter. It is off course handy like other Code Plex products. I just setup SFTP environment using Bitvise tools. WinSSHD as server, Tunnelier as client, test by browsing and download and upload file through Tunnelier and I got success.</p>
<p>Biological SFTP is very handy that you have to define few setting. Major is off course host, username, password, navigation path. Following is setting can be set for dynamic port</p>
<p>DynamicSendPort(Microsoft.XLANGs.BaseTypes.Address) = &#8220;SFTP://server:22/&#8221;;</p>
<p>MsgOut(BTS.OutboundTransportType) = &#8220;SFTP&#8221;;</p>
<p>MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.host) = &#8220;server&#8221;;</p>
<p>MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.portno) = 22;</p>
<p>MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.user) = &#8220;user&#8221;;</p>
<p>MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.identityfile) = @&#8221;c:\mysftpkeyfile.ppk&#8221;;</p>
<p>MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.remotefile) = &#8220;OUT_%SourceFileName%&#8221;;</p>
<p>You can play with BTSNTSvc.exe.config for various operation like load balancing, pooling etc.</p>
<p>But I still want SFTP adapter from Microsoft as it comes with Microsoft technical support and  allow us to become fear less J</p>
<p>In BizTalk Server 2010 we still do not found SFTP Adapter but we got FTPS support.</p>
<p>FTPS or Secure FTP is different from SFTP. SFTP is SSH FTP provided by Linux Servers and FTPS is FTP with SSL.</p>
<p>We are familiar with SSL on HTTP that make it https. In my opinion FTPS in better than SFTP. Good thing is change is not big. All things are old as it is and some things are new. SSL section is introduced in FTP adapter configuration and you have to define some properties like Client Certificate Hash, Connection Mode etc. A person that has used SSL should be familiar with these properties.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=43&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/08/08/ftps-support-in-biztalk-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS (Cascading style sheet)</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/08/03/css-cascading-style-sheet/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/08/03/css-cascading-style-sheet/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 05:20:20 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=37</guid>
		<description><![CDATA[Life is wonderful, if full with colors. Of course colors can make everything beautiful including web page. Proper color, font and style is depend on the designer of the web page that what is occurring in his mind but application of style on the website is smooth throughout and easily to change and comprehensive. Here [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=37&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">Life is wonderful, if full with colors.</p>
<p>Of course colors can make everything beautiful including web page. Proper color, font and style is depend on the designer of the web page that what is occurring in his mind but application of style on the website is smooth throughout and easily to change and comprehensive. Here CSS play its role.</p>
<p>If you font of reading stories then you can read CSS saga of its invention at following link. I didn’t read that as I am not font of stories, just search out to complete my article. But always pay respect to all professional behind its invention as I like CSS personally.</p>
<p><a href="http://www.w3.org/Style/LieBos2e/history/">http://www.w3.org/Style/LieBos2e/history/</a></p>
<p>Currently CSS level 2 (also knows ad CSS2) is latest release and CSS level 3 is under development. So we should go with CSS2 in this article.</p>
<p>So what is CSS????? Anyone can say Cascading style sheet. Look like some kind of sheet having style but how cascade??</p>
<p>You can say CSS is a definition for you style on web page. Its effect is cascaded means effect is produce to successor, you can define nested or one after other and in the end combine result will produce having effects of all applied CSS.</p>
<p>HTML has various tags that used to display various control and text on web page. HTML only displays text in their default format depending on browser settings. But if you need to do some extra care with the text on you web page you have to do some extra with CSS.</p>
<p>CSS can be applied on the html tags. There are various HTML tags and their properties for style. But all properties are not applicable for all tags. Like height is not applicable for <strong>A</strong> (Anchor) tag but applicable for <strong>TD</strong> (table data) or <strong>TR</strong> (table row).</p>
<p>People font of complexity, automata, compiler grammar, and tokenization can learn all these things about CSS through W3C website. We are going to make it simple</p>
<p>Let talk about terminologies of CSS,</p>
<p>body</p>
<p>{</p>
<p>background-color:#FFFFF0;</p>
<p>margin:10px;</p>
<p>font-weight: bold;</p>
<p>}</p>
<p>Body tag is knows as <strong>selector</strong>. Then everything in brackets is <strong>declaration block. </strong>In declaration block background-color, margin and font-weight is a <strong>property</strong> and after colon there is a <strong>value</strong> for that property</p>
<p>Above is a declaration of CSS for a body tag. You can define CSS for any tag of html. Here background-color, margin, font-weight is a property of HTML tag. You can define CSS for any supported property of any html tag. After colon we have value of that property.</p>
<p>When this CSS is applying to any web page, its background color become # FFFFF0, all margin become 10px and font become bold. There is a sea of HTML tag and related properties, dive deep and explore as much on your capability.</p>
<p>Like any other language, CSS also has some key words. You can define keyword instead of value. Like bold is a key word. CSS know that when bold is defined for font weight, what density of the font should be.</p>
<p>Similarly, following</p>
<p>color: green;</p>
<p>width: auto;</p>
<p>border: none;</p>
<p>Here green, autos, none all are keywords and CSS perfectly understand it and apply style accordingly.</p>
<p>When several selectors share the same declarations, they may be grouped into a comma-separated list.</p>
<p>h1 {font-family: sans-serif}</p>
<p>h2 {font-family: sans-serif}</p>
<p>h3 {font-family: sans-serif}</p>
<p>Is equivalent to:</p>
<p>h1, h2, h3 {font-family: sans-serif}</p>
<p>Many times we only need to define style for a specific tag of HTML and not for all tags. CSS also provide support to create classes to cater this problem. Identifier of the class is dot. In selector anything after the dot is the name of class. Like,</p>
<p>.class1 {font-size: 10pt}</p>
<p>Here class1 is a class as it is start with dot and it can put effect on a tag on which it is applied. Here on merit it that we can apply one class to any HTML tag and style will be applied to supported properties.</p>
<p>You can apply to any tag by class keyword</p>
<p>&lt;p class = “class1”&gt;This is the Class 1 Style&lt;/p&gt;</p>
<p>&lt;a class = “class1”&gt;This is the Class 1 Style&lt;/a&gt;</p>
<p>&lt;select class = “class1”&gt;</p>
<p>&lt;option&gt; This is the Class 1 Style &lt;/option&gt;</p>
<p>&lt;/ select &gt;</p>
<p>You can define combination of CSS class and tag.</p>
<p>.categories_text {</p>
<p>font-family: Calibri, Arial, Verdana;</p>
<p>font-size: 14px;</p>
<p>color:#1F201A;</p>
<p>}</p>
<p>A.categories_text {</p>
<p>color:#1F201A;</p>
<p>}</p>
<p>A.categories_text:hover {</p>
<p>color:#964434;</p>
<p>}</p>
<p>Here for second CSS declaration you define that A (Anchor) tag having class categories_text adopt this change. You can also define for other tags like</p>
<p>Tr. categories_text</p>
<p>Td. categories_text</p>
<p>Span. categories_text</p>
<p>But what is third declaration?  This cannot be unfamiliar for developers have worked on event driven language. On every action on browser, browser raises some bubble up event to perform desire task at that point. Here hover is mouse over on any link. We can define CSS for many supported events.</p>
<p>Now in last, we define ID for any html tag</p>
<p>&lt;div ID=”div1”&gt;</p>
<p>&lt;/div&gt;</p>
<p>Here we define div1 as an ID for this div and here we can define CSS for this ID.</p>
<p>div#div1 { text-align: center }</p>
<p>Selector then # and then ID, this can signal CSS to apply CSS to div having id div1.</p>
<p>We have At-rules in CSS, start with @</p>
<p>@import &#8220;subs.css&#8221;;</p>
<p>This line import CSS into another CSS file. There are many more AT rules you can explore.</p>
<p>You can define CSS in three ways as follow</p>
<p>1)      You can define for an HTML tag by style keyword</p>
<p>Eg.  &lt;td style=&#8221;background:url(images/ml.jpg);background-repeat:repeat-y;width:8px;&#8221;&gt;&lt;/td&gt;</p>
<p>2)      You can define in style tag at any place in web page.</p>
<p>&lt;style type=&#8221;text/css&#8221;&gt;</p>
<p>&lt;!&#8211;</p>
<p>font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;</p>
<p>&#8211;&gt;</p>
<p>&lt;/style&gt;</p>
<p>3)      Third you can define in a separate file with extension css and can include in you webpage through following code</p>
<p>&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;stylesheet/site_style.css&#8221; /&gt;</p>
<p>That’s all for basic level. CSS world is vey huge, CSS have special care for media in your web page, box model for balanced padding and margin, visual formatting, visual effect, page media etc.</p>
<p>Keep traveling as Sky is a limit.</p>
<p>Some use full resources are</p>
<p><a href="http://www.w3schools.com/css/">http://www.w3schools.com/css/</a></p>
<p><a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets">http://en.wikipedia.org/wiki/Cascading_Style_Sheets</a></p>
<p><a href="http://www.w3.org/Style/CSS/">http://www.w3.org/Style/CSS/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=37&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/08/03/css-cascading-style-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>
	</item>
		<item>
		<title>Retry Transaction on Exception in Orchestration</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/08/02/retry-transaction-exception-in-orchestration/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/08/02/retry-transaction-exception-in-orchestration/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 20:40:22 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[BizTalk]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=31</guid>
		<description><![CDATA[Some time we have special scenario that require different treatment. Once I encounter a scenario where I have to do transaction again and again on failure, up to required frequency or desire condition. Here we have many alternatives. We can write custom code to check failure condition; we can define any type of listener to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=31&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some time we have special scenario that require different treatment. Once I encounter a scenario where I have to do transaction again and again on failure, up to required frequency or desire condition.</p>
<p>Here we have many alternatives. We can write custom code to check failure condition; we can define any type of listener to listen trigger or green signal to go for transaction.</p>
<p>One strategy gone through my eyes is retrying transaction on failure in BizTalk Orchestration.</p>
<p>Logic is very simple. We need to tiger retry by own until any condition meet. For this purpose we have to through and object of Microsoft.XLANGs.BaseTypes.RetryTransactionException.</p>
<p>If of all we have to have atomic scope in our orchastration.  Set retry property of atomic scope equals to true. It will tell orchestration to retry transaction if trigger. To trigger we have to have nested scope in this atomic scope. As atomic scope cannot have any other transactional scope so we are not going to set transaction type property of inner scope. It will set to none.</p>
<p>Now make sure that any exception occur in inner scope will be caught in its exception block. In inner scope exception block through object of Microsoft.XLANGs.BaseTypes.RetryTransactionException.</p>
<p>Atomic transaction is a part of DTC transaction. There are other factors invloves that can cause retry. Like database down when transaction try to commit. In this case <strong>PersistenceException </strong>occurred and if retry property set to true it will retry transaction again.</p>
<p>So how many times it will retry?? Be default is will retry 21 time with difference of 2 second. If on 21 retry still exception occur then orchestration will be suspended.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=31&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/08/02/retry-transaction-exception-in-orchestration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Enterprise Library with BizTalk Server</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/08/02/using-enterprise-library-with-biztalk-server/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/08/02/using-enterprise-library-with-biztalk-server/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 20:32:44 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[Enterprise Library]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=24</guid>
		<description><![CDATA[Log your own deeds in Life. Check your life’s logs and try to eliminate existing weakness. BizTalk Server has its own tracking mechanism. In HAT you can track with is going on but when you want to go deep you need with custom logging and have to do some extra work. You can write your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=24&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">Log your own deeds in Life. Check your life’s logs and try to eliminate existing weakness.</p>
<p style="text-align:left;">
<p>BizTalk Server has its own tracking mechanism. In HAT you can track with is going on but when you want to go deep you need with custom logging and have to do some extra work.</p>
<p>You can write your own custom logging, but to get thing done quickly and in a managed way you can go to any solution. I found enterprise library one of the effective solutions</p>
<p>First thing we have to notice that we need to make all assemblies strong named. BizTalk get their assemblies form GAC (Global Assembly Cache) and for that assemblies need to GAC.</p>
<p>Enterprise Library has many solutions. In order to many all assemblies strong named you need to assign strong named key to each project. Also you have to update Assemblyinfo.cs for every file and update InternalsVisibleTo attribute with Public key. Looks creepy, boring and lengthy process!!!</p>
<p>Thanks we have Strong named guidance package available that will reduce your significant amount of work. Check out following documentation</p>
<p><a href="http://msdn.microsoft.com/en-us/library/aa480453.aspx">http://msdn.microsoft.com/en-us/library/aa480453.aspx</a></p>
<p>First we need to install Guidance Automation Extensions. You can download from following link</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C0A394C0-5EEB-47C4-9F7B-71E51866A7ED&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=C0A394C0-5EEB-47C4-9F7B-71E51866A7ED&amp;displaylang=en</a></p>
<p>This is simple setup and you can install easily. Next we need to install Guidance Automation Toolkit. You can download from following link</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E3D101DB-6EE1-4EC5-884E-97B27E49EAAE&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=E3D101DB-6EE1-4EC5-884E-97B27E49EAAE&amp;displaylang=en</a></p>
<p>Next off course download and install Enterprise Library from following link</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=4c557c63-708f-4280-8f0c-637481c31718&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=4c557c63-708f-4280-8f0c-637481c31718&amp;displaylang=en</a></p>
<p>After successful installation you will have solution of Guidance package under Enterprise Library source folder (In my case it is under C:\EntLib3Src). Open solution in visual studio and rebuild project in release mode. May be it will throw some error to some missing reference of assemblies. Search those assemblies in your drive and remove reference in you project and add again. Rebuild again and this time error should be gone if popped up in first attempt.</p>
<p>When you rebuild project in release mode it will create setup in release folder. Install that setup to install guidance package.</p>
<p>One more thing you have to do is to Strong named ObjectBuilder.dll as it is required for Guidance package.</p>
<p><a href="http://objectbuilder.codeplex.com/releases/view/1613">http://objectbuilder.codeplex.com/releases/view/1613</a></p>
<p>Download Object builder solution from above link. Assign strong named key and rebuild project to create strong named assembly. Place this DLL in App Blocks\Lib of you enterprise library installation folder (in my case it is C:\EntLib3Src\App Blocks\Lib).</p>
<p>Now finally create strong named key for your enterprise library solution. Open enterprise library solution in visual studio. Click Tools -&gt; Guidance Package Manager -&gt; Enable/Disable Packages. Check the &#8220;Customer Strong Naming Package&#8221; to enable the package. Select &#8220;Strong-name all projects in this solution&#8221; and click execute. Window wills popup, showing all projects in solution. Select Enterprise library in top and click accept. Now select strong named key you created and check Update InternalsVisibleTo and click finish.</p>
<p>If you encounter any error when you click finish, try to do these steps again. Problem removed sometime on second attempt. If still encounter error so maybe you need to install VS 2005 SP1, most problem gone after installation of SP1. If still you are getting in error then you are in trouble. Surfing internet to find out info related to error as there must be sometime wrong specifically to your environment.</p>
<p>In last you have to run App Blocks\BuildLibraryAndCopyAssemblies.bat in you enterprise library folder (in my case it is C:\EntLib3Src\App Blocks\BuildLibraryAndCopyAssemblies.bat) it will copy all strong named assemblies to bin folder (C:\EntLib3Src\App Blocks\bin).</p>
<p>Now you have strong named assemblies that can be GACed.</p>
<p>One problem I faced that we have to put all configuration in BTSNTSVC.exe.risk. Here also I has some other configuration related to BizTalk. In my organization, we have around 50 application having more than 500 services and we want to implement logging for all our application through Enterprise Library. This can make BTSNTSVC.exe.config at risk as it can be single point of failure for all services. Further digging I found following code to get configuration from external file.</p>
<p><code>LogWriter lw = null;</code></p>
<p><code>FileConfigurationSource fcs = new FileConfigurationSource(@"C:\external.config");</p>
<p>LogWriterFactory lwf = new LogWriterFactory(fcs);</p>
<p>lw = lwf.Create();</p>
<p>lw.Write(objEntry);</p>
<p></code></p>
<p>These codes allow me to define external configuration file for each application or even for each service.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=24&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/08/02/using-enterprise-library-with-biztalk-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>
	</item>
		<item>
		<title>BizTalk Correlation</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/08/02/biztalk-correlation/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/08/02/biztalk-correlation/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 20:24:29 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[middleware]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=14</guid>
		<description><![CDATA[BizTalk Correlation is to correlate any incoming message with currently running instance. Whenever any new message is publish to message box, BizTalk look for the subscription of that message. There can be more than or subscriber in message box and message will be accepted by all subscribers. Message subscription is primarily base on message type [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=14&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>BizTalk Correlation is to correlate any incoming message with currently running instance.</p>
<p>Whenever any new message is publish to message box, BizTalk look for the subscription of that message. There can be more than or subscriber in message box and message will be accepted by all subscribers. Message subscription is primarily base on message type ( MessageNamespace#RootNode) but in the case of correlation this is not enough BizTalk check additional filters. BizTalk will check that their coming message can be associated with any instance of orchestration if so, then it will be deliver to that instance and rejected by all remaining subscribers. If no service instance able to get this message then BizTalk start new service instance of appropriate subscriber and pass that message to that service instance.</p>
<p>Simple example is you have created a service that sent product price to different buyer. Service sends them a rate of any product and they acknowledge on product price or send their suggestion.  Now let say you have around 20 service instance of particular service (running or dehydrated), each service instance have sent price to different buyer and waiting for acknowledge. Now on arrival of response from any buyer, that response must be sent to that service instance that sent that message to buyer. Fair enough!!!!! Here correlation plays their role.</p>
<p>Now let’s talk about how this will do.</p>
<p>First we need to promote property that will use for correlation. This promotion must be property promote and off course we need promptly schema here.</p>
<div id="attachment_15" class="wp-caption aligncenter" style="width: 460px"><a href="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate1.jpg"><img class="size-full wp-image-15" title="bizcorrelate1" src="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate1.jpg?w=450&#038;h=280" alt="" width="450" height="280" /></a><p class="wp-caption-text">BizTalk Correlation Promote Properties</p></div>
<p>I promote OrderId with Property schema pro.xsd to use in orchestration. Second thing is define correlation type. In orchestration view you can add new correlation type in correlation types. Here add OrderId the promoted property for correlation type.</p>
<p style="text-align:center;">
<div id="attachment_16" class="wp-caption aligncenter" style="width: 460px"><a href="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate2.jpg"><img class="size-full wp-image-16" title="bizcorrelate2" src="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate2.jpg?w=450&#038;h=329" alt="" width="450" height="329" /></a><p class="wp-caption-text">BizTalk correlation properties</p></div>
<p>Now create new correlation set in orchestration view under correlation sets and select correlation type that you created before.</p>
<p>Now magic will begin when you tell BizTalk which port will use. In orchestration, at least one receive shape should be active and that will start correlation. Other receive shape can be de active and will follow correlation. There can be more than one active receive shape that can start correlation.</p>
<p>I create simple following orchestration to combine company names from two companies and send to configured send location</p>
<p style="text-align:center;">
<div id="attachment_17" class="wp-caption aligncenter" style="width: 460px"><a href="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate3.jpg"><img class="size-full wp-image-17" title="bizcorrelate3" src="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate3.jpg?w=450&#038;h=269" alt="" width="450" height="269" /></a><p class="wp-caption-text">BizTalk Correlation Orchastration</p></div>
<p>Or ReceivePorderOrderId1 following properties has been set</p>
<p style="text-align:center;">
<div id="attachment_18" class="wp-caption aligncenter" style="width: 460px"><a href="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate4.jpg"><img class="size-full wp-image-18" title="bizcorrelate4" src="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate4.jpg?w=450&#038;h=150" alt="" width="450" height="150" /></a><p class="wp-caption-text">BizTalk Correlation Initializing Port</p></div>
<p>Notice that Receive port is activated and it is initialization correlation that we created. For ReceivePorderOrderId2 following properties has been set</p>
<p style="text-align:center;">
<div id="attachment_19" class="wp-caption aligncenter" style="width: 460px"><a href="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate5.jpg"><img class="size-full wp-image-19" title="bizcorrelate5" src="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate5.jpg?w=450&#038;h=153" alt="" width="450" height="153" /></a><p class="wp-caption-text">BizTalk Correlation Following Port</p></div>
<p>Notice that this receives shape is deactivated and also it is following that correlation that is initializing by ReceivePorderOrderId1. When ReceivePorderOrderId1 receive message orchestration will start and dehydrated and wait for message receive at ReceivePorderOrderId2 and when both message has arrived then orchestration will further proceed to send message at send shape.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=14&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/08/02/biztalk-correlation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>

		<media:content url="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate1.jpg" medium="image">
			<media:title type="html">bizcorrelate1</media:title>
		</media:content>

		<media:content url="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate2.jpg" medium="image">
			<media:title type="html">bizcorrelate2</media:title>
		</media:content>

		<media:content url="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate3.jpg" medium="image">
			<media:title type="html">bizcorrelate3</media:title>
		</media:content>

		<media:content url="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate4.jpg" medium="image">
			<media:title type="html">bizcorrelate4</media:title>
		</media:content>

		<media:content url="http://junaidhassanalvi.files.wordpress.com/2010/08/bizcorrelate5.jpg" medium="image">
			<media:title type="html">bizcorrelate5</media:title>
		</media:content>
	</item>
		<item>
		<title>What is BizTalk????????</title>
		<link>http://junaidhassanalvi.wordpress.com/2010/08/02/what-is-biztalk/</link>
		<comments>http://junaidhassanalvi.wordpress.com/2010/08/02/what-is-biztalk/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 20:03:56 +0000</pubDate>
		<dc:creator>junaidhassanalvi</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[Message Box]]></category>
		<category><![CDATA[middleware]]></category>
		<category><![CDATA[Service Oriented Architecture]]></category>

		<guid isPermaLink="false">http://junaidhassanalvi.wordpress.com/?p=5</guid>
		<description><![CDATA[Life is like an ice cream. Lick it before it melts. I heard word of BizTalk first time in 2006 in a seminar. I did not have enough vision at that time understand it. Then it vanished and come back in my life at 2008. First thing I want to learn what BizTalk is. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=5&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">Life is like an ice cream. Lick it before it melts.</p>
<p style="text-align:left;">
<p>I heard word of BizTalk first time in 2006 in a seminar. I did not have enough vision at that time understand it. Then it vanished and come back in my life at 2008.</p>
<p>First thing I want to learn what BizTalk is. I go through couple of explanations like</p>
<p>-          It is integration tool.</p>
<p>-          It is middle ware.</p>
<p>-          It is messaging engine.</p>
<p>-          And off course it is SOA application</p>
<p>They all might be right depending on your perspective.</p>
<p>If you see BizTalk from bird eye view you will find it middleware. A middle man who work as a communicator between two business, system or/and applications. You can found many diagram on the internet that shows it as a middle man or tunnel that use by two willing systems to exchange their data.</p>
<p>If you want to see it more technically then you can say it is integration or/and transformation tool. With the robust and highly managed framework, BizTalk has infra structure that provided communication channel with capabilities to provide desire data molding and transformation. In organization, some time data exchange with accuracy with minimum effort is desire goal. Here BizTalk play vital role and provide services to exchange data in the form they can understand. It makes to applications transparent to each other and allows them to send and receive information in the way they used to send regardless of what kind of candidate is existing for the information.</p>
<p>It you go further deep you will find it messaging engine based on SOA. To make BizTalk work for every plate form Microsoft used XML. People say BizTalk only understand XML. Not purely, you can also send binary files through BizTalk. But when you want functionality, logging, your business rules then you can only play in XML. BizTalk is SOA (Services Oriented Architecture), many types of adapters are available to interact different kind of systems and can be changes and configured at administration level.</p>
<p>So, this is creepy stuff that can anyone say about BizTalk to impress his Boss, or to clear his interview as introduction. Now let go into deep and taste BizTalk further.</p>
<p>Next I can talk about Message Box. We can talk a look to following image that you can found on many other websites</p>
<p style="text-align:center;">
<div id="attachment_8" class="wp-caption aligncenter" style="width: 460px"><a href="http://junaidhassanalvi.files.wordpress.com/2010/08/messagebox.jpg"><img class="size-full wp-image-8" title="messagebox" src="http://junaidhassanalvi.files.wordpress.com/2010/08/messagebox.jpg?w=450&#038;h=167" alt="messagebox" width="450" height="167" /></a><p class="wp-caption-text">BizTalk Message Box</p></div>
<p>Three major components can be seen</p>
<p>-          Receive Port</p>
<p>-          Message Box</p>
<p>-          Send Port</p>
<p>-          Orchestration</p>
<p>Yeah your guess is right, Receive port where we receive request and send port where we send request but what is message box.</p>
<p>First if we talk about flow of execution. Message reach at receive port through adapter we configure it reaches here as we configure it’s receive location and adapter. Then it goes through pipeline toward message box. From message box, message is sent to the port subscribe for this message. It can be more than one port. Message is published in message box to all recipients. As port is identified, message is sent to orchestration for the port and again come back to message box and then send port’s map and pipeline. Finally adapter send message where it should go. Maps are optional, it is according to need. Pipeline is compulsory, but few built-in pipeline are available and you can use them if you do not want to do anything in pipelines.</p>
<p>Message box is simply we can say a SQL Server Database. Here we define the message arrive should be sent to which port. Message arrived with unique signature; we call it message name space. This name space should be unique in subscription. It helps the BizTalk to transport message to correct location. There is the other type of subscription of message and also untyped messages that are routed on the basis of data that contain but those are beyond scope of overview.</p>
<p>Receive location is further explode into receive location, pipeline and maps. Receive port execution is done such manner, first adapter then pipeline and then port. Receive location is a here as a separate artifact. Configuration of receive location is important to initiate service. Here we define what adapter will be used to get message. Further we can introduce pipeline here. Pipeline is used to perform any operation prior to send message to message box. Normally we used to disassemble any file.</p>
<p>Then inbound maps are faced, here we can mapping operation. BizTalk Mapper is a tool ship with BizTalk Server with vast variety of mapping operations.</p>
<p>Orchestration is an implementation of your business logic. Microsoft provide BizTalk template that will install in Visual Studio having GUI interface for orchestration, map and other component.</p>
<p>Message sent to orchestration on the basis of subscription and then again to Message Box to noted down the changes done in orchestration and finally to send port. On send port we also have map, pipeline and adapter to perform any changes at sending end. This execution occurs in reverse order as compare to receive port means first outbound maps then pipeline and then adapter.</p>
<p>This is execution of any message through BizTalk.</p>
<p>I think enough to digest. If become heavy then take deep breath and have a rest with coffee (it works sometimes).</p>
<p>See you in next flight. Cheers!!!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/junaidhassanalvi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/junaidhassanalvi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/junaidhassanalvi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/junaidhassanalvi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/junaidhassanalvi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/junaidhassanalvi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/junaidhassanalvi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/junaidhassanalvi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/junaidhassanalvi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/junaidhassanalvi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/junaidhassanalvi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/junaidhassanalvi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/junaidhassanalvi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/junaidhassanalvi.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=junaidhassanalvi.wordpress.com&amp;blog=8238680&amp;post=5&amp;subd=junaidhassanalvi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://junaidhassanalvi.wordpress.com/2010/08/02/what-is-biztalk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93e4cf7d1b4e89e11829e28617458dba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">junaidhassanalvi</media:title>
		</media:content>

		<media:content url="http://junaidhassanalvi.files.wordpress.com/2010/08/messagebox.jpg" medium="image">
			<media:title type="html">messagebox</media:title>
		</media:content>
	</item>
	</channel>
</rss>
