<?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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Eran Nachum's Blog</title>
    <link>http://www.eranachum.com/</link>
    <description>www.eranachum.com - Implementing &amp; executing my thoughts...</description>
    <language>en-us</language>
    <copyright>Eran Nachum</copyright>
    <lastBuildDate>Tue, 06 Dec 2011 20:10:00 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.8.5223.2</generator>
    <managingEditor>eranachum@hotmail.com</managingEditor>
    <webMaster>eranachum@hotmail.com</webMaster>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=2fcaddf7-768b-4855-b0c8-d58b6c9a29ef</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,2fcaddf7-768b-4855-b0c8-d58b6c9a29ef.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I am getting into HTML 5 lately and a result of some investigations and querying the
      web in order to find great helpers, tools and open source frameworks, I bumped into
      the <a href="http://www.modernizr.com/" target="_blank">Modernizr</a>.
   </p>
        <p>
      This is a great open-source JavaScript library that helps you build the next generation
      of HTML5 and CSS3-powered websites.
   </p>
        <p>
      The Modernizr (in simple words), helps you to find out which elements or features
      are being supported by each major browser.
   </p>
        <p>
      Some of the features and behavior according the official website:
   </p>
        <p>
          <em>Modernizr aims to bring an end to the UA sniffing practice. Using feature detection
      is a more reliable mechanic to establish what you can and cannot do in the current
      browser, and Modernizr makes it convenient for you in a variety of ways:</em>
        </p>
        <ol>
          <li>
            <em>It tests for over 40 next-generation features, all in a matter of milliseconds </em>
          </li>
          <li>
            <em>It creates a JavaScript object (named <code>Modernizr</code>) that contains the
         results of these tests as boolean properties </em>
          </li>
          <li>
            <em>It adds classes to the <code>html</code> element that explain precisely what features
         are and are <strong>not</strong> natively supported </em>
          </li>
          <li>
            <em>It provides a script loader so you can pull in </em>
            <a href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills">
              <em>polyfills</em>
            </a>
            <em> to
         backfill functionality in old browsers.</em>
          </li>
        </ol>
        <p>
       
   </p>
        <p>
          <img src="http://talks.codelahoma.com/tulsa-techfest-2011/images/modernizr.png" width="504" height="79" />
        </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=2fcaddf7-768b-4855-b0c8-d58b6c9a29ef" />
      </body>
      <title>Getting Started with HTML 5&amp;ndash;Try the Modernizr</title>
      <guid>http://www.eranachum.com/PermaLink,guid,2fcaddf7-768b-4855-b0c8-d58b6c9a29ef.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,2fcaddf7-768b-4855-b0c8-d58b6c9a29ef.aspx</link>
      <pubDate>Tue, 06 Dec 2011 20:10:00 GMT</pubDate>
      <description>&lt;p&gt;
   I am getting into HTML 5 lately and a result of some investigations and querying the
   web in order to find great helpers, tools and open source frameworks, I bumped into
   the &lt;a href="http://www.modernizr.com/" target="_blank"&gt;Modernizr&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
   This is a great open-source JavaScript library that helps you build the next generation
   of HTML5 and CSS3-powered websites.
&lt;/p&gt;
&lt;p&gt;
   The Modernizr (in simple words), helps you to find out which elements or features
   are being supported by each major browser.
&lt;/p&gt;
&lt;p&gt;
   Some of the features and behavior according the official website:
&lt;/p&gt;
&lt;p&gt;
   &lt;em&gt;Modernizr aims to bring an end to the UA sniffing practice. Using feature detection
   is a more reliable mechanic to establish what you can and cannot do in the current
   browser, and Modernizr makes it convenient for you in a variety of ways:&lt;/em&gt;
&lt;/p&gt;
&lt;ol&gt;
   &lt;li&gt;
      &lt;em&gt;It tests for over 40 next-generation features, all in a matter of milliseconds &lt;/em&gt;
   &lt;/li&gt;
   &lt;li&gt;
      &lt;em&gt;It creates a JavaScript object (named &lt;code&gt;Modernizr&lt;/code&gt;) that contains the
      results of these tests as boolean properties &lt;/em&gt;
   &lt;/li&gt;
   &lt;li&gt;
      &lt;em&gt;It adds classes to the &lt;code&gt;html&lt;/code&gt; element that explain precisely what features
      are and are &lt;strong&gt;not&lt;/strong&gt; natively supported &lt;/em&gt;
   &lt;/li&gt;
   &lt;li&gt;
      &lt;em&gt;It provides a script loader so you can pull in &lt;/em&gt;&lt;a href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills"&gt;&lt;em&gt;polyfills&lt;/em&gt;&lt;/a&gt;&lt;em&gt; to
      backfill functionality in old browsers.&lt;/em&gt;
   &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
   &amp;#160;
