<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>KNOW24.NET</title>
    <link>http://www.know24.net/blog/</link>
    <description>Development Blog</description>
    <language>en-us</language>
    <copyright>Know24.net</copyright>
    <lastBuildDate>Tue, 06 Mar 2012 10:48:58 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.7067.0</generator>
    <managingEditor>blog.contact@know24.net</managingEditor>
    <webMaster>blog.contact@know24.net</webMaster>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=97e0e0ba-d49b-4dbb-8e3d-f590b67f028b</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,97e0e0ba-d49b-4dbb-8e3d-f590b67f028b.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,97e0e0ba-d49b-4dbb-8e3d-f590b67f028b.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=97e0e0ba-d49b-4dbb-8e3d-f590b67f028b</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
When running the sync framework you may run into a Com Exception similar to the following:
</p>
        <p>
          <strong>Retrieving the COM class factory for component with CLSID {EC413D66-6221-4EBB-AC55-4900FB321011}
failed due to the following error: 80040154 Class not registered (Exception from HRESULT:
0x80040154 (REGDB_E_CLASSNOTREG)).</strong>
        </p>
        <p>
This error occurs due to the application environment not supporting the sync framework
assembly target platform (x32/x64). 
<br />
Also, you will notice is occur during synchronisation of tables and not during provisioning. 
<br /><br />
To solve this problem, ensure that you are building your application against the same
platform target as the assembly type of the sync framework you are using. 
<br />
So for example if you are running your synchronisation code using a Console Application
making use of the x64 Sync framework assemblies, ensure you set your console application
platform target is set to x64 (also ensure your OS is x64). 
<br /><br /><img border="0" alt="ComErrorSyncFramework2.1_BuildConfigure.png" src="http://www.know24.net/blog/content/binary/ComErrorSyncFramework2.1_BuildConfigure.png" width="906" height="512" /><br /><br />
In the scenario where you are sync'ing via a web application or service, ensure IIS app
pool supports the assembly platform type. 
<br />
A typical scenario is where you run a x32 sync framework assembly in an IIS7 x64 website
resulting in a Com Error. In this case you need to specifically configure you IIS
App Pool to support the execution of x32 bit assembly's.
</p>
        <p>
          <img border="0" alt="ComErrorSyncFramework2.1_AppPool.png" src="http://www.know24.net/blog/content/binary/ComErrorSyncFramework2.1_AppPool.png" width="486" height="461" />
        </p>
        <img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=97e0e0ba-d49b-4dbb-8e3d-f590b67f028b" />
      </body>
      <title>Sync Framework 2.1 Com Error</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,97e0e0ba-d49b-4dbb-8e3d-f590b67f028b.aspx</guid>
      <link>http://www.know24.net/blog/Sync+Framework+21+Com+Error.aspx</link>
      <pubDate>Tue, 06 Mar 2012 10:48:58 GMT</pubDate>
      <description>&lt;p&gt;
When running the sync framework you may run into a Com Exception similar to the following:
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Retrieving the COM class factory for component with CLSID {EC413D66-6221-4EBB-AC55-4900FB321011}
failed due to the following error: 80040154 Class not registered (Exception from HRESULT:
0x80040154 (REGDB_E_CLASSNOTREG)).&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
This error occurs due to the application environment not supporting the sync framework
assembly target platform (x32/x64). 
&lt;br&gt;
Also, you will notice is occur during synchronisation of tables and not during provisioning. 
&lt;br&gt;
&lt;br&gt;
To solve this problem, ensure that you are building your application against the&amp;nbsp;same
platform target as the assembly type of the sync framework you are using. 
&lt;br&gt;
So for example if you are running your&amp;nbsp;synchronisation code using a Console Application
making use of the x64 Sync framework assemblies, ensure you set your console application
platform target is set&amp;nbsp;to x64 (also ensure your OS is x64). 
&lt;br&gt;
&lt;br&gt;
&lt;img border=0 alt=ComErrorSyncFramework2.1_BuildConfigure.png src="http://www.know24.net/blog/content/binary/ComErrorSyncFramework2.1_BuildConfigure.png" width=906 height=512&gt;
&lt;br&gt;
&lt;br&gt;
In the scenario where you are sync'ing via a web application or service, ensure IIS&amp;nbsp;app
pool supports the assembly platform type. 
&lt;br&gt;
A typical scenario is where you run a x32 sync framework assembly in an IIS7 x64 website
resulting in a Com Error. In this case you need to specifically configure you IIS
App Pool to support the execution of x32 bit assembly's.
&lt;/p&gt;
&lt;p&gt;
&lt;img border=0 alt=ComErrorSyncFramework2.1_AppPool.png src="http://www.know24.net/blog/content/binary/ComErrorSyncFramework2.1_AppPool.png" width=486 height=461&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=97e0e0ba-d49b-4dbb-8e3d-f590b67f028b" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,97e0e0ba-d49b-4dbb-8e3d-f590b67f028b.aspx</comments>
      <category>Sync Framework 2.1</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I've written quite a few applications for assisting my company/client in migrating
projects over to the Azure platform.<br />
One of which is an assembly compatibility tool which will identify any x32 assemblies
which are not compatible when deployed on Windows Azure.<br /><br />
Below is a screen shot of how it looks. Some assembly names have been censored.
</p>
        <p>
          <img border="0" alt="AzureAssemblyChecker-ConsoleView.png" src="http://www.know24.net/blog/content/binary/AzureAssemblyChecker-ConsoleView.png" width="797" height="211" />
          <br />
          <br />
          <br />
Starting left, what you are seeing here is the compatibility of the assembly. MSIL
stands for Microsoft Intermediate Language meaning that this assembly was compiled
using the "any cpu" biuld parameter in visual studio. Other combination you may see
on your assemblies are x64 or x32. The latter is not supported on Azure and will
display as on line 2 in the console with "Not Compatible" status.<br /><br />
Additionally the version number and build type (debug or release) is displayed which
can prove useful in many instances when migrating large projects requiring many supporting
assemblies.<br /><br />
The application once complete will generate a report (tab deliminated) for your viewing.
See the example below.<br /><br /><img border="0" alt="AzureAssemblyChecker-ReportViewTxt.png" src="http://www.know24.net/blog/content/binary/AzureAssemblyChecker-ReportViewTxt.png" width="712" height="244" /></p>
        <p>
          <strong>Download: </strong>
        </p>
        <p>
          <a href="http://www.know24.net/downloads/app/Azure/AzureAssemblyCheck.zip">Azure Assembly
Compatibility Tool</a> 
</p>
        <p>
          <br />
          <strong>Usage: </strong>
        </p>
        <p>
