<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>My MS Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/maagniho/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/maagniho/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 04:09:28 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>NetCFSvcUtil QFE</title>
      <link>https://docs.microsoft.com/archive/blogs/maagniho/netcfsvcutil-qfe</link>
      <pubDate>Fri, 07 Aug 2009 07:38:00 GMT</pubDate>
      <dc:creator><![CDATA[maagniho]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/maagniho/2009/08/07/netcfsvcutil-qfe/</guid>
      <description><![CDATA[It was brought to our notice that the NetCFSvcUtil.exe crashes while running on Windows Vista SP2...]]></description>
      <content:encoded><![CDATA[<P>It was brought to our notice that the NetCFSvcUtil.exe crashes while running on Windows Vista SP2 and Windows 7 RC operating systems.&nbsp;Today we are releasing a QFE for NetCFSvcUtil.exe which fixes this problem. This QFE can be downloaded <A title=NetCFSvcUtil.exe href="https://download.microsoft.com/download/6/2/0/6205ED05-E435-44FC-AA82-B763CA5F8B1A/NetCFSvcUtil.exe" target=_blank mce_href="https://download.microsoft.com/download/6/2/0/6205ED05-E435-44FC-AA82-B763CA5F8B1A/NetCFSvcUtil.exe">here</A>.</P>
<P>Download this QFE if you need to run this utility on the above operating systems.</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>.NET Framework 3.5 Namespace poster updated for .Net Compact Framework Types</title>
      <link>https://docs.microsoft.com/archive/blogs/maagniho/net-framework-3-5-namespace-poster-updated-for-net-compact-framework-types</link>
      <pubDate>Fri, 29 May 2009 07:01:00 GMT</pubDate>
      <dc:creator><![CDATA[maagniho]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/maagniho/2009/05/29/net-framework-3-5-namespace-poster-updated-for-net-compact-framework-types/</guid>
      <description><![CDATA[Sometime back some of our MVPs pointed out that the .NET Framework 3.5 Namespace poster had several...]]></description>
      <content:encoded><![CDATA[<P>Sometime back some of our MVPs pointed out that the <A class="" title=".NET Framework 3.5 Namespace poster Updated" href="https://blogs.msdn.com/brada/archive/2008/01/12/net-framework-3-5-namespace-poster-updated.aspx" mce_href="https://blogs.msdn.com/brada/archive/2008/01/12/net-framework-3-5-namespace-poster-updated.aspx">.NET Framework 3.5 Namespace poster</A> had several types which were available in .Net Compact Framework but not marked with "CF" in the poster.</P>
<P>We have updated&nbsp;the poster to reflect all types available in .NET Compact Framework. You can get the updated poster in&nbsp;PDF format <A class="" title="'CF Updated .NET Framework 3.5 Namespace poster " href="https://download.microsoft.com/download/9/B/6/9B64192D-7381-451E-8692-B6B450643412/poster_updated.pdf" mce_href="https://download.microsoft.com/download/9/B/6/9B64192D-7381-451E-8692-B6B450643412/poster_updated.pdf">here</A>.</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>.NET CF Hotfix - CF failed to call some HTTPS web servers when encrytpion is enabled</title>
      <link>https://docs.microsoft.com/archive/blogs/maagniho/net-cf-hotfix-cf-failed-to-call-some-https-web-servers-when-encrytpion-is-enabled</link>
      <pubDate>Fri, 29 May 2009 06:34:00 GMT</pubDate>
      <dc:creator><![CDATA[maagniho]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/maagniho/2009/05/29/net-cf-hotfix-cf-failed-to-call-some-https-web-servers-when-encrytpion-is-enabled/</guid>
      <description><![CDATA[Many customers were facing issues with a bug in .NET compact framework where CF failed to call some...]]></description>
      <content:encoded><![CDATA[<P>Many customers were facing issues with a bug in .NET compact framework where CF failed to call some HTTPS web servers when encrytpion is enabled. The core issue here was that SSL decryption breaks and NetCF resets connection if an empty encryption packet is sent. This is had been described in detail by Andrew Arnott <A class="" title="Why .NET Compact Framework fails to call some HTTPS web servers" href="https://blogs.msdn.com/andrewarnottms/archive/2007/11/19/why-net-compact-framework-fails-to-call-some-https-web-servers.aspx" mce_href="https://blogs.msdn.com/andrewarnottms/archive/2007/11/19/why-net-compact-framework-fails-to-call-some-https-web-servers.aspx">here</A>.</P>
<P>Since many customer were hitting this issue .NET CF team has decided to release a hot fix for this. The hostfix is available now for public consumption.To get the hotfix you need to contact Microsoft PSS. The KB no for this hot fix is <A class="" title="FIX: A System.Net.WebException occurs when you run an application to send HTTPS Web requests to a server in an embedded device" href="https://support.microsoft.com/kb/970549" mce_href="https://support.microsoft.com/kb/970549">970549</A>. Users will have to install the fix themselves or ISVs who require the fix for their applications can redistribute it with their applications.</P>
<P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><BR style="mso-special-character: line-break">&nbsp;</P></SPAN>]]></content:encoded>
    </item>
    <item>
      <title>GZip message encoding for WCF applications written using .Net Compact Framework</title>
      <link>https://docs.microsoft.com/archive/blogs/maagniho/gzip-message-encoding-for-wcf-applications-written-using-net-compact-framework</link>
      <pubDate>Wed, 24 Dec 2008 05:15:00 GMT</pubDate>
      <dc:creator><![CDATA[maagniho]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/maagniho/2008/12/24/gzip-message-encoding-for-wcf-applications-written-using-net-compact-framework/</guid>
      <description><![CDATA[WCF technology samples released by Microsoft contain a sample (Custom Message Encoder: Compression...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><FONT face=Calibri size=3>WCF technology samples released by Microsoft contain a sample (</FONT><A href="https://msdn.microsoft.com/en-us/library/ms751458.aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms751458.aspx"><FONT face=Calibri size=3>Custom Message Encoder: Compression Encoder</FONT></A><FONT face=Calibri size=3>) which shows how to write your own custom message encoder (GZip) for desktop WCF applications. In the past there have been a lot of questions regarding how this can be achieved for device applications using .Net Compact Framework.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><FONT face=Calibri size=3>Microsoft has also released a sample GZip encoder for Compact Framework (</FONT><A href="https://go.microsoft.com/fwlink/?LinkId=108652" mce_href="https://go.microsoft.com/fwlink/?LinkId=108652"><FONT face=Calibri size=3>downloadable here</FONT></A><FONT face=Calibri size=3>). This sample contains only the encoder and we have had questions around how to use this successfully in CF applications.</FONT></P>
<P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">In this post I will show how to write a simple Compact Framework application which uses the sample GZip encoder and communicates with the sample desktop WCF service so that both the above questions can be answered.</SPAN></P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal">Step 1 – Installing and modifying the desktop WCF service <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></B></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-add-space: auto; mso-list: l0 level2 lfo1"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">1.1<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN>Download and install the WCF technology samples. You will be able to find the code for the desktop WCF service at &lt;installation path&gt;\WCF Samples\WCF_WF_CardSpace_Samples\WCF\Extensibility \MessageEncoder\Compression\CS \Server</P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-add-space: auto; mso-list: l0 level2 lfo1"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">1.2<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN>Do NOT pick up the GZipEncoder code from here. This implementation uses some desktop specific classes which are not available in Compact Framework.</P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-add-space: auto; mso-list: l0 level2 lfo1"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">1.3<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN>Modify the following line in App.config, replace “localhost” with the name of your development machine.</P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in; TEXT-ALIGN: justify; mso-add-space: auto">&lt;add baseAddress="https://localhost:8000/samples/GZipEncoder"/&gt;</P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.25in; TEXT-ALIGN: justify; mso-add-space: auto"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal">Step 2 – Use NetCFSvcUtil to generate the service metadata and compact framework client proxy<o:p></o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">2.1 NetCFSvcUtil is installed with the Power Toys for .NET Compact Framework 3.5. It is located in the following directory: \Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\bin. Make sure to add this path to you environment variable of you machine.</P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-add-space: auto; mso-list: l1 level2 lfo2"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">2.2<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN>Go to the Bin directory of the Server project in a command prompt and run the following commands in sequence</P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">(1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN>NetCFSvcUtil.exe<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Server.exe</P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">(2)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN>netcfsvcutil *.wsdl *.xsd /language:C#</P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo4"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">(1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN>Will generate the metadata file required for code generation while (2) will generate the C# code for the client proxy.</P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-add-space: auto; mso-list: l1 level2 lfo2"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore">2.3<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN>There will be two source files generated, CFClientBase.cs and …..array.cs. Rename …..array.cs to CFGeneratedCode.cs</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal"><o:p>&nbsp;</o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal"><o:p></o:p></B><B style="mso-bidi-font-weight: normal">Step 3 – Create Compact Framework client application<o:p></o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">3.1 Start VS 2008, File-&gt;New Project, select Smart Device project, Device Application, .NET Compact framework 3.5, and Windows Mobile 5/6 as device (I choose WM 6 Professional SDK).</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">3.2 Once the project is created drop a text box onto the form and create required menu items (the application is attached to this post, hence&nbsp;I will not go in detail)</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">3.3 Copy the files CFClientBase.cs and CFGeneratedCode.cs created in step 2.2 to the project directory and add them to the project.</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal"></B>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal">Step 4 – Adding sample GZip encoder to client application<o:p></o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">4.1 Download and install the sample GZip encoder for Compact Framework (<A href="https://go.microsoft.com/fwlink/?LinkId=108652" mce_href="https://go.microsoft.com/fwlink/?LinkId=108652">downloadable here</A>)</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">4.2 Copy the project/solution to the client application solution directory and add the IndigoGzipSample.csproj to the client application solution</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">4.3 Add the required references, using statements etc to make sure that your application compiles</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal"></B>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal">Step 5 – Using the GZip encoder and running the applications<o:p></o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">5.1 Add the following lines of code to use the GZip encoder in your client application</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.ServiceModel.Channels.<SPAN style="COLOR: #2b91af">CustomBinding</SPAN> customBinding = <SPAN style="COLOR: blue">new</SPAN> System.ServiceModel.Channels.<SPAN style="COLOR: #2b91af">CustomBinding</SPAN>();<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #2b91af">CompressionMessageEncodingBindingElement</SPAN> compressionBindingElement = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">CompressionMessageEncodingBindingElement</SPAN>();<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>customBinding.Elements.Add(compressionBindingElement);<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #2b91af">HttpTransportBindingElement</SPAN> httpBindingElement = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">HttpTransportBindingElement</SPAN>();<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>customBinding.Elements.Add(httpBindingElement);<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #2b91af">EndpointAddress</SPAN> endPoint = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">EndpointAddress</SPAN>(<SPAN style="COLOR: #a31515">"https://&lt;your_machine_name&gt;:8000/samples/GZipEncoder/HttpSampleServer"</SPAN>);<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #2b91af">SampleServerClient</SPAN> client = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">SampleServerClient</SPAN>(customBinding, endPoint);<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">5.2 Compile the application and you are ready to go!!</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"><o:p></o:p><STRONG>Step 6 – Running the service and client application</STRONG></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">6.1 Run the desktop service </P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">6.2 Start the client application (make sure your device is able to talk to your desktop machine and there are no network issues)</P>
<P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">6.3 Click on “Talk to Server” to make the client exchange WCF messages with the server. These messages are GZip encoded. On successful communication you can see the following on the server</SPAN></P>
<P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><A href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/25/16/61/server.jpg" original-url="https://blogs.msdn.com/photos/maagniho/images/9251661/original.aspx" target=_blank><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/25/16/61/server.jpg" original-url="https://blogs.msdn.com/photos/maagniho/images/9251661/original.aspx" border=0></A></SPAN></P>
<P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><A href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com//maagniho/9251661.aspx" original-url="https://blogs.msdn.com/photos/maagniho/picture9251661.aspx" target=_blank></A></SPAN></P>
<P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">And this on the client</SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><A href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/25/16/59/client.jpg" original-url="https://blogs.msdn.com/photos/maagniho/images/9251659/original.aspx" target=_blank><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/25/16/59/client.jpg" original-url="https://blogs.msdn.com/photos/maagniho/images/9251659/original.aspx" border=0></A></SPAN></SPAN></P><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify">You can download the complete source code for the client which is attached to this post.</P></SPAN></SPAN></SPAN>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/25/16/57/CFGZip.zip" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-25-16-57/CFGZip.zip">CFGZip.zip</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>