&lt;/p&gt;
&lt;p&gt;
   &lt;img src="http://talks.codelahoma.com/tulsa-techfest-2011/images/modernizr.png" width="504" height="79" /&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=2fcaddf7-768b-4855-b0c8-d58b6c9a29ef" /&gt;</description>
      <category>Javascript;HTML 5</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=69acc6fe-3ba6-4594-ae07-d3006e1211f6</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,69acc6fe-3ba6-4594-ae07-d3006e1211f6.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Did you ever get from your graphic designer a request to build a website of a web
      application according to his/her design including the strange (but nice and designed)
      font called “Myriad Pro” or some else non supported fonts by the common browser?!?
   </p>
        <p>
      The common answer that I've responded always is: “Let go for Arial or Verdana – it’s
      supported by all browsers!!, or if you want let’s put an image text with your design
      – but remember it will affect SEO badly…!”
   </p>
        <p>
      It seems that there is a beautiful solution for this “problem” which let you the ability
      to render every kind of font in the world in your website in order to get special,
      clean and “other” font layout.
   </p>
        <p>
      The free online solution for this scenario is <a href="http://typeface.neocracy.org/" target="_blank">typeface.js</a>.
      This solution let you upload your font declaration file into their website and the
      output will be a JavaScript file that hold all declarations of how to render the special
      non supported fonts.
   </p>
        <p>
      Instead of creating images or using flash just to show your site's graphic text in
      the font you want, you can use this solution and write in plain HTML and CSS.
   </p>
        <p>
      I recommend to give it a try – I did!
   </p>
        <p>
          <a title="http://typeface.neocracy.org/" href="http://typeface.neocracy.org/">http://typeface.neocracy.org/</a>
        </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=69acc6fe-3ba6-4594-ae07-d3006e1211f6" />
      </body>
      <title>How to render non supported fonts on HTML?</title>
      <guid>http://www.eranachum.com/PermaLink,guid,69acc6fe-3ba6-4594-ae07-d3006e1211f6.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,69acc6fe-3ba6-4594-ae07-d3006e1211f6.aspx</link>
      <pubDate>Sun, 27 Nov 2011 16:33:00 GMT</pubDate>
      <description>&lt;p&gt;
   Did you ever get from your graphic designer a request to build a website of a web
   application according to his/her design including the strange (but nice and designed)
   font called “Myriad Pro” or some else non supported fonts by the common browser?!?
&lt;/p&gt;
&lt;p&gt;
   The common answer that I've responded always is: “Let go for Arial or Verdana – it’s
   supported by all browsers!!, or if you want let’s put an image text with your design
   – but remember it will affect SEO badly…!”
&lt;/p&gt;
&lt;p&gt;
   It seems that there is a beautiful solution for this “problem” which let you the ability
   to render every kind of font in the world in your website in order to get special,
   clean and “other” font layout.
&lt;/p&gt;
&lt;p&gt;
   The free online solution for this scenario is &lt;a href="http://typeface.neocracy.org/" target="_blank"&gt;typeface.js&lt;/a&gt;.
   This solution let you upload your font declaration file into their website and the
   output will be a JavaScript file that hold all declarations of how to render the special
   non supported fonts.
&lt;/p&gt;
&lt;p&gt;
   Instead of creating images or using flash just to show your site's graphic text in
   the font you want, you can use this solution and write in plain HTML and CSS.
&lt;/p&gt;
&lt;p&gt;
   I recommend to give it a try – I did!