Extract the files into your applications bin directory and run the executable file.<br /><br /><br />
Enjoy!<br /></p>
        <img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7" />
      </body>
      <title>Azure Assembly Compatibility Tool</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7.aspx</guid>
      <link>http://www.know24.net/blog/Azure+Assembly+Compatibility+Tool.aspx</link>
      <pubDate>Wed, 22 Feb 2012 12:23:48 GMT</pubDate>
      <description>&lt;p&gt;
I've written quite a few applications for assisting my company/client in migrating
projects over to the Azure platform.&lt;br&gt;
One of which is an assembly compatibility tool which will identify any x32 assemblies
which are not compatible when deployed on Windows&amp;nbsp;Azure.&lt;br&gt;
&lt;br&gt;
Below is a screen shot of how it looks. Some assembly names have been censored.
&lt;/p&gt;
&lt;p&gt;
&lt;img border=0 alt=AzureAssemblyChecker-ConsoleView.png src="http://www.know24.net/blog/content/binary/AzureAssemblyChecker-ConsoleView.png" width=797 height=211&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Starting left, what you are seeing here is the compatibility of the assembly. MSIL
stands for Microsoft Intermediate Language meaning that this assembly was compiled
using the "any cpu" biuld parameter in visual studio. Other combination you may see
on your assemblies are x64&amp;nbsp;or x32. The latter is not supported on Azure and will
display as on line 2 in the console with "Not Compatible" status.&lt;br&gt;
&lt;br&gt;
Additionally the version number and build type (debug or release) is displayed which
can prove useful in many instances when migrating large projects requiring many supporting
assemblies.&lt;br&gt;
&lt;br&gt;
The application once complete will generate a report (tab deliminated) for your viewing.
See the example below.&lt;br&gt;
&lt;br&gt;
&lt;img border=0 alt=AzureAssemblyChecker-ReportViewTxt.png src="http://www.know24.net/blog/content/binary/AzureAssemblyChecker-ReportViewTxt.png" width=712 height=244&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Download: &lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.know24.net/downloads/app/Azure/AzureAssemblyCheck.zip"&gt;Azure Assembly
Compatibility Tool&lt;/a&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
&lt;strong&gt;Usage: &lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Extract the files into your applications bin directory and run the executable file.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Enjoy!&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,6db6ae2a-a278-41bb-8eaf-9f0b59c81dd7.aspx</comments>
      <category>Azure</category>
      <category>Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=3a630030-88e6-4ca1-a8a0-97b6f2342992</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,3a630030-88e6-4ca1-a8a0-97b6f2342992.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,3a630030-88e6-4ca1-a8a0-97b6f2342992.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=3a630030-88e6-4ca1-a8a0-97b6f2342992</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I received the following exception today in my local azure development environment
when debugging my application.<br /><br /><img border="0" alt="Azure-FaultException`1.png" src="http://www.know24.net/blog/content/binary/Azure-FaultException%601.png" width="541" height="368" /><br /><br />
The error message goes on to say, "Cannot write configuration file" refering to my
ApplicationHost.config, meaning that whatever is writing to that file either cannot
open the file as its locked or does not have persmissions. I cannot verify either
case as no inner exception existed so I'll need to check through the appfabric docs to
discover what this is about. 
<br /><br /><br />
The solution however was simple in my case and perhaps it can help you solve a similar
issue. 
<br />
What I did was cleaned out my VS project/solution and restarted both my
Computer and Storage emulators. 
<br />
This seem to fix whatever was broken.<br /></p>
        <img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=3a630030-88e6-4ca1-a8a0-97b6f2342992" />
      </body>
      <title>Azure FaultException 1 was unhandled</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,3a630030-88e6-4ca1-a8a0-97b6f2342992.aspx</guid>
      <link>http://www.know24.net/blog/Azure+FaultException+1+Was+Unhandled.aspx</link>
      <pubDate>Wed, 22 Feb 2012 10:57:46 GMT</pubDate>
      <description>&lt;p&gt;
