<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PGS Software &#187; aspx</title>
	<atom:link href="http://www.pgs-soft.com/tag/aspx/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pgs-soft.com</link>
	<description>Nearshore Outsourcing IT Company - Offshore Development</description>
	<lastBuildDate>Fri, 30 Jul 2010 09:54:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Installing AWStats on IIS 7.0 &#8211; time-taken extra section</title>
		<link>http://www.pgs-soft.com/installing-awstats-on-iis-7-0-time-taken-extra-section.html</link>
		<comments>http://www.pgs-soft.com/installing-awstats-on-iis-7-0-time-taken-extra-section.html#comments</comments>
		<pubDate>Thu, 04 Mar 2010 13:43:46 +0000</pubDate>
		<dc:creator>mstankala</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[AWStats]]></category>
		<category><![CDATA[IIS 6.0]]></category>
		<category><![CDATA[IIS 7.0]]></category>
		<category><![CDATA[logfile time-taken field]]></category>
		<category><![CDATA[tips & tricks]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=3462</guid>
		<description><![CDATA[AWStats is an open-source Log analyzer than can be easily configured to work with IIS logs. My AWStats configuration for IIS7 is based on a great instruction written by Simon Schofield Installing AWStats on IIS 6.0 (Including IIS 5.1) &#8211; Revision 3.0. But &#8220;out of the box&#8221; AWStats doesn&#8217;t provide any statistics for the time-taken [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Finstalling-awstats-on-iis-7-0-time-taken-extra-section.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Finstalling-awstats-on-iis-7-0-time-taken-extra-section.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignright size-full wp-image-3464" src="http://www.pgs-soft.com/wp-content/uploads/2010/03/AWStats_IIS7.jpg" alt="" width="415" /></p>
<p><a href="http://awstats.sourceforge.net/#DOWNLOAD">AWStats</a> is an open-source Log analyzer than can be easily configured to work with IIS logs.</p>
<p>My AWStats configuration for IIS7 is based on a great instruction written by Simon Schofield <a href="http://www.ihsen.com/support/InstallingAWStatsOnIIS6.pdf">Installing AWStats on IIS 6.0</a> (Including IIS 5.1) &#8211; Revision 3.0.</p>
<p>But &#8220;out of the box&#8221; AWStats doesn&#8217;t provide any statistics for the <strong>time-taken</strong> IIS logfile field. It also can&#8217;t be configured, using the provided <a href="http://awstats.sourceforge.net/docs/awstats_extra.html">Extra Section</a> feature.</p>
<p>But it can be &#8220;easily&#8221; added, by updating the core <strong>awstat.pl</strong> configuration file.</p>
<p>Find below my updated instruction <strong>how-to install AWStats on IIS 7.0</strong> and <strong>include in the Extra Section the Time-taken statistics</strong>, which displays the <strong>average of time-taken</strong> to display a specific <strong>ASPX page</strong>:</p>
<p><strong>INSTRUCTION</strong> for AWStats 6.95 (build 1.943) :<br />
<a href="http://www.pgs-soft.com/wp-content/uploads/2010/03/InstallingAWStatsOnIIS6_IIS7.pdf">Installing AWStats on IIS 7.0 and IIS 6.0 including time-taken statistics</a><br />
<strong>DOWNLOAD awstats.pl</strong>:<br />
<a href='http://www.pgs-soft.com/wp-content/uploads/2010/03/awstats.zip'>Updated awstats.pl configuration file</a>, that include the IIS <strong>time-taken</strong> statistics.</p>
<p>***********************************************<br />
<strong>A very short description:</strong></p>
<p>First in the <strong>LogFormat</strong> string a new extra parameter was specified:<br />
<code>LogFormat="%time2 %method %url %other %logname %host %other %ua %query %virtualname %code %bytesd <strong>%extra1</strong>"</code></p>
<p>In the awstats.pl file the lines of code responsible for counting the page hits, were replaced by computing the average of time-taken to open a webpage &#8211; new variable was introduced for that. Additionally the web-report(general and detailed) column title was changed to &#8220;Avg Time Taken[ms]&#8220;:<br />
<a href="http://www.pgs-soft.com/wp-content/uploads/2010/03/time-taken-1.jpg"><img src="http://www.pgs-soft.com/wp-content/uploads/2010/03/time-taken-1.jpg" alt="" width="505" class="alignright size-full wp-image-3483" /></a></p>
<p>An <strong> example of the AWStats time-taken statistics for IIS 7.0</strong>:<br />
<a href="http://www.pgs-soft.com/wp-content/uploads/2010/03/AWStats_IIS7_time-taken_section.jpg"><img class="alignright size-full wp-image-3477" src="http://www.pgs-soft.com/wp-content/uploads/2010/03/AWStats_IIS7_time-taken_section.jpg" alt="" width="505" /></a></p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/installing-awstats-on-iis-7-0-time-taken-extra-section.html#comments">Comments (4)</a> - originally posted here <a href="http://www.pgs-soft.com/installing-awstats-on-iis-7-0-time-taken-extra-section.html">http://www.pgs-soft.com/installing-awstats-on-iis-7-0-time-taken-extra-section.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html' rel='bookmark' title='Permanent Link: Web Deployment Project &#8211; Visual Studio 2008 Add-in'>Web Deployment Project &#8211; Visual Studio 2008 Add-in</a></li>
<li><a href='http://www.pgs-soft.com/hosting-asp-net-application-on-a-shared-server.html' rel='bookmark' title='Permanent Link: Hosting ASP.Net application on a shared server'>Hosting ASP.Net application on a shared server</a></li>
<li><a href='http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html' rel='bookmark' title='Permanent Link: Ajax Control Toolkit &#8211; PageRequestManagerTimeOutException'>Ajax Control Toolkit &#8211; PageRequestManagerTimeOutException</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/installing-awstats-on-iis-7-0-time-taken-extra-section.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Web Deployment Project &#8211; Visual Studio 2008 Add-in</title>
		<link>http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html</link>
		<comments>http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 10:50:40 +0000</pubDate>
		<dc:creator>mstankala</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[AfterBuild]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[BeforeBuild]]></category>
		<category><![CDATA[merging assemblies]]></category>
		<category><![CDATA[pluggable configuration files]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tips & tricks]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[WebDeploymentProject]]></category>
		<category><![CDATA[WebDeploymentSetup]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=3174</guid>
		<description><![CDATA[Visual Studio Web Deployment Projects, provide additional functionality to build and deploy Web sites and Web applications in Visual Studio 2008. This Add-In can be downloaded from Microsoft website: Web Deployment Projects. The Visual Studio built-in &#8220;Copy Website&#8221; and &#8220;Publish Website&#8221; options are lacking of flexibility. Web Deployment Projects provides additional functionality for example: - [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Fwebdeploymentsetup-visual-studio-2008-add-in.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Fwebdeploymentsetup-visual-studio-2008-add-in.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.pgs-soft.com/wp-content/uploads/2010/02/webdeploymentproject.jpg"><img src="http://www.pgs-soft.com/wp-content/uploads/2010/02/webdeploymentproject.jpg" alt="webdeploymentproject" width="420" class="aligncenter size-full wp-image-3176" /></a></p>
<p>Visual Studio Web Deployment Projects, provide additional functionality to build and deploy Web sites and Web applications in Visual Studio 2008. This Add-In can be downloaded from Microsoft website: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;displaylang=en">Web Deployment Projects</a>.</p>
<p>The Visual Studio built-in &#8220;Copy Website&#8221; and &#8220;Publish Website&#8221; options are lacking of flexibility. Web Deployment Projects provides additional functionality for example:<br />
- merging assemblies (from context menu)<br />
- the ability to create pluggable configuration files (from context menu)<br />
- exclude files and folders (*.wdproj file in deployment project)</p>
<p><strong>When merging assemblies</strong> you can specify to get only <strong>1 result DLL</strong>, instead of multiple when using &#8220;Publish web site&#8221;.<br />
Second thing is, that you can <strong>define a strong name of result DLL</strong> file which means, that it will be easier to updates the web site on the webserver &#8211; just replacing the DLL, instead of deleting all assemblies with *.compiled XMLs and copying new ones (can be hundreds). So you don&#8217;t have to carry about the &#8220;strange&#8221; assemblies file names (with the hash code varying) like: App_Web_0375kxso.dll, etc.</p>
<p>Ability to create <strong>pluggable configuration files</strong> allows you to specify independent files, that store the contents of a particular configuration section independently, based on solution configurations. That means for example, that the Web.config  section will include <strong>different database connectionString for Debug and Release</strong>, or any other user specified solution configuration.</p>
<p>You can also <strong>exclude files and folders</strong> that shouldn&#8217;t be part of the release, e.g: reports, uploaded files, etc.</p>
<p>Finally the *.wdproj configuration file has a MSBuild syntax, so you can specify there whatever you want. <strong>Out of the box</strong> there are 4 build process sections: <strong>BeforeBuild, BeforeMerge, AfterMerge, AfterBuild</strong>, where you can specify your tasks.</p>
<p><strong>The detailed description of the Web Deployment Projects</strong> can be found <a href="http://msdn.microsoft.com/en-us/magazine/cc163448.aspx">HERE</a>.<br />
*********************************************************<br />
Find below some of my *.<strong>wdproj configuration examples</strong>:</p>
<p><strong>Exclude directory</strong>:<br />
<code style="font-size:11px">&lt;ItemGroup&gt;<br />
&lt;ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\_svn\**" /&gt;<br />
&lt;ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\.svn\**" /&gt;<br />
&lt;/ItemGroup&gt;<br />
</code></p>
<p><strong>Exclude directory except specified file</strong>:<br />
<code style="font-size:11px">&lt;ItemGroup&gt;<br />
&lt;ExcludeFromBuild Include="$(SourceWebPhysicalPath)\ChartImages\**\*.*" Exclude="$(SourceWebPhysicalPath)\ChartImages\**\place.holder" /&gt;<br />
&lt;/ItemGroup&gt;<br />
</code></p>
<p><strong>Minimize (shrink) JavaScript files using Microsoft Ajax Minifier</strong> <a href="http://gasior.net.pl/2009/11/30/kurczymy-skrypty-javascript-microsoft-ajax-minifier/">(based on Łukasz Gąsior blog</a>):<br />
<code style="text-align:left;font-size:9px">&lt;Import Project="$(MSBuildExtensionsPath)\Microsoft\MicrosoftAjax\AjaxMin.tasks" /&gt;<br />
&lt;Target Name="AfterBuild"&gt;<br />
&lt;ItemGroup&gt;<br />
&lt;!-- Create the list of JS files to minimize. Exclude *.min.js files, e.g. jquery-xxx.min.js --&gt;<br />
 &lt;JsFilesDevelopment Include="$(OutputPath)\**\*.js" Exclude="$(OutputPath)\**\*.min.js" /&gt;<br />
&lt;/ItemGroup&gt;<br />
&lt;!-- Minimize the JavaScript using AjaxMin  --&gt;<br />
&lt;AjaxMin SourceFiles="@(JsFilesDevelopment)" SourceExtensionPattern="\.js$" TargetExtension=".js" LocalRenaming="CrunchAll" /&gt;<br />
&lt;/Target&gt;<br />
</code></p>
<p>*********************************************************</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html#comments">Comments (1)</a> - originally posted here <a href="http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html">http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html' rel='bookmark' title='Permanent Link: Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010'>Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010</a></li>
<li><a href='http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 .NET 4.0 (Beta 1)'>Visual Studio 2010 .NET 4.0 (Beta 1)</a></li>
<li><a href='http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 Beta 2 and Ajax Library'>Visual Studio 2010 Beta 2 and Ajax Library</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ajax Control Toolkit &#8211; PageRequestManagerTimeOutException</title>
		<link>http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html</link>
		<comments>http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html#comments</comments>
		<pubDate>Fri, 05 Feb 2010 09:00:13 +0000</pubDate>
		<dc:creator>mstankala</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Ajax Control Toolkit]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[AsyncPostBackTimeout]]></category>
		<category><![CDATA[PageRequestManagerTimeoutException]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tips & tricks]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=3079</guid>
		<description><![CDATA[How to avoid &#8220;PageRequestManagerTimeOutException&#8221; while using Ajax Control Toolkit? I was having a problem when developing an ASP.NET Web Application using Ajax Control Toolikit. On one of my Report pages, the constructed SQL query using LINQKit was pretty complex. It took a while for the SQL Server to return the results. The complexity depends on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Fajax-control-toolkit-pagerequestmanagertimeoutexception.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Fajax-control-toolkit-pagerequestmanagertimeoutexception.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>How to avoid &#8220;PageRequestManagerTimeOutException&#8221; while using Ajax Control Toolkit?</strong></p>
<p>I was having a problem when developing an ASP.NET Web Application using <a href="http://www.codeplex.com/AjaxControlToolkit">Ajax Control Toolikit</a>.<br />
On one of my Report pages, the constructed SQL query using <a href="http://www.albahari.com/nutshell/linqkit.aspx">LINQKit</a> was pretty complex. It took a while for the SQL Server to return the results.<br />
The complexity depends on the amount of specified filter parameters by the user. There are also calculations and transformations performed on the SQL results, which of course affect the request execution time.<br />
This caused, that sometimes on my report page, when sending the Ajax request, the users browser noted a JavaScript error, instead of displaying the report.</p>
<p>First thought was to increase the Ajax PostBack Timeout. I can be set in the code behind &#8211; by default it&#8217;s set to 90 seconds:<br />
&#8230;<br />
<code style="font-family: courier">ScriptManager.AsyncPostBackTimeout = 120; <code style="color: green">//in seconds</code></code><br />
&#8230;<br />
But what if there are more users requesting a report at the same time? At least I need to inform them, why they didn&#8217;t get what they were expecting.</p>
<p>There is a possibility in the Ajax Control Toolkit, to attach user JavaScript code when the request ends.<br />
So if I attach my code that displays an alert message and/or redirects to an error page, that would be great! I could better handle this timeout.</p>
<p>So in the Master Page, after the ScriptManager control, I&#8217;ve added new JavaScript code:</p>
<p><a href="http://www.pgs-soft.com/wp-content/uploads/2010/02/PageRequestManagerTimeoutException3.jpg"><img src="http://www.pgs-soft.com/wp-content/uploads/2010/02/PageRequestManagerTimeoutException3.jpg" alt="Ajax Control Toolkit PageRequestManagerTimeoutException" width="525" class="aligncenter size-full wp-image-3097" /></a></p>
<p>Some explanation of this code sample:<br />
- get the current Script Manager instance<br />
- attach custom endRequest event function<br />
- check if the request ends with an error of the type:<br />
 &nbsp;&nbsp;<code style="font-family:courier">Sys.WebForms.PageRequestManagerTimeoutException</code><br />
- if the above^ condition is true, notice the Script Manager that this<br />
&nbsp;&nbsp;error was handled (prevent from JavaScript errors in users browser)<br />
- finally redirect to custom error page (display error message, send error<br />
&nbsp;&nbsp;emails, etc.)</p>
<p>Additionally the <code style="font-family:courier">reqManager._postBackSettings.panelID</code> provides me extra informs about the update panel that started the request, because there are more of them on one page.</p>
<p>So this &#8220;simple&#8221; JavaScript code performs a timeout error check for all Ajax request in my Web Application.</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html#comments">Comments (0)</a> - originally posted here <a href="http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html">http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/using-jquery-to-fit-thumbnails.html' rel='bookmark' title='Permanent Link: Using jQuery to fit thumbnails'>Using jQuery to fit thumbnails</a></li>
<li><a href='http://www.pgs-soft.com/hosting-asp-net-application-on-a-shared-server.html' rel='bookmark' title='Permanent Link: Hosting ASP.Net application on a shared server'>Hosting ASP.Net application on a shared server</a></li>
<li><a href='http://www.pgs-soft.com/introduction-to-xval.html' rel='bookmark' title='Permanent Link: Introduction to xVal'>Introduction to xVal</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010</title>
		<link>http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html</link>
		<comments>http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 08:23:38 +0000</pubDate>
		<dc:creator>mstankala</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[.net 4.0]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[manycore]]></category>
		<category><![CDATA[parallel computing]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[visual studio 2010]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=2735</guid>
		<description><![CDATA[Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Fmanycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Fmanycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><img style="float:right;margin-left:10px;margin-bottom:10px" class="alignright size-full wp-image-2736" src="http://www.pgs-soft.com/wp-content/uploads/2010/01/parallel_programming.png" alt="Parallel programming" width="55" height="55" /> Parallel computing is a form of computation in which many operations are carried out simultaneously. In the &#8220;age of  many-core&#8221;, developers are getting more and more interesting in using easily all the &#8220;power&#8221; of the CPU.</p>
<p>Visual Studio 2010, the .NET Framework 4, and Visual C++ 2010 all contain new support for writing, debugging, and tuning parallel applications.</p>
<p>Learn more about Parallel computing on <a href="http://msdn.microsoft.com/en-us/concurrency/default.aspx" target="_blank">Microsoft MSDN Site</a>.</p>
<p>See also a presentation about <a href="http://microsoftpdc.com/Sessions/P09-09" target="_blank">Manycore and the Microsoft .NET Framework 4</a>.</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html#comments">Comments (0)</a> - originally posted here <a href="http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html">http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 .NET 4.0 (Beta 1)'>Visual Studio 2010 .NET 4.0 (Beta 1)</a></li>
<li><a href='http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 Beta 2 and Ajax Library'>Visual Studio 2010 Beta 2 and Ajax Library</a></li>
<li><a href='http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html' rel='bookmark' title='Permanent Link: Web Deployment Project &#8211; Visual Studio 2008 Add-in'>Web Deployment Project &#8211; Visual Studio 2008 Add-in</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP MVC 2 Preview</title>
		<link>http://www.pgs-soft.com/asp-mvc-2-preview.html</link>
		<comments>http://www.pgs-soft.com/asp-mvc-2-preview.html#comments</comments>
		<pubDate>Mon, 10 Aug 2009 11:59:38 +0000</pubDate>
		<dc:creator>Marcin Pilarczyk</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=2603</guid>
		<description><![CDATA[Only a few days ago ASP MVC wpreview was released. I have tried to run a small application with this preview version and compare to stable 1.0 version. As published on MS page the aim of MVC 2 is to &#8220;Improve productivity and deliver enterprise ready product&#8221;. What&#8217;s new in 2.0&#8230; Template helpers, areas, support [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Fasp-mvc-2-preview.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Fasp-mvc-2-preview.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Only a few days ago ASP MVC wpreview was released. I have tried to run a small application with this preview version and compare to stable 1.0 version. As published on MS page the aim of MVC 2 is to &#8220;Improve productivity and deliver enterprise ready product&#8221;.</p>
<p>What&#8217;s new in 2.0&#8230; Template helpers, areas, support for data annotations and a range of strongly-typed improvements.</p>
<p>I must plead that I expected something more from changing from 1.0 to 2.0. In version naming it seams to be a huge leap -100%?? ;) Taking into account the first aim of the release &#8211; productivity &#8211; I am a little disappointed. The feature that is still missing comparing to mature MVC libraries in other languages is lack of stable tag library that speeds up writing views. We still need to mix HTML and code and in case of complex forms the readability of aspx page suffers a lot. I believe that writing applications with MVC pattern will improve greatly when finally, even a basic, tag library is released. Of course, there are small features that improves effectiveness like introduced field types but it won&#8217;t solve all problems with V(iew) layer.</p>
<p>To sum up MVC just after writing simple &#8216;Hello world&#8217; with a small form. I reckon that MVC will become more and more popular and when it becomes a fact we will get our beloved tag library. For now &#8211; use 1.0.</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/asp-mvc-2-preview.html#comments">Comments (0)</a> - originally posted here <a href="http://www.pgs-soft.com/asp-mvc-2-preview.html">http://www.pgs-soft.com/asp-mvc-2-preview.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/mvc-pattern-in-java-and-asp.html' rel='bookmark' title='Permanent Link: MVC pattern in Java and ASP'>MVC pattern in Java and ASP</a></li>
<li><a href='http://www.pgs-soft.com/using-jquery-grid-in-mvc-applications-for-better-user-experience.html' rel='bookmark' title='Permanent Link: Using jQuery Grid in MVC applications for better user experience'>Using jQuery Grid in MVC applications for better user experience</a></li>
<li><a href='http://www.pgs-soft.com/introduction-to-xval.html' rel='bookmark' title='Permanent Link: Introduction to xVal'>Introduction to xVal</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/asp-mvc-2-preview.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing controls located in LoginView</title>
		<link>http://www.pgs-soft.com/accessing-controls-located-in-loginview.html</link>
		<comments>http://www.pgs-soft.com/accessing-controls-located-in-loginview.html#comments</comments>
		<pubDate>Mon, 04 May 2009 10:52:55 +0000</pubDate>
		<dc:creator>Marcin Pilarczyk</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[LoginView]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=2525</guid>
		<description><![CDATA[Everyday battle has just started :) Morning problem: &#60;asp:LoginView runat=&#34;server&#34;&#62; &#60;/AnonymousTemplate&#62; --something-- &#60;/AnonymousTemplate&#62; &#60;LoggedInTemplate&#62; &#60;asp:TextBox ID=&#34;magicTextBox&#34; runat=&#34;server&#34; /&#62; &#60;/LoggedInTemplate&#62; &#60;/asp:LoginView&#62; Does anyone know how to access control named magicTextBox from code behind? Of course referencing it by name or using FindControl method was unsuccessful. I have just used temporal solution with JavaScript. When I find [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Faccessing-controls-located-in-loginview.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Faccessing-controls-located-in-loginview.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Everyday battle has just started :) </p>
<p>Morning problem:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>asp<span style="color: #339933;">:</span>LoginView runat<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;server&quot;</span><span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;/</span>AnonymousTemplate<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">--</span>something<span style="color: #339933;">--</span>
  <span style="color: #339933;">&lt;/</span>AnonymousTemplate<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>LoggedInTemplate<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>asp<span style="color: #339933;">:</span>TextBox ID<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;magicTextBox&quot;</span> runat<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;server&quot;</span> <span style="color: #339933;">/&gt;</span>
  <span style="color: #339933;">&lt;/</span>LoggedInTemplate<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>asp<span style="color: #339933;">:</span>LoginView<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Does anyone know how to access control named <strong>magicTextBox</strong> from code behind? Of course referencing it by name or using FindControl method was unsuccessful. I have just used temporal solution with JavaScript. When I find something valuable I will let you know.</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/accessing-controls-located-in-loginview.html#comments">Comments (0)</a> - originally posted here <a href="http://www.pgs-soft.com/accessing-controls-located-in-loginview.html">http://www.pgs-soft.com/accessing-controls-located-in-loginview.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html' rel='bookmark' title='Permanent Link: Ajax Control Toolkit &#8211; PageRequestManagerTimeOutException'>Ajax Control Toolkit &#8211; PageRequestManagerTimeOutException</a></li>
<li><a href='http://www.pgs-soft.com/wcf-contracts-dont-miss-the-serialization-attributes.html' rel='bookmark' title='Permanent Link: WCF contracts &#8211; don&#8217;t miss the serialization attributes'>WCF contracts &#8211; don&#8217;t miss the serialization attributes</a></li>
<li><a href='http://www.pgs-soft.com/mvc-pattern-in-java-and-asp.html' rel='bookmark' title='Permanent Link: MVC pattern in Java and ASP'>MVC pattern in Java and ASP</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/accessing-controls-located-in-loginview.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