&lt;/p&gt;
&lt;p&gt;
   &lt;a title="http://typeface.neocracy.org/" href="http://typeface.neocracy.org/"&gt;http://typeface.neocracy.org/&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=69acc6fe-3ba6-4594-ae07-d3006e1211f6" /&gt;</description>
      <category>HTML;Javascript</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=16ff28bf-9915-4291-933b-2dd4fed9ce07</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,16ff28bf-9915-4291-933b-2dd4fed9ce07.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Is it seems to be that Microsoft is going to let developers use an open source in
      order to build Windows 8 applications?
   </p>
        <p>
      I read a post on <a href="http://thenextweb.com/microsoft/2011/06/02/microsoft-shows-off-windows-8s-tablet-ui/" target="_blank">TNW</a> that
      says Microsoft is going to do so – this approach will be called “New Windows” and
      will let an easy way to develop mobile and desktop apps using traditional JavaScript
      and HTML 5 for the UI layer.
   </p>
        <p>
      It is important to say that Silverlight wasn’t mentioned in the Microsoft enouncement…!!!
   </p>
        <p>
      I think that these are great news, which will open doors not only developers of all
      kinds (not only .Net developers and MS dedicated technologies developers), but to
      all “kinds” of developers.
   </p>
        <div style="text-align:center">
          <img border="0" src="http://www.eranachum.com/content/binary/Windows-8-start-menu-520x292.png" />
        </div>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=16ff28bf-9915-4291-933b-2dd4fed9ce07" />
      </body>
      <title>Is Windows 8 Apps to be built on Javascript &amp;amp; HTML?</title>
      <guid>http://www.eranachum.com/PermaLink,guid,16ff28bf-9915-4291-933b-2dd4fed9ce07.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,16ff28bf-9915-4291-933b-2dd4fed9ce07.aspx</link>
      <pubDate>Sun, 27 Nov 2011 16:13:00 GMT</pubDate>
      <description>&lt;p&gt;
   Is it seems to be that Microsoft is going to let developers use an open source in
   order to build Windows 8 applications?
&lt;/p&gt;
&lt;p&gt;
   I read a post on &lt;a href="http://thenextweb.com/microsoft/2011/06/02/microsoft-shows-off-windows-8s-tablet-ui/" target="_blank"&gt;TNW&lt;/a&gt; that
   says Microsoft is going to do so – this approach will be called “New Windows” and
   will let an easy way to develop mobile and desktop apps using traditional JavaScript
   and HTML 5 for the UI layer.
&lt;/p&gt;
&lt;p&gt;
   It is important to say that Silverlight wasn’t mentioned in the Microsoft enouncement…!!!
&lt;/p&gt;
&lt;p&gt;
   I think that these are great news, which will open doors not only developers of all
   kinds (not only .Net developers and MS dedicated technologies developers), but to
   all “kinds” of developers.
&lt;/p&gt;
&lt;div style="text-align:center"&gt;
   &lt;img border="0" src="http://www.eranachum.com/content/binary/Windows-8-start-menu-520x292.png"&gt; 
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=16ff28bf-9915-4291-933b-2dd4fed9ce07" /&gt;</description>
      <category>HTML;Javascript</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=ce318f15-b02b-4d6b-8f31-0a91a238de11</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,ce318f15-b02b-4d6b-8f31-0a91a238de11.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I bumped into a nice solution that enables you to speed up your websites pages loading.
   </p>
        <p>
          <em>“Page Speed Service is an online service to automatically speed up loading of
      your web pages. Page Speed Service fetches content from your servers, rewrites your
      pages by applying web performance best practices and serves them to end users via
      Google's servers across the globe”.</em>
        </p>
        <p>
      I think that this is a good solution for those who doesn’t familiar with the advanced
      caching solutions or for beginner or not pro developers which want a way to increase
      performance, but if you are an experienced developer you should get your own solutions
      coding them under your application like: caching,  load balancer solutions for
      large website etc…
   </p>
        <p>
      you get get some more information <a href="http://code.google.com/speed/pss/index.html" target="_blank">here</a>.
   </p>
        <p>
          <img src="http://www.google.com/images/icons/product/pagespeed-100.png" />
        </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ce318f15-b02b-4d6b-8f31-0a91a238de11" />
      </body>
      <title>Web Page Speed Service &amp;ndash; Google Service</title>
      <guid>http://www.eranachum.com/PermaLink,guid,ce318f15-b02b-4d6b-8f31-0a91a238de11.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,ce318f15-b02b-4d6b-8f31-0a91a238de11.aspx</link>
      <pubDate>Wed, 19 Oct 2011 08:50:00 GMT</pubDate>
      <description>&lt;p&gt;
   I bumped into a nice solution that enables you to speed up your websites pages loading.
&lt;/p&gt;
&lt;p&gt;
   &lt;em&gt;“Page Speed Service is an online service to automatically speed up loading of
   your web pages. Page Speed Service fetches content from your servers, rewrites your
   pages by applying web performance best practices and serves them to end users via
   Google's servers across the globe”.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
   I think that this is a good solution for those who doesn’t familiar with the advanced
   caching solutions or for beginner or not pro developers which want a way to increase
   performance, but if you are an experienced developer you should get your own solutions
   coding them under your application like: caching,&amp;#160; load balancer solutions for
   large website etc…