I received the following exception today in my local azure development environment
when debugging my application.&lt;br&gt;
&lt;br&gt;
&lt;img border=0 alt=Azure-FaultException`1.png src="http://www.know24.net/blog/content/binary/Azure-FaultException%601.png" width=541 height=368&gt;
&lt;br&gt;
&lt;br&gt;
The error message goes on to say, "Cannot write configuration file" refering to my
ApplicationHost.config, meaning that whatever is writing to that file either cannot
open the file as its locked or does not have persmissions. I cannot verify either
case as no inner exception existed so I'll need to check through the appfabric docs&amp;nbsp;to
discover what this is about. 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
The solution however was simple in my case and perhaps it can help you solve a similar
issue. 
&lt;br&gt;
What I did was cleaned out&amp;nbsp;my VS project/solution and&amp;nbsp;restarted both my
Computer and Storage emulators. 
&lt;br&gt;
This seem to fix whatever was broken.&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=3a630030-88e6-4ca1-a8a0-97b6f2342992" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,3a630030-88e6-4ca1-a8a0-97b6f2342992.aspx</comments>
      <category>App Fabric</category>
      <category>Azure</category>
      <category>Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=a8295b8e-8cae-45ef-984e-2a3523e064da</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,a8295b8e-8cae-45ef-984e-2a3523e064da.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,a8295b8e-8cae-45ef-984e-2a3523e064da.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a8295b8e-8cae-45ef-984e-2a3523e064da</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
        <!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]-->
        <!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]-->
        <p class="MsoNormal">
          <b>
            <span style="font-family: Tahoma;">Introduction:</span>
          </b>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">Maps Mailer is an interactive console application
designed to stress test your incoming and outgoing and Mail servers.<br />
It works by connecting to your SMTP server and from there generates a large volume
of mails to be received by your incoming mail server.<br />
Once the benchmark cycle completes, MAPSMailer will display the total mails transmitted
per second and the bandwidth consumed.</span>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">
            <br />
            <b>Application Use:</b>
          </span>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">As a mail server administrator it’s beneficial
to know just how much load your servers can handle. 
<br />
This tool can assist you in knowing what the peak operating rate is of your incoming
and outgoing mail servers. Additionally it can assist you in identifying network bottlenecks
and helps you measure the result of your mail server configuration changes. </span>
        </p>
        <span style="font-family: Tahoma;">
          <br />
          <b>Application Platform:</b>
        </span>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">
            <span style="">
            </span>This tool has been written
for the windows platform using the .net framework version 2. Any fairly recent OS
like XP SP2+, Vista, Windows 7 or Windows 2008 comes preloaded with the .net framework
version 2.<br /></span>
        </p>
        <span style="font-family: Tahoma;">
          <br />
          <b>Application Files:</b>
        </span>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">There are two files. The main executable and the
configuration file.</span>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">1. MAPSM.exe<br />
2. MAPSM.exe.config<br /><br /></span>
        </p>
        <p class="MsoNormal">
          <!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
          <!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]-->
          <!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]-->
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">
            <b>Configuration: </b>
            <br />
          </span>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">The configuration is contained in an xml called
app.xml.<br />
Here you set your SMTP username, passwords, port number, SSL flag, sender and recipient
address fields.<br /><br /></span>
        </p>
        <p class="MsoNormal" style="">
          <span style="font-size: 9.5pt; font-family: Consolas; color: rgb(241, 242, 243);">
            <pre>
              <span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;">&lt;?xml
version=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"1.0"</span>?&gt;
&lt;configuration&gt; &lt;appSettings&gt; &lt;!-- server settings --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"SMTPServer"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span> /&gt;
&lt;!-- ip or hostname of your outgoing mail server --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"SMTPUsername"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span> /&gt;
&lt;!-- leave blank <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">if</span> no
username required --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"SMTPPassword"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span> /&gt;
&lt;!-- leave blank <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">if</span> no
password required --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"SMTPUsesSSL"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span> /&gt;
&lt;!-- yes or no --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"SMTPPort"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span> /&gt;
&lt;!-- --&gt; &lt;!-- message settings --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"MessageFrom"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span>/&gt;
&lt;!-- sender@place.com --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"MessageTo"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span>/&gt;
&lt;!-- recipient@place.com --&gt; &lt;add key=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"MessageSub"</span> value=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">""</span>/&gt;
&lt;!-- mail subject line --&gt; &lt;/appSettings&gt; &lt;startup&gt;&lt;supportedRuntime
version=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"v2.0.50727"</span>/&gt;&lt;/startup&gt;&lt;/configuration&gt; </span>
            </pre>
            <br />
 </span>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">
            <b>Running the application:</b>
            <br />
            <br />
Once you configuration is setup. Run the application.<br />
You will be prompted to set the maximum concurrent SMTP connections the program can
use.<br />
The benchmark will run for approximately 30 seconds after which you are presented
with statistics covering the total mails that where sent per second, minute and hour
along with the estimated network bandwidth consumption.</span>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">
            <br />
            <a href="http://www.know24.net/downloads/app/MAPS/MAPSMailer102.zip">Download MAPSMailer</a>.<br /><br /><br /><br />
Enjoy.</span>
        </p>
        <p class="MsoNormal">
          <br />
          <span style="font-family: Tahoma;">
          </span>
        </p>
        <p class="MsoNormal">
          <span style="font-family: Tahoma;">
            <br />
          </span>
        </p>
        <p>
        </p>
        <img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=a8295b8e-8cae-45ef-984e-2a3523e064da" />
      </body>
      <title>Mail Server Benchmarking with MAPSMailer</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,a8295b8e-8cae-45ef-984e-2a3523e064da.aspx</guid>
      <link>http://www.know24.net/blog/Mail+Server+Benchmarking+With+MAPSMailer.aspx</link>
      <pubDate>Fri, 19 Aug 2011 16:44:45 GMT</pubDate>
      <description>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-family: Tahoma;"&gt;Introduction:&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;Maps Mailer is an interactive console application
designed to stress test your incoming and outgoing and Mail servers.&lt;br&gt;
It works by connecting to your SMTP server and from there generates a large volume
of mails to be received by your incoming mail server.&lt;br&gt;
Once the benchmark cycle completes, MAPSMailer will display the total mails transmitted
per second and the bandwidth consumed.&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;
&lt;br&gt;
&lt;b&gt;Application Use:&lt;/b&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;As a mail server administrator it’s beneficial
to know just how much load your servers can handle. 
&lt;br&gt;
This tool can assist you in knowing what the peak operating rate is of your incoming
and outgoing mail servers. Additionally it can assist you in identifying network bottlenecks
and helps you measure the result of your mail server configuration changes. &lt;/span&gt;
&lt;/p&gt;
&lt;span style="font-family: Tahoma;"&gt;
&lt;br&gt;
&lt;b&gt;Application Platform:&lt;/b&gt;&lt;/span&gt; 
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;&lt;span style=""&gt;&lt;/span&gt;This tool has been written
for the windows platform using the .net framework version 2. Any fairly recent OS
like XP SP2+, Vista, Windows 7 or Windows 2008 comes preloaded with the .net framework
version 2.&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;span style="font-family: Tahoma;"&gt;
&lt;br&gt;
&lt;b&gt;Application Files:&lt;/b&gt;&lt;/span&gt; 
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;There are two files. The main executable and the
configuration file.&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;1. MAPSM.exe&lt;br&gt;
2. MAPSM.exe.config&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;&lt;b&gt;Configuration: &lt;/b&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;The configuration is contained in an xml called
app.xml.&lt;br&gt;
Here you set your SMTP username, passwords, port number, SSL flag, sender and recipient
address fields.&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 9.5pt; font-family: Consolas; color: rgb(241, 242, 243);"&gt;&lt;pre&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&amp;lt;?xml
version=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"1.0"&lt;/span&gt;?&amp;gt;
&amp;lt;configuration&amp;gt; &amp;lt;appSettings&amp;gt; &amp;lt;!-- server settings --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"SMTPServer"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt; /&amp;gt;
&amp;lt;!-- ip or hostname of your outgoing mail server --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"SMTPUsername"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt; /&amp;gt;
&amp;lt;!-- leave blank &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;if&lt;/span&gt; no
username required --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"SMTPPassword"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt; /&amp;gt;
&amp;lt;!-- leave blank &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;if&lt;/span&gt; no
password required --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"SMTPUsesSSL"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt; /&amp;gt;
&amp;lt;!-- yes or no --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"SMTPPort"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt; /&amp;gt;
&amp;lt;!-- --&amp;gt; &amp;lt;!-- message settings --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"MessageFrom"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt;/&amp;gt;
&amp;lt;!-- sender@place.com --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"MessageTo"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt;/&amp;gt;
&amp;lt;!-- recipient@place.com --&amp;gt; &amp;lt;add key=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"MessageSub"&lt;/span&gt; value=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;""&lt;/span&gt;/&amp;gt;
&amp;lt;!-- mail subject line --&amp;gt; &amp;lt;/appSettings&amp;gt; &amp;lt;startup&amp;gt;&amp;lt;supportedRuntime
version=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"v2.0.50727"&lt;/span&gt;/&amp;gt;&amp;lt;/startup&amp;gt;&amp;lt;/configuration&amp;gt; &lt;/span&gt;&lt;/pre&gt;
&lt;br&gt;
&amp;nbsp;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;&lt;b&gt;Running the application:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
Once you configuration is setup. Run the application.&lt;br&gt;
You will be prompted to set the maximum concurrent SMTP connections the program can
use.&lt;br&gt;
The benchmark will run for approximately 30 seconds after which you are presented
with statistics covering the total mails that where sent per second, minute and hour
along with the estimated network bandwidth consumption.&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;
&lt;br&gt;
&lt;a href="http://www.know24.net/downloads/app/MAPS/MAPSMailer102.zip"&gt;Download MAPSMailer&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Enjoy.&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;br&gt;
&lt;span style="font-family: Tahoma;"&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-family: Tahoma;"&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=a8295b8e-8cae-45ef-984e-2a3523e064da" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,a8295b8e-8cae-45ef-984e-2a3523e064da.aspx</comments>
      <category>Benchmark</category>
      <category>CSharp / C#</category>
      <category>SMTP</category>
      <category>Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=7c3ba6a8-53c4-414a-a693-18a6d924f1a7</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,7c3ba6a8-53c4-414a-a693-18a6d924f1a7.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,7c3ba6a8-53c4-414a-a693-18a6d924f1a7.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=7c3ba6a8-53c4-414a-a693-18a6d924f1a7</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">I have modified a version of the thread
tooltip preview plugin I found to work in myBB 1.6.3. 
<br />
My php skills and knowledge of myBB's architecture is limited, but I was able to get
it working and stable.<br />
It has been running for a few months on a very busy forum (100k+ page requests per
day) without any problems, so I am comfortable sharing the code now.<br /><br /><br /><font color="#ffa500">Note: Before proceeding with the installation, first backup
your myBB database and uninstall any plugins which also provide thread tooltip support.</font><br /><br /><br /><b>myBB Thread Tooltip Installation:</b><br /><br />
Step 1. Download the plugin <a href="http://www.know24.net/downloads/source/myBB/Plugins/myBBThreadTooltip.zip">here</a>.<br /><br />
Step 2. Place the plugin in your ./inc/plugins directory.<br />
 <br />
Step 3. Login to your Admin CP and install the plugin. (Admin CP --&gt; Home --&gt;
Plugins --&gt; [Locate plugin] --&gt; Click Install)<br /><br />
Step 4. Recount and Rebuild the thread tooltips cache. 
<br /><br />
Installation is complete.<br /><br /><br /><b>Special Notes:</b><br /><br />
1. When when logged in as a Administrator or Moderator, you need to hover over the
thread body to view the thread tooltip preview. This is because myBB allows admins
and moderators to perform one click editing of the thread title.<br /><br />
2. When recounting and rebuilding the thread tooltip cache on large forums, it can
take quite long to complete and puts the DB server under high load. If you receive
an "Internal Server Error", start the rebuilding and recounting process again.<br /><br /><br /><font size="2"><i>Credit: This version of the tooltip was originally made available
by "ZiNgA BuRgA" for use on myBB 1.4.</i></font><br /><br /><br /><br /><br /><p></p><img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=7c3ba6a8-53c4-414a-a693-18a6d924f1a7" /></body>
      <title>myBB 1.6 Thread Tooltip Preview</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,7c3ba6a8-53c4-414a-a693-18a6d924f1a7.aspx</guid>
      <link>http://www.know24.net/blog/myBB+16+Thread+Tooltip+Preview.aspx</link>
      <pubDate>Thu, 18 Aug 2011 10:46:13 GMT</pubDate>
      <description>I have modified a version of the thread tooltip preview plugin I found to work in myBB 1.6.3. &lt;br&gt;
My php skills and knowledge of myBB's architecture is limited, but I was able to get
it working and stable.&lt;br&gt;
It has been running for a few months on a very busy forum (100k+ page requests per
day) without any problems, so I am comfortable sharing the code now.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font color="#ffa500"&gt;Note: Before proceeding with the installation, first backup
your myBB database and uninstall any plugins which also provide thread tooltip support.&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;myBB Thread Tooltip Installation:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
Step 1. Download the plugin &lt;a href="http://www.know24.net/downloads/source/myBB/Plugins/myBBThreadTooltip.zip"&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
Step 2. Place the plugin in your ./inc/plugins directory.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Step 3. Login to your Admin CP and install the plugin. (Admin CP --&amp;gt; Home --&amp;gt;
Plugins --&amp;gt; [Locate plugin] --&amp;gt; Click Install)&lt;br&gt;
&lt;br&gt;
Step 4. Recount and Rebuild the thread tooltips cache. 
&lt;br&gt;
&lt;br&gt;
Installation is complete.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Special Notes:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
1. When when logged in as a Administrator or Moderator, you need to hover over the
thread body to view the thread tooltip preview. This is because myBB allows admins
and moderators to perform one click editing of the thread title.&lt;br&gt;
&lt;br&gt;
2. When recounting and rebuilding the thread tooltip cache on large forums, it can
take quite long to complete and puts the DB server under high load. If you receive
an "Internal Server Error", start the rebuilding and recounting process again.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font size="2"&gt;&lt;i&gt;Credit: This version of the tooltip was originally made available
by "ZiNgA BuRgA" for use on myBB 1.4.&lt;/i&gt;&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=7c3ba6a8-53c4-414a-a693-18a6d924f1a7" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,7c3ba6a8-53c4-414a-a693-18a6d924f1a7.aspx</comments>
      <category>Php</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=5da23f0d-738f-48e5-bc79-33ae6dbd1645</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,5da23f0d-738f-48e5-bc79-33ae6dbd1645.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,5da23f0d-738f-48e5-bc79-33ae6dbd1645.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=5da23f0d-738f-48e5-bc79-33ae6dbd1645</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">Recently I assisted a mate of mine with
making some custom modifications to he's myBB forum (php) and I've decided to post
some of these solutions here here on my blog. 
<br /><br />
The following two solutions I came up with are coming soon.<br /><br />
1. <a href="http://www.know24.net/blog/myBB+16+Thread+Tooltip+Preview.aspx">myBB 1.6
Thread Tooltip Preview</a>.<br />
2. Hiding birthdays of users who are banned or who are waiting activation.<br /><br /><br /><br /><p></p><img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=5da23f0d-738f-48e5-bc79-33ae6dbd1645" /></body>
      <title>myBB Updates</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,5da23f0d-738f-48e5-bc79-33ae6dbd1645.aspx</guid>
      <link>http://www.know24.net/blog/myBB+Updates.aspx</link>
      <pubDate>Thu, 18 Aug 2011 08:58:06 GMT</pubDate>
      <description>Recently I assisted a mate of mine with making some custom modifications to he's myBB forum (php) and I've decided to post some of these solutions here here on my blog. &lt;br&gt;
&lt;br&gt;
The following two solutions I came up with are coming soon.&lt;br&gt;
&lt;br&gt;
1. &lt;a href="http://www.know24.net/blog/myBB+16+Thread+Tooltip+Preview.aspx"&gt;myBB 1.6
Thread Tooltip Preview&lt;/a&gt;.&lt;br&gt;
2. Hiding birthdays of users who are banned or who are waiting activation.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=5da23f0d-738f-48e5-bc79-33ae6dbd1645" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,5da23f0d-738f-48e5-bc79-33ae6dbd1645.aspx</comments>
      <category>Php</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=f8c751aa-58f9-4bce-b9e7-349e1c007a2a</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,f8c751aa-58f9-4bce-b9e7-349e1c007a2a.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,f8c751aa-58f9-4bce-b9e7-349e1c007a2a.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=f8c751aa-58f9-4bce-b9e7-349e1c007a2a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">I ran into a problem where my static images,
css, js and html content in my local Azure Web Application was not loading. 
<br />
Fiddler revealed that the requests where being served with full headers yet with no
content (0 bytes).<br /><br /><img src="http://www.know24.net/blog/images/Articles/21_fiddler.png" alt="21_fiddler.png" height="569" border="0" width="1019" /><br /><br />
Locally developed Azure applications when tested run on IIS not your visual studio
integrated web server.<br />
The problem was that IIS7.5 was not set to serve static content and enabling the feature
solved the problem.<br /><br /><img src="http://www.know24.net/blog/images/Articles/21_add_remove_IIS_features.png" alt="21_add_remove_IIS_features.png" height="375" border="0" width="429" /><br /><br /><br /><p></p><img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=f8c751aa-58f9-4bce-b9e7-349e1c007a2a" /></body>
      <title>AppFabric, Static Content Not Loading</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,f8c751aa-58f9-4bce-b9e7-349e1c007a2a.aspx</guid>
      <link>http://www.know24.net/blog/AppFabric+Static+Content+Not+Loading.aspx</link>
      <pubDate>Sat, 12 Mar 2011 15:57:00 GMT</pubDate>
      <description>I ran into a problem where my static images, css, js and html content in my local Azure Web Application was not loading. &lt;br&gt;
Fiddler revealed that the requests where being served with full headers yet with no
content (0 bytes).&lt;br&gt;
&lt;br&gt;
&lt;img src="http://www.know24.net/blog/images/Articles/21_fiddler.png" alt="21_fiddler.png" height="569" border="0" width="1019"&gt;
&lt;br&gt;
&lt;br&gt;
Locally developed Azure applications when tested run on IIS not your visual studio
integrated web server.&lt;br&gt;
The problem was that IIS7.5 was not set to serve static content and enabling the feature
solved the problem.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://www.know24.net/blog/images/Articles/21_add_remove_IIS_features.png" alt="21_add_remove_IIS_features.png" height="375" border="0" width="429"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=f8c751aa-58f9-4bce-b9e7-349e1c007a2a" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,f8c751aa-58f9-4bce-b9e7-349e1c007a2a.aspx</comments>
      <category>App Fabric</category>
      <category>Azure</category>
      <category>IIS</category>
      <category>Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=4da87677-009b-479c-8b9a-f12245479dea</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,4da87677-009b-479c-8b9a-f12245479dea.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,4da87677-009b-479c-8b9a-f12245479dea.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=4da87677-009b-479c-8b9a-f12245479dea</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Here is a simple method of ensure all requests to your application domain include
the WWW subdomain prefix. 
<br />
Place the following code in your Global.asax file.<br /><br />
Note: Uncomment the code in the RedirectToWWW method should you need to prevent redirects
while testing locally.
</p>
        <pre dir="ltr">
          <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px">
            <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">//
global.asax</span>
            <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">protected</span>
            <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">void</span> Application_BeginRequest(Object
sender, EventArgs e) { RedirectToWWW(); } <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">private</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">static</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">void</span> RedirectToWWW()
    { <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">      //
prevent adding www. when testing</span>       <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">//
if (HttpContext.Current.Request.Url.ToString().ToLower().Contains("localhost"))</span>       <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">//
return;</span>             <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">//
Redirect to www.clienturl.com if the user types in clienturl.com.</span>             <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">if</span> (HttpContext.Current.Request.Url
!<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">null</span>                 &amp;&amp;
!String.IsNullOrEmpty(HttpContext.Current.Request.Url.Host)                
                &amp;&amp;
!HttpContext.Current.Request.Url.Host.ToLower().StartsWith(<span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"www"</span>))
            {                 HttpContext.Current.Response.Redirect(<span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"http://www."</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">+</span> HttpContext.Current.Request.Url.Host <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">+</span> HttpContext.Current.Request.Url.AbsolutePath);
            }      }<br /></span>
        </pre>
        <img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=4da87677-009b-479c-8b9a-f12245479dea" />
      </body>
      <title>Redirect all pages to WWW</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,4da87677-009b-479c-8b9a-f12245479dea.aspx</guid>
      <link>http://www.know24.net/blog/Redirect+All+Pages+To+WWW.aspx</link>
      <pubDate>Wed, 09 Mar 2011 09:42:21 GMT</pubDate>
      <description>&lt;p&gt;
Here is a simple method of ensure all requests to your application&amp;nbsp;domain include
the&amp;nbsp;WWW subdomain prefix. 
&lt;br&gt;
Place the following code in your Global.asax file.&lt;br&gt;
&lt;br&gt;
Note: Uncomment the code in the RedirectToWWW method should you need to prevent redirects
while testing locally.
&lt;/p&gt;
&lt;pre dir=ltr&gt;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px"&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;//
global.asax&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;protected&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;void&lt;/span&gt; Application_BeginRequest(Object
sender, EventArgs e) { RedirectToWWW(); } &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;private&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;static&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;void&lt;/span&gt; RedirectToWWW()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//
prevent adding www. when testing&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;//
if (HttpContext.Current.Request.Url.ToString().ToLower().Contains("localhost"))&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;//
return;&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;//
Redirect to www.clienturl.com if the user types in clienturl.com.&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;if&lt;/span&gt; (HttpContext.Current.Request.Url
!&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;null&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;&amp;amp;
!String.IsNullOrEmpty(HttpContext.Current.Request.Url.Host)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;&amp;amp;
!HttpContext.Current.Request.Url.Host.ToLower().StartsWith(&lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"www"&lt;/span&gt;))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HttpContext.Current.Response.Redirect(&lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"http://www."&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;+&lt;/span&gt; HttpContext.Current.Request.Url.Host &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;+&lt;/span&gt; HttpContext.Current.Request.Url.AbsolutePath);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=4da87677-009b-479c-8b9a-f12245479dea" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,4da87677-009b-479c-8b9a-f12245479dea.aspx</comments>
      <category>Code Snippets</category>
      <category>CSharp / C#</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=2450073f-8335-45ec-9f09-f031f64c2d9f</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,2450073f-8335-45ec-9f09-f031f64c2d9f.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,2450073f-8335-45ec-9f09-f031f64c2d9f.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=2450073f-8335-45ec-9f09-f031f64c2d9f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <i>Could not load file or assembly 'Telerik.Web.UI,
Version=, Culture=neutral, PublicKeyToken=' or one of its dependencies. 
<br />
The located assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)</i>
        <br />
        <br />
When using Telerik Rad Controls for asp.net you may encounter assembly reference exceptions
when using a more recent version of RadControls against a website compiled using an
older version of Rad Controls.<br />
Traditionally to resolve this problem one would download the latest Rad Controls and
re-compile the project and publish this to the live environment. 
<br />
There is a simpler fix however, one that bypasses the need to recompile each website
and its done be specifying a runtime configuration element in your web.config file. 
<br /><br />
Here is the code. Remember to set the newVersion attribute to the version of Rad Controls
for ASP.NET that you are using.<span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"><br /><br />
&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">runtime</span>&gt;<span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"><br />
    &lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">assemblyBinding</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">xmlns</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span>"<span style="color: blue;">urn:schemas-microsoft-com:asm.v1</span>"<span style="color: blue;">&gt;</span><br /><p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">     
&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">probing</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">privatePath</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">"<span style="color: blue;">bin;</span>"<span style="color: blue;"> /&gt;</span><br />
      &lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">dependentAssembly</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<br />
        &lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">assemblyIdentity</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">"<span style="color: blue;">Telerik.Web.UI</span>"<span style="color: blue;"></span><span style="color: red;">culture</span><span style="color: blue;">=</span>"<span style="color: blue;">neutral</span>"<span style="color: blue;"></span><span style="color: red;">publicKeyToken</span><span style="color: blue;">=</span>"<span style="color: blue;">121fae78165ba3d4</span>"<span style="color: blue;"> /&gt;</span><br />
        &lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">bindingRedirect</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">oldVersion</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">"<span style="color: blue;">0.0.0.0-65535.65535.65535.65535</span>"<span style="color: blue;"></span><span style="color: red;">newVersion</span><span style="color: blue;">=</span>"<span style="color: blue;">2010.1.519.35</span>"<span style="color: blue;">/&gt;</span><br />
      &lt;/</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">dependentAssembly</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<br />
    &lt;/</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">assemblyBinding</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<br />
&lt;/</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(163, 21, 21);">runtime</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></p>
This web.config configuration informs the asp.net runtime to use your latest version
of Rad Controls even if the project was compiled against an older version.<br /><p></p><img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=2450073f-8335-45ec-9f09-f031f64c2d9f" /></body>
      <title>[FIXED] Could not load file or assembly Telerik.Web.UI</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,2450073f-8335-45ec-9f09-f031f64c2d9f.aspx</guid>
      <link>http://www.know24.net/blog/FIXED+Could+Not+Load+File+Or+Assembly+TelerikWebUI.aspx</link>
      <pubDate>Fri, 10 Dec 2010 11:45:46 GMT</pubDate>
      <description>&lt;i&gt;Could not load file or assembly 'Telerik.Web.UI, Version=, Culture=neutral, PublicKeyToken='
or one of its dependencies. 
&lt;br&gt;
The located assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)&lt;/i&gt;
&lt;br&gt;
&lt;br&gt;
When using Telerik Rad Controls for asp.net you may encounter assembly reference exceptions
when using a more recent version of RadControls against a website compiled using an
older version of Rad Controls.&lt;br&gt;
Traditionally to resolve this problem one would download the latest Rad Controls and
re-compile the project and publish this to the live environment. 
&lt;br&gt;
There is a simpler fix however, one that bypasses the need to recompile each website
and its done be specifying a runtime configuration element in your web.config file. 
&lt;br&gt;
&lt;br&gt;
Here is the code. Remember to set the newVersion attribute to the version of Rad Controls
for ASP.NET that you are using.&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;
&lt;br&gt;
&lt;br&gt;
&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;runtime&lt;/span&gt;&amp;gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;assemblyBinding&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;xmlns&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;urn:schemas-microsoft-com:asm.v1&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;probing&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;privatePath&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;"&lt;span style="color: blue;"&gt;bin;&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;dependentAssembly&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;assemblyIdentity&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;"&lt;span style="color: blue;"&gt;Telerik.Web.UI&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;culture&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;neutral&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;publicKeyToken&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;121fae78165ba3d4&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;bindingRedirect&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;oldVersion&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;"&lt;span style="color: blue;"&gt;0.0.0.0-65535.65535.65535.65535&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;newVersion&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;2010.1.519.35&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;dependentAssembly&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;assemblyBinding&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;br&gt;
&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(163, 21, 21);"&gt;runtime&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
This web.config configuration informs the asp.net runtime to use your latest version
of Rad Controls even if the project was compiled against an older version.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=2450073f-8335-45ec-9f09-f031f64c2d9f" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,2450073f-8335-45ec-9f09-f031f64c2d9f.aspx</comments>
      <category>Telerik</category>
      <category>Visual Studio 2010</category>
      <category>VS2008</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=88e2d0c7-289d-4b2d-8aa5-b539faf682eb</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,88e2d0c7-289d-4b2d-8aa5-b539faf682eb.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,88e2d0c7-289d-4b2d-8aa5-b539faf682eb.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=88e2d0c7-289d-4b2d-8aa5-b539faf682eb</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">I ran into a small problem in Silverlight
today where I was quering a static list via linq and populating another custom list
with the result. 
<br />
When I proceeded to modify the values of the second list, the first list's values
changed as well. 
<br />
This is when I realised my mistake. LinQ never returns a copy/clone of a queried list,
it returns the pointer/reference to the list.<br /><br />
So, the obvious solution was to clone/copy my object list and perform any changes
I needed to on the cloned list.<br />
The simplest approach to achieving this is to serialise our object list and deserialise
it again. This will cause a copy of it be made in memory which we cast back to a new
object list. 
<br /><br /><b>Here is how:</b><br /><br />
Firstly you will need to include Rockford Lhotka's Silverlight Serializer, you can
download the class file <a href="http://www.know24.net/downloads/source/SilverlightSerializer.cs.txt">here</a>.<br />
As Silverlight is running a slightly modified/minified version of .net, its missing
a serialisation feature which this class file provides.<br /><br />
Next we write our object Clone method as follows:<br /><pre><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">public</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">static</span> T
Clone&lt;T&gt;(T obj) { <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">using</span> (MemoryStream
stream <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">new</span> MemoryStream())
{ SilverlightSerializer.Serialize(obj, stream); stream.Position <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> 0; <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">return</span> (T)
SilverlightSerializer.Deserialize(stream); } }</span></pre><br />
And lastly here is an example of how to call the Clone method.<br /><br /><pre><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
get records matching year and month</span> var iEnumSales <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> dsc.Where(x
=&gt; x.YearMonth.Year == year &amp;&amp; x.YearMonth.Month == month).ToList(); 
<br />
var salesList <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">new</span> DailySalesCollection(); <span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
to prevent modifying the static collection later, we clone/copy the iEnumSales linq
query results</span><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"></span> salesList.AddRange(ObjectHelper.Clone(iEnumSales));</span></pre><br />
Thats it for today. 
<br /><br /><br /><p></p><img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=88e2d0c7-289d-4b2d-8aa5-b539faf682eb" /></body>
      <title>Object Cloning in Silverlight</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,88e2d0c7-289d-4b2d-8aa5-b539faf682eb.aspx</guid>
      <link>http://www.know24.net/blog/Object+Cloning+In+Silverlight.aspx</link>
      <pubDate>Wed, 06 Oct 2010 17:41:41 GMT</pubDate>
      <description>I ran into a small problem in Silverlight today where I was quering a static list via linq and populating another custom list with the result. &lt;br&gt;
When I proceeded to modify the values of the second list, the first list's values
changed as well. 
&lt;br&gt;
This is when I realised my mistake. LinQ never returns a copy/clone of a queried list,
it returns the pointer/reference to the list.&lt;br&gt;
&lt;br&gt;
So, the obvious solution was to clone/copy my object list and perform any changes
I needed to on the cloned list.&lt;br&gt;
The simplest approach to achieving this is to serialise our object list and deserialise
it again. This will cause a copy of it be made in memory which we cast back to a new
object list. 
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Here is how:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
Firstly you will need to include Rockford Lhotka's Silverlight Serializer, you can
download the class file &lt;a href="http://www.know24.net/downloads/source/SilverlightSerializer.cs.txt"&gt;here&lt;/a&gt;.&lt;br&gt;
As Silverlight is running a slightly modified/minified version of .net, its missing
a serialisation feature which this class file provides.&lt;br&gt;
&lt;br&gt;
Next we write our object Clone method as follows:&lt;br&gt;
&lt;pre&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;public&lt;/span&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;static&lt;/span&gt; T
Clone&amp;lt;T&amp;gt;(T obj) { &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;using&lt;/span&gt; (MemoryStream
stream &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;new&lt;/span&gt; MemoryStream())
{ SilverlightSerializer.Serialize(obj, stream); stream.Position &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; 0; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;return&lt;/span&gt; (T)
SilverlightSerializer.Deserialize(stream); } }&lt;/span&gt;&lt;/pre&gt;
&lt;br&gt;
And lastly here is an example of how to call the Clone method.&lt;br&gt;
&lt;br&gt;
&lt;pre&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt; &lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
get records matching year and month&lt;/span&gt; var iEnumSales &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; dsc.Where(x
=&amp;gt; x.YearMonth.Year == year &amp;amp;&amp;amp; x.YearMonth.Month == month).ToList(); 
&lt;br&gt;
var salesList &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;new&lt;/span&gt; DailySalesCollection(); &lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
to prevent modifying the static collection later, we clone/copy the iEnumSales linq
query results&lt;/span&gt; &lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&lt;/span&gt; salesList.AddRange(ObjectHelper.Clone(iEnumSales));&lt;/span&gt;&lt;/pre&gt;
&lt;br&gt;
Thats it for today. 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=88e2d0c7-289d-4b2d-8aa5-b539faf682eb" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,88e2d0c7-289d-4b2d-8aa5-b539faf682eb.aspx</comments>
      <category>Silverlight</category>
      <category>Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=a319a07e-af1b-4d33-8887-4f9eb2ef1f09</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,a319a07e-af1b-4d33-8887-4f9eb2ef1f09.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,a319a07e-af1b-4d33-8887-4f9eb2ef1f09.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a319a07e-af1b-4d33-8887-4f9eb2ef1f09</wfw:commentRss>
      <title>Visual Studio 2010 - Performance Profiler</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,a319a07e-af1b-4d33-8887-4f9eb2ef1f09.aspx</guid>
      <link>http://www.know24.net/blog/Visual+Studio+2010+Performance+Profiler.aspx</link>
      <pubDate>Mon, 16 Aug 2010 18:47:01 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso"&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:36.0pt;
	mso-footer-margin:36.0pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso"&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal" style="margin-bottom: 10pt; line-height: 115%;"&gt;
&lt;span style="font-size: 11pt; line-height: 115%; font-family: Calibri;" lang="EN"&gt;The
VS 2010 Profiler allows you to analyse your running application to identify code-performance
bottlenecks and correct them. 
&lt;br&gt;
The Profiler also gives a good overview on how efficient an application is.&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 10pt; line-height: 115%;"&gt;
&lt;span style="font-size: 11pt; line-height: 115%; font-family: Calibri;" lang="EN"&gt;&lt;img src="http://www.know24.net/blog/images/performancereport.jpg"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600"
 o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
 stroked="f"&gt;
 &lt;v:stroke joinstyle="miter"/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn="if lineDrawn pixelLineWidth 0"/&gt;
  &lt;v:f eqn="sum @0 1 0"/&gt;
  &lt;v:f eqn="sum 0 0 @1"/&gt;
  &lt;v:f eqn="prod @2 1 2"/&gt;
  &lt;v:f eqn="prod @3 21600 pixelWidth"/&gt;
  &lt;v:f eqn="prod @3 21600 pixelHeight"/&gt;
  &lt;v:f eqn="sum @0 0 1"/&gt;
  &lt;v:f eqn="prod @6 1 2"/&gt;
  &lt;v:f eqn="prod @7 21600 pixelWidth"/&gt;
  &lt;v:f eqn="sum @8 21600 0"/&gt;
  &lt;v:f eqn="prod @7 21600 pixelHeight"/&gt;
  &lt;v:f eqn="sum @10 21600 0"/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/&gt;
 &lt;o:lock v:ext="edit" aspectratio="t"/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:664.5pt;
 height:465.75pt'&gt;
 &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.png"
  o:title=""/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;
&lt;!--[if !vml]--&gt;
&lt;!--[endif]--&gt;&lt;span style="font-size: 11pt; line-height: 115%; font-family: Calibri;" lang="EN"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 10pt; line-height: 115%;"&gt;
&lt;span style="font-size: 11pt; line-height: 115%; font-family: Calibri;" lang="EN"&gt;After
running the profiler on your application it provides you with a report composed of
a line Chart displaying the CPU usage, a Hot Path displaying the most expensive calls
and a list of functions which are consuming the most processor time in your app.&lt;br&gt;
The line-chart allows you to identify CPU-Application spikes and drill down into it
to uncover what code caused that spike.&lt;br&gt;
Additionally, something useful for us is the ability to enable recording of all ADO
calls to DB stored procedures to get a good understanding on how often in our app
we are hitting the DB.&lt;br style=""&gt;
&lt;!--[if !supportLineBreakNewLine]--&gt;
&lt;br style=""&gt;
&lt;!--[endif]--&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 10pt; line-height: 115%;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 11pt; line-height: 115%; font-family: Calibri;" lang="EN"&gt;Getting
Started&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 10pt; line-height: 115%;"&gt;
&lt;span style="font-size: 11pt; line-height: 115%; font-family: Calibri;" lang="EN"&gt;To
get started is straight forward. 
&lt;br&gt;
1. Open your application in VS2010, Select Debug &lt;/span&gt;&lt;span style="font-size: 11pt; line-height: 115%; font-family: Wingdings;" lang="EN"&gt;&lt;span style=""&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 11pt; line-height: 115%; font-family: Calibri;" lang="EN"&gt; Start
Performance Analysis. 
&lt;br&gt;
2. A configuration wizard will open, click Next, Next Finish. 
&lt;br&gt;
3. The Profiler will now run in the background, in the meantime begin making use of
your application to allow the Profiler to record the apps resource usage.&lt;br&gt;
&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;
&lt;br&gt;
Once you are done, stop debugging or stop your application which will lead to the
performance report being generated and displayed for you. 
&lt;br&gt;
To change what the profiler tests, see the performance profiler properties to enable
features like ADO logging and more.&lt;br&gt;
&lt;!--[endif]--&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=a319a07e-af1b-4d33-8887-4f9eb2ef1f09" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,a319a07e-af1b-4d33-8887-4f9eb2ef1f09.aspx</comments>
      <category>Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://www.know24.net/blog/Trackback.aspx?guid=82c577c9-7b6f-4eff-9702-f8e48dd5025a</trackback:ping>
      <pingback:server>http://www.know24.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.know24.net/blog/PermaLink,guid,82c577c9-7b6f-4eff-9702-f8e48dd5025a.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://www.know24.net/blog/CommentView,guid,82c577c9-7b6f-4eff-9702-f8e48dd5025a.aspx</wfw:comment>
      <wfw:commentRss>http://www.know24.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=82c577c9-7b6f-4eff-9702-f8e48dd5025a</wfw:commentRss>
      <title>ASP.NET HTTP 301 Redirect</title>
      <guid isPermaLink="false">http://www.know24.net/blog/PermaLink,guid,82c577c9-7b6f-4eff-9702-f8e48dd5025a.aspx</guid>
      <link>http://www.know24.net/blog/ASPNET+HTTP+301+Redirect.aspx</link>
      <pubDate>Mon, 26 Apr 2010 17:26:24 GMT</pubDate>
      <description>We recently migrated a clients domain from domainA.com to domainB.com.&lt;br&gt;
If you are familiar with search engines and indexing, migrated domains that do not
have proper 301 redirects pointing from the old domain to the new will cause the new
domain to miss a lot of search engine traffic. The new domain will in fact have to
start all over again and get re-indexed by search engines which can take months.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;How do you prevent this? &lt;/b&gt;
&lt;br&gt;
Simple, setup a global HTTP 301 url redirect on your old domain.&lt;br&gt;
Any requests to the old domain will be redirected permanently to the new domain, including
the path and query so that your new domain gets all the traffic the new domain would.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Why use a HTTP 301 redirect?&lt;/b&gt;
&lt;br&gt;
Well, by doing a 301 redirect, any search engines following the redirect would remember
that you want to permanently update your link. This way the SE will update its records
and by doing this your domain's current rankings will be better maintained.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;How do you implement a global HTTP 301 redirect?&lt;/b&gt;
&lt;br&gt;
In ASP.NET, it requires editing the global.asax's application_beginrequest event. 
&lt;br&gt;
See the code sample below:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
&lt;meta name="ProgId" content="Word.Document"&gt;
&lt;meta name="Generator" content="Microsoft Word 11"&gt;
&lt;meta name="Originator" content="Microsoft Word 11"&gt;
&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;protected&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; Application_BeginRequest(Object
sender, EventArgs e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
url exists?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;if&lt;/span&gt; (Request.Url
!= &lt;span style="color: blue;"&gt;null&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
301-redirect for domainA.com to DomainB.com&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;string&lt;/span&gt; key
= &lt;span style="color: rgb(163, 21, 21);"&gt;"domainA.com"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;if&lt;/span&gt; (Request.Url.Host.ToLower().Contains(key)
== &lt;span style="color: blue;"&gt;true&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Response.ClearHeaders();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Response.Status
= &lt;span style="color: rgb(163, 21, 21);"&gt;"301 Moved Permanently"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Response.AddHeader(&lt;span style="color: rgb(163, 21, 21);"&gt;"Location"&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;"http://www.domainB.com"&lt;/span&gt; +
Request.Url.PathAndQuery);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;return&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;
&lt;/p&gt;
&lt;br&gt;
So for example if we receive an incoming url on http://domainA.com/product.aspx?id=5
, this will redirected to 
&lt;br&gt;
http://domainB.com/product.aspx?id=5. 
&lt;br&gt;
Search engine's will update their links and your site will benefit from a good amount
of traffic from your old domain.&lt;br&gt;
&lt;br&gt;
Hope this helps you!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.know24.net/blog/aggbug.ashx?id=82c577c9-7b6f-4eff-9702-f8e48dd5025a" /&gt;</description>
      <comments>http://www.know24.net/blog/CommentView,guid,82c577c9-7b6f-4eff-9702-f8e48dd5025a.aspx</comments>
      <category>ASP.NET 2</category>
      <category>CSharp / C#</category>
      <category>VS2008</category>
    </item>
  </channel>
</rss>