&lt;/p&gt;
&lt;p&gt;
   you get get some more information &lt;a href="http://code.google.com/speed/pss/index.html" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
   &lt;img src="http://www.google.com/images/icons/product/pagespeed-100.png" /&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ce318f15-b02b-4d6b-8f31-0a91a238de11" /&gt;</description>
      <category>Solutions;Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=57970a9d-b810-4d86-8efd-36b9bd25d773</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,57970a9d-b810-4d86-8efd-36b9bd25d773.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      IIS is built on an open and modular architecture that allows you customize and add
      new features through free IIS Extensions.
   </p>
        <p>
      on the following link <a href="http://www.iis.net/download/All" target="_blank">here</a>,
      you can find in the iis.net official site all the IIS extensions in order to install
      it on you server or local IIS.
   </p>
        <p>
      The IIS team always adding new features to IIS to help you optimize your website for
      search, serve media to multiple platforms and devices, deploy web applications, route
      URL requests and more!
   </p>
        <p>
      Some of the current extensions are (and of course you can read about them on their
      site):
   </p>
        <ol>
          <li>
            <strong>FTP Publishing Service</strong> – content publishing utility that help you
         do it more securely and easy</li>
          <li>
            <strong>Web Deployment Tool – </strong>This tool simplifies the migration, management
         and deployment of IIS Web servers, Web applications and Web sites.</li>
          <li>
            <strong>URL Rewrite</strong> - IIS URL Rewrite 2.0 enables Web administrators to create
         powerful rules to implement URLs that are easier for users to remember and easier
         for search engines to find.</li>
          <li>
         etc…</li>
        </ol>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=57970a9d-b810-4d86-8efd-36b9bd25d773" />
      </body>
      <title>IIS Exteniosns</title>
      <guid>http://www.eranachum.com/PermaLink,guid,57970a9d-b810-4d86-8efd-36b9bd25d773.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,57970a9d-b810-4d86-8efd-36b9bd25d773.aspx</link>
      <pubDate>Thu, 16 Jun 2011 20:12:00 GMT</pubDate>
      <description>&lt;p&gt;
   IIS is built on an open and modular architecture that allows you customize and add
   new features through free IIS Extensions.
&lt;/p&gt;
&lt;p&gt;
   on the following link &lt;a href="http://www.iis.net/download/All" target="_blank"&gt;here&lt;/a&gt;,
   you can find in the iis.net official site all the IIS extensions in order to install
   it on you server or local IIS.
&lt;/p&gt;
&lt;p&gt;
   The IIS team always adding new features to IIS to help you optimize your website for
   search, serve media to multiple platforms and devices, deploy web applications, route
   URL requests and more!
&lt;/p&gt;
&lt;p&gt;
   Some of the current extensions are (and of course you can read about them on their
   site):
&lt;/p&gt;
&lt;ol&gt;
   &lt;li&gt;
      &lt;strong&gt;FTP Publishing Service&lt;/strong&gt; – content publishing utility that help you
      do it more securely and easy&lt;/li&gt;
   &lt;li&gt;
      &lt;strong&gt;Web Deployment Tool – &lt;/strong&gt;This tool simplifies the migration, management
      and deployment of IIS Web servers, Web applications and Web sites.&lt;/li&gt;
   &lt;li&gt;
      &lt;strong&gt;URL Rewrite&lt;/strong&gt; - IIS URL Rewrite 2.0 enables Web administrators to create
      powerful rules to implement URLs that are easier for users to remember and easier
      for search engines to find.&lt;/li&gt;
   &lt;li&gt;
      etc…&lt;/li&gt;
&lt;/ol&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=57970a9d-b810-4d86-8efd-36b9bd25d773" /&gt;</description>
      <category>IIS</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=ec16dfe4-9572-4693-bbbc-0167e3a19ebc</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,ec16dfe4-9572-4693-bbbc-0167e3a19ebc.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <strong>Common Problem:</strong>
        </p>
        <p>
      Popups are being blocked on browsers when the window is opened asynchronously. For
      example, needing to do some action on server before opening the window popup. 
   </p>
        <p>
      Since the window is not opened right after the user initiative, the window is being
      blocked.
   </p>
        <p>
          <strong>The Solution:</strong>
        </p>
        <ol>
          <li>
         Opening the window with empty URL and give the window a name. window.open("",
         name, WindowProperties);</li>
          <li>
         Asynchronously do the round trip to the server and request for data calculation or
         some server actions.</li>
          <li>
         When returning to client, refreshing the opened window by calling window.open again
         with the relevant URL and the same window name. window.open(url, name, WindowProperties);</li>
        </ol>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ec16dfe4-9572-4693-bbbc-0167e3a19ebc" />
      </body>
      <title>Handle Browser Popup Blocking</title>
      <guid>http://www.eranachum.com/PermaLink,guid,ec16dfe4-9572-4693-bbbc-0167e3a19ebc.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,ec16dfe4-9572-4693-bbbc-0167e3a19ebc.aspx</link>
      <pubDate>Tue, 31 May 2011 14:05:00 GMT</pubDate>
      <description>&lt;p&gt;
   &lt;strong&gt;Common Problem:&lt;/strong&gt; 
&lt;/p&gt;
&lt;p&gt;
   Popups are being blocked on browsers when the window is opened asynchronously. For
   example, needing to do some action on server before opening the window popup. 
&lt;/p&gt;
&lt;p&gt;
   Since the window is not opened right after the user initiative, the window is being
   blocked.
&lt;/p&gt;
&lt;p&gt;
   &lt;strong&gt;The Solution:&lt;/strong&gt;
&lt;/p&gt;
&lt;ol&gt;
   &lt;li&gt;
      Opening the window with empty URL and give the window a name. window.open(&amp;quot;&amp;quot;,
      name, WindowProperties);&lt;/li&gt;
   &lt;li&gt;
      Asynchronously do the round trip to the server and request for data calculation or
      some server actions.&lt;/li&gt;
   &lt;li&gt;
      When returning to client, refreshing the opened window by calling window.open again
      with the relevant URL and the same window name. window.open(url, name, WindowProperties);&lt;/li&gt;
&lt;/ol&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ec16dfe4-9572-4693-bbbc-0167e3a19ebc" /&gt;</description>
      <category>Javascript</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=ac66201d-f46b-4c42-a2b3-27398eefc4dc</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,ac66201d-f46b-4c42-a2b3-27398eefc4dc.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      .NET Framework 4 offers great multi threads tools and new API to handle the usage
      of it. One of them is the <a href="http://msdn.microsoft.com/en-us/library/system.threading.tasks.parallel.foreach.aspx" target="_blank">Parallel.Foreach
      method</a>, which executes a foreach (For Each in Visual Basic) operation in which
      iterations may run in parallel. (You can see a good example of usage <a href="http://msdn.microsoft.com/en-us/library/dd460720.aspx" target="_blank">here
      on the MSDN website</a>).
   </p>
        <p>
      This method “makes life easy” in order to enable data parallelism over any System.Collections.IEnumerable
      or System.Collections.Generic.IEnumerable&lt;T&gt; data source.
   </p>
        <p>
      On the other side, I am still working and maintaining some projects that had been
      coded using .NET 3 (C# 3.5) and in order to perform multi-threading processes there
      is a need to use some other complex API and manage it, such as: <a href="http://msdn.microsoft.com/en-us/library/system.threading.threadpool(v=VS.90).aspx" target="_blank">ThreadPool</a> (in
      order to manage a pool of threads that can be used to post work items, process asynchronous
      I/O, wait on behalf of other threads, and process timers), <a href="http://msdn.microsoft.com/en-us/library/system.threading.waithandle(v=VS.90).aspx" target="_blank">WaitHandle</a> which
      encapsulates operating system–specific objects that wait for exclusive access to shared
      resources, etc…
   </p>
        <p>
      While reading some tech posts lately, I bumped into a great post that outline an implementation
      of this Parallel.Foreach method. You can find it in the link below and I think that
      it could make your life much more easier in order to perform and take advantage of
      multi-core processors and execute foreach loops in parallel.
   </p>
        <p>
      Get it from <a href="http://blog.robvolk.com/2009/06/parallel-foreach-loop-in-c-35.html" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ac66201d-f46b-4c42-a2b3-27398eefc4dc" />
      </body>
      <title>Parallel ForEach Loop in C# 3.5</title>
      <guid>http://www.eranachum.com/PermaLink,guid,ac66201d-f46b-4c42-a2b3-27398eefc4dc.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,ac66201d-f46b-4c42-a2b3-27398eefc4dc.aspx</link>
      <pubDate>Thu, 26 May 2011 15:05:00 GMT</pubDate>
      <description>&lt;p&gt;
   .NET Framework 4 offers great multi threads tools and new API to handle the usage
   of it. One of them is the &lt;a href="http://msdn.microsoft.com/en-us/library/system.threading.tasks.parallel.foreach.aspx" target="_blank"&gt;Parallel.Foreach
   method&lt;/a&gt;, which executes a foreach (For Each in Visual Basic) operation in which
   iterations may run in parallel. (You can see a good example of usage &lt;a href="http://msdn.microsoft.com/en-us/library/dd460720.aspx" target="_blank"&gt;here
   on the MSDN website&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
   This method “makes life easy” in order to enable data parallelism over any System.Collections.IEnumerable
   or System.Collections.Generic.IEnumerable&amp;lt;T&amp;gt; data source.
&lt;/p&gt;
&lt;p&gt;
   On the other side, I am still working and maintaining some projects that had been
   coded using .NET 3 (C# 3.5) and in order to perform multi-threading processes there
   is a need to use some other complex API and manage it, such as: &lt;a href="http://msdn.microsoft.com/en-us/library/system.threading.threadpool(v=VS.90).aspx" target="_blank"&gt;ThreadPool&lt;/a&gt; (in
   order to manage a pool of threads that can be used to post work items, process asynchronous
   I/O, wait on behalf of other threads, and process timers), &lt;a href="http://msdn.microsoft.com/en-us/library/system.threading.waithandle(v=VS.90).aspx" target="_blank"&gt;WaitHandle&lt;/a&gt; which
   encapsulates operating system–specific objects that wait for exclusive access to shared
   resources, etc…
&lt;/p&gt;
&lt;p&gt;
   While reading some tech posts lately, I bumped into a great post that outline an implementation
   of this Parallel.Foreach method. You can find it in the link below and I think that
   it could make your life much more easier in order to perform and take advantage of
   multi-core processors and execute foreach loops in parallel.
&lt;/p&gt;
&lt;p&gt;
   Get it from &lt;a href="http://blog.robvolk.com/2009/06/parallel-foreach-loop-in-c-35.html" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ac66201d-f46b-4c42-a2b3-27398eefc4dc" /&gt;</description>
      <category>.NET 4;C#;C# 3.5</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=55ffd2a7-6d98-4bfe-aae8-616851a85235</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,55ffd2a7-6d98-4bfe-aae8-616851a85235.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Hi,
   </p>
        <p>
      Scott Guthrie revealed these days the IIS Express that comes along the VS 2010 Service
      Pack 1.
   </p>
        <p>
      I found very good things and improvements under this SP, but no doubt IIS Express
      is the best one of all the improvements list.
   </p>
        <p>
      IIS Express is coming to replace the ASP.NET Development Server that enables you a
      local (VS env) we application hosting in order to server your ASP.NET code application.
   </p>
        <p>
      The major improvements are:
   </p>
        <ul>
          <li>
         It’s lightweight and easy to install (less than 5Mb download and a quick install) 
      </li>
          <li>
         It <u>does not</u> require an administrator account to run/debug applications from
         Visual Studio 
      </li>
          <li>
         It enables a <u>full web-server feature set</u> – including SSL, URL Rewrite, and
         other IIS 7.x modules 
      </li>
          <li>
         It supports and enables the same extensibility model and web.config file settings
         that IIS 7.x support 
      </li>
          <li>
         It can be installed side-by-side with the full IIS web server as well as the ASP.NET
         Development Server (they do not conflict at all) 
      </li>
          <li>
         It works on Windows XP and higher operating systems – giving you a full IIS 7.x developer
         feature-set on all Windows OS platforms</li>
        </ul>
        <p>
      My best one is the SSL support improvement. IIS Express enables you to provide an
      SSL based application and doesn’t ask you to install the SSL certificate because it
      uses the self signed certificate that comes with the IIS Express setup.
   </p>
        <p>
      More details <a href="http://weblogs.asp.net/scottgu/archive/2011/01/03/vs-2010-sp1-beta-and-iis-developer-express.aspx" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=55ffd2a7-6d98-4bfe-aae8-616851a85235" />
      </body>
      <title>IIS Express &amp;ndash; Great addition in the VS 2010 SP 1</title>
      <guid>http://www.eranachum.com/PermaLink,guid,55ffd2a7-6d98-4bfe-aae8-616851a85235.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,55ffd2a7-6d98-4bfe-aae8-616851a85235.aspx</link>
      <pubDate>Sun, 10 Apr 2011 14:31:00 GMT</pubDate>
      <description>&lt;p&gt;
   Hi,
&lt;/p&gt;
&lt;p&gt;
   Scott Guthrie revealed these days the IIS Express that comes along the VS 2010 Service
   Pack 1.
&lt;/p&gt;
&lt;p&gt;
   I found very good things and improvements under this SP, but no doubt IIS Express
   is the best one of all the improvements list.
&lt;/p&gt;
&lt;p&gt;
   IIS Express is coming to replace the ASP.NET Development Server that enables you a
   local (VS env) we application hosting in order to server your ASP.NET code application.
&lt;/p&gt;
&lt;p&gt;
   The major improvements are:
&lt;/p&gt;
&lt;ul&gt;
   &lt;li&gt;
      It’s lightweight and easy to install (less than 5Mb download and a quick install) 
   &lt;/li&gt;
   &lt;li&gt;
      It &lt;u&gt;does not&lt;/u&gt; require an administrator account to run/debug applications from
      Visual Studio 
   &lt;/li&gt;
   &lt;li&gt;
      It enables a &lt;u&gt;full web-server feature set&lt;/u&gt; – including SSL, URL Rewrite, and
      other IIS 7.x modules 
   &lt;/li&gt;
   &lt;li&gt;
      It supports and enables the same extensibility model and web.config file settings
      that IIS 7.x support 
   &lt;/li&gt;
   &lt;li&gt;
      It can be installed side-by-side with the full IIS web server as well as the ASP.NET
      Development Server (they do not conflict at all) 
   &lt;/li&gt;
   &lt;li&gt;
      It works on Windows XP and higher operating systems – giving you a full IIS 7.x developer
      feature-set on all Windows OS platforms&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
   My best one is the SSL support improvement. IIS Express enables you to provide an
   SSL based application and doesn’t ask you to install the SSL certificate because it
   uses the self signed certificate that comes with the IIS Express setup.
&lt;/p&gt;
&lt;p&gt;
   More details &lt;a href="http://weblogs.asp.net/scottgu/archive/2011/01/03/vs-2010-sp1-beta-and-iis-developer-express.aspx" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=55ffd2a7-6d98-4bfe-aae8-616851a85235" /&gt;</description>
      <category>VS 2010;IIS</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=0f38369a-6803-4a31-9166-b71c9ccbc238</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,0f38369a-6803-4a31-9166-b71c9ccbc238.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Hi,
   </p>
        <p>
      I read a great post in the ADO.NET team blog in regards using the new EF 4 as a Unit
      of Work design pattern.
   </p>
        <p>
      The main idea under this solution is to maintain all data manipulations against the
      DataBase easily and transactional, by encapsulating all data manipulation on POCO
      objects under a single DataContext and a single Save method.
   </p>
        <p>
      This mechanism is usually recommended when working with asp.net MVC patterns, which
      each of the views is working with its specific controller that communicates with its
      model that implemented as a Repository pattern that exposes an interface of all methods
      signatures.
   </p>
        <p>
      You can impress the post <a href="http://blogs.msdn.com/b/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=0f38369a-6803-4a31-9166-b71c9ccbc238" />
      </body>
      <title>Using Repository and Unit of Work patterns with Entity Framework 4.0</title>
      <guid>http://www.eranachum.com/PermaLink,guid,0f38369a-6803-4a31-9166-b71c9ccbc238.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,0f38369a-6803-4a31-9166-b71c9ccbc238.aspx</link>
      <pubDate>Mon, 04 Apr 2011 18:16:00 GMT</pubDate>
      <description>&lt;p&gt;
   Hi,
&lt;/p&gt;
&lt;p&gt;
   I read a great post in the ADO.NET team blog in regards using the new EF 4 as a Unit
   of Work design pattern.
&lt;/p&gt;
&lt;p&gt;
   The main idea under this solution is to maintain all data manipulations against the
   DataBase easily and transactional, by encapsulating all data manipulation on POCO
   objects under a single DataContext and a single Save method.
&lt;/p&gt;
&lt;p&gt;
   This mechanism is usually recommended when working with asp.net MVC patterns, which
   each of the views is working with its specific controller that communicates with its
   model that implemented as a Repository pattern that exposes an interface of all methods
   signatures.
&lt;/p&gt;
&lt;p&gt;
   You can impress the post &lt;a href="http://blogs.msdn.com/b/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=0f38369a-6803-4a31-9166-b71c9ccbc238" /&gt;</description>
      <category>.NET 4;Entity Framework 4;Design Patterns</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=7f7734e4-20df-4054-995d-e321ad923f61</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,7f7734e4-20df-4054-995d-e321ad923f61.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Great post in regards asp.net &amp; Json.
   </p>
        <p>
      I wasn’t familiar with <a title="System.Web.Script.Serialization.JavaScriptSerializer" href="http://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.aspx" target="_blank">System.Web.Script.Serialization.JavaScriptSerializer</a> which
      provides serialization and deserialization functionality for AJAX-enabled applications.
   </p>
        <p>
      While searching the web in regards this issue, I bumped into a great post that outlines
      the usage of this namespace.
   </p>
        <p>
      You can check it out <a href="http://blogs.msdn.com/b/rakkimk/archive/2009/01/30/asp-net-json-serialization-and-deserialization.aspx" target="_blank">here</a>.
   </p>
        <p>
      Good Luck.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=7f7734e4-20df-4054-995d-e321ad923f61" />
      </body>
      <title>ASP.NET &amp;ndash; JSON &amp;ndash; Serialization and Deserialization</title>
      <guid>http://www.eranachum.com/PermaLink,guid,7f7734e4-20df-4054-995d-e321ad923f61.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,7f7734e4-20df-4054-995d-e321ad923f61.aspx</link>
      <pubDate>Mon, 28 Jun 2010 14:34:00 GMT</pubDate>
      <description>&lt;p&gt;
   Great post in regards asp.net &amp;amp; Json.
&lt;/p&gt;
&lt;p&gt;
   I wasn’t familiar with &lt;a title="System.Web.Script.Serialization.JavaScriptSerializer" href="http://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.aspx" target="_blank"&gt;System.Web.Script.Serialization.JavaScriptSerializer&lt;/a&gt; which
   provides serialization and deserialization functionality for AJAX-enabled applications.
&lt;/p&gt;
&lt;p&gt;
   While searching the web in regards this issue, I bumped into a great post that outlines
   the usage of this namespace.
&lt;/p&gt;
&lt;p&gt;
   You can check it out &lt;a href="http://blogs.msdn.com/b/rakkimk/archive/2009/01/30/asp-net-json-serialization-and-deserialization.aspx" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
   Good Luck.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=7f7734e4-20df-4054-995d-e321ad923f61" /&gt;</description>
      <category>ASP.NET;C#;JSON</category>
    </item>
    <item>
      <trackback:ping>http://www.eranachum.com/Trackback.aspx?guid=12bb84c3-61d1-407b-9c23-1c2c053b1747</trackback:ping>
      <pingback:server>http://www.eranachum.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.eranachum.com/PermaLink,guid,12bb84c3-61d1-407b-9c23-1c2c053b1747.aspx</pingback:target>
      <dc:creator>eranachum@hotmail.com (Eran Nachum)</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      A great post that stands over the subtleties regards these two iteration possibilities <a href="http://www.c-sharpcorner.com/UploadFile/Baldi/1622/Default.aspx" target="_blank">here</a>.
   </p>
        <p>
      At the end of the day it seems that if you want to store objects of structs (primitive
      types such int, long etc…), in a generic List, you should use normal <strong>foreach</strong> (or
      for) instead if you want to avoid problems. Also removing items in the ForEach method
      is a thing which should be avoided also when it is possible. Otherwise i promise,
      the time will come when someone copies you code uses the ForEach to add items instead
      of removing it!
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=12bb84c3-61d1-407b-9c23-1c2c053b1747" />
      </body>
      <title>List(T).ForEach or foreach, it doesn't matter...or does it?</title>
      <guid>http://www.eranachum.com/PermaLink,guid,12bb84c3-61d1-407b-9c23-1c2c053b1747.aspx</guid>
      <link>http://www.eranachum.com/PermaLink,guid,12bb84c3-61d1-407b-9c23-1c2c053b1747.aspx</link>
      <pubDate>Tue, 22 Jun 2010 17:45:00 GMT</pubDate>
      <description>&lt;p&gt;
   A great post that stands over the subtleties regards these two iteration possibilities &lt;a href="http://www.c-sharpcorner.com/UploadFile/Baldi/1622/Default.aspx" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
   At the end of the day it seems that if you want to store objects of structs (primitive
   types such int, long etc…), in a generic List, you should use normal &lt;strong&gt;foreach&lt;/strong&gt; (or
   for) instead if you want to avoid problems. Also removing items in the ForEach method
   is a thing which should be avoided also when it is possible. Otherwise i promise,
   the time will come when someone copies you code uses the ForEach to add items instead
   of removing it!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=12bb84c3-61d1-407b-9c23-1c2c053b1747" /&gt;</description>
      <category>C#</category>
    </item>
  </channel>
</rss>
