<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Eran Nachum's Blog</title>
  <link rel="alternate" type="text/html" href="http://www.eranachum.com/" />
  <link rel="self" href="http://www.eranachum.com/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2009-08-02T02:46:43.53875-07:00</updated>
  <author>
    <name>Eran Nachum</name>
  </author>
  <subtitle>www.eranachum.com - Implementing &amp; executing my thoughts...</subtitle>
  <id>http://www.eranachum.com/</id>
  <generator uri="http://www.dasblog.net" version="1.8.5223.2">DasBlog</generator>
  <entry>
    <title>.Net Entity Framework VS NHibernate</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,7b4a1af8-7724-42ae-ae66-3ae6e6808629.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,7b4a1af8-7724-42ae-ae66-3ae6e6808629.aspx</id>
    <published>2009-08-02T02:29:00-07:00</published>
    <updated>2009-08-02T02:46:43.53875-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Come and read and post in regards this issue at <a href="http://www.allrise.com/" target="_blank">allrise.com.</a></p>
        <p>
      There are some nice arguments there.
   </p>
        <p>
      This is the Previewed case widget:
   </p>
        <p style="text-align: center">
          <iframe style="width: 315px; height: 520px" height="520" src="http://widget.allrise.com/SmallWidget.aspx?id=215&amp;showargs=true" frameborder="0" width="315" scrolling="no">
          </iframe>
        </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=7b4a1af8-7724-42ae-ae66-3ae6e6808629" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Why do NHibernate Class Properties have to be Virtual?</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,6d6cd20d-1530-40bd-a487-2af60340b727.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,6d6cd20d-1530-40bd-a487-2af60340b727.aspx</id>
    <published>2009-06-25T11:29:00-07:00</published>
    <updated>2009-06-25T04:31:31.6875-07:00</updated>
    <category term="NHibernate" label="NHibernate" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      To all of you that are new to NHibernate or just curious about this question, the
      quick answer to that question is because we need members to be virtual in order to
      do lazy loading action.
   </p>
        <p>
      More detailed post is here: <a href="http://davybrion.com/blog/2009/03/must-everything-be-virtual-with-nhibernate/" target="_blank">Must
      Everything Be Virtual With NHibernate?</a></p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=6d6cd20d-1530-40bd-a487-2af60340b727" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Family and Work</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,89fb7980-f200-4d03-a95c-eecf5dfaba08.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,89fb7980-f200-4d03-a95c-eecf5dfaba08.aspx</id>
    <published>2009-06-21T07:20:00-07:00</published>
    <updated>2009-06-21T00:28:44.859375-07:00</updated>
    <category term="Life" label="Life" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I read a nice post by Steve Blank (a recommendation by Erez Eden) that describes how
      to manage and balance life, family and children during hard work.
   </p>
        <p>
      Perhaps it could work and you could find free time to raise your kids even the hard
      work!
   </p>
        <p>
      Great post is <a href="http://steveblank.com/2009/06/18/epitaph-for-an-entrepreneur/" target="_blank">here</a>. 
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=89fb7980-f200-4d03-a95c-eecf5dfaba08" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Html Agility Pack</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,99f2cc60-1579-477c-9814-5fcead0af6df.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,99f2cc60-1579-477c-9814-5fcead0af6df.aspx</id>
    <published>2009-06-09T23:59:00-07:00</published>
    <updated>2009-06-10T00:23:40.023-07:00</updated>
    <category term="Solutions" label="Solutions" scheme="dasBlog" />
    <category term="C#" label="C#" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I had a task at work to get a web page content (using System.Net.WebRequest) in order
      to send the data by demand by email or in other ways.
   </p>
        <p>
      The web page holds contents like images and more that need to be send by email in
      order to display the html content properly.
   </p>
        <p>
      In order to parse the html content and look out for the images in order to download
      them to the server manually (a thing that will cause a lot of regex work and parsing
      issues), I found a great open source module (by <strong>Sharon Djabnoun</strong>,
      my allrise.com teammate, recommendation) that called <strong>HTML Agility Pack. <em>“</em></strong><em>This
      is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT
      (you actually don't HAVE to understand XPATH nor XSLT to use it, don't worry...).
      It is a .NET code library that allows you to parse "out of the web" HTML
      files. The parser is very tolerant with "real world" malformed HTML. The
      object model is very similar to what proposes System.Xml, but for HTML documents (or
      streams).”</em></p>
        <p>
      Now, the work on the html content will be very easy and fast – the only thing that
      I’ll need to do is to fine the images node, download the images to the server, set
      the directive of the image’s source and send the email with the attachments and the
      fixed URL content to point the new location of the images.
   </p>
        <p>
      You can find it <a href="http://www.codeplex.com/htmlagilitypack" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=99f2cc60-1579-477c-9814-5fcead0af6df" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Is Entity Framework Ready for a SOA Environment</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,2df8b2d7-f2f6-4da5-a813-6c8456a28499.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,2df8b2d7-f2f6-4da5-a813-6c8456a28499.aspx</id>
    <published>2009-05-24T02:30:00-07:00</published>
    <updated>2009-05-24T02:42:09.20875-07:00</updated>
    <category term="WCF" label="WCF" scheme="dasBlog" />
    <category term="Entity Framework" label="Entity Framework" scheme="dasBlog" />
    <category term="SOA" label="SOA" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      After seeking the web for a good ORM mechanism in regards of developing scalable and
      generic DAL + BL tier (or service), I bumped into a great article that tested the
      EF (Entity Framework) hosted in WCF service (SOA architecture). 
   </p>
        <p>
      You can read it <a href="http://blogs.microsoft.co.il/blogs/davidbi/archive/2009/05/17/entity-framework-in-a-soa-environment.aspx" target="_blank">here</a>.
      A short summary of this post says that the EF is still premature and couldn’t perform
      complex actions (like updating multiple tables that doing some transactions).
   </p>
        <p>
      Performance and Scalability are also has been tested and the results weren’t so good!
   </p>
        <p>
      So, after getting some advices from friends and colleges I think I’ll use NHibernate
      in order to publish my ORM relations to the DB.
   </p>
        <p>
      Any suggestions or comments to this will be complimented to my email. 
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=2df8b2d7-f2f6-4da5-a813-6c8456a28499" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Silverlight 2 DataGrid Control by DevExpress &amp;ndash; and its FREE</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,c640f3a2-da9f-47cd-b25f-88ccb93a8f82.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,c640f3a2-da9f-47cd-b25f-88ccb93a8f82.aspx</id>
    <published>2009-05-14T06:15:00-07:00</published>
    <updated>2009-05-13T23:19:20.832125-07:00</updated>
    <category term="Silverlight 2" label="Silverlight 2" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I was struggling the basic out-of-the-box datagrid control of Silverlight and it doesn’t
      do much…
   </p>
        <p>
      After reading the <a href="http://www.silverlightshow.net/" target="_blank">silverlightshow.net</a> site
      for some tutorials I revealed the amazing <a href="http://www.devexpress.com/Products/NET/Controls/Silverlight/Grid/" target="_blank">agDataGrid</a> of
      DevExpress that makes life easier.
   </p>
        <p>
      To read some more info about it go <a href="http://www.silverlightshow.net/items/Building-a-Silverlight-Line-Of-Business-Application-Part-2.aspx" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=c640f3a2-da9f-47cd-b25f-88ccb93a8f82" />
      </div>
    </content>
  </entry>
  <entry>
    <title>ADO.NET Data Services and Silverlight 2 Application Cross-domain Solution</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,f11bff90-b37c-46f6-a4d2-0ecb1eeeeb22.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,f11bff90-b37c-46f6-a4d2-0ecb1eeeeb22.aspx</id>
    <published>2009-05-11T11:18:00-07:00</published>
    <updated>2009-05-11T04:37:30.9263196-07:00</updated>
    <category term="Silverlight 2" label="Silverlight 2" scheme="dasBlog" />
    <category term="ADO.NET Data Services (aka Astoria)" label="ADO.NET Data Services (aka Astoria)" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Hi, 
   </p>
        <p>
      as I posted in my previous email in regards Silverlight 2, I’ve decided to use ADO.NET
      Data Services (After consulting my mate Josh Reuben – senior SELA consultant) in order
      to consume the data in a very easy and light way (by using its linq notation and light
      weight data bandwidth using JSON).
   </p>
        <p>
      The only main issue that I encountered with the last few days I am exploring this
      (new for me) technologies is the issue of cross-domain preventing:
   </p>
        <p>
          <em>“ADO.NET Data Services does not currently support cross-domain communications.
      Cross-domain communications are supported with standard REST and SOAP services, but
      not with ADO.NET Data Services. …… </em>
          <em>This means that a Silverlight 2 client
      cannot talk to services exposed through ADO.NET Data Services if those services are
      hosted on a different domain than the domain that hosts the Silverlight client application.” </em>
        </p>
        <h6>Quoted from John Papa post <a href="http://msdn.microsoft.com/en-us/magazine/dd569758.aspx#id0080005" target="_blank">here</a>.
   </h6>
        <p>
      Recently I followed up the the Astoria blog team and found that they created a great
      workaround that comes to give a solution for this issue that holt me these days using
      these data services because my application is distributed and need to be separated
      for a client and server.
   </p>
        <p>
      Find it <a href="http://blogs.msdn.com/tom_laird-mcconnell/archive/2009/03/25/creating-an-ado-net-data-service-proxy-as-workaround-for-silverlight-ado-net-cross-domain-issue.aspx" target="_blank">here</a>. 
   </p>
        <p>
      The Astoria blog team is <a href="http://blogs.msdn.com/astoriateam/default.aspx" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=f11bff90-b37c-46f6-a4d2-0ecb1eeeeb22" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Understanding WCF Services in Silverlight 2</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,ea0818cb-a2a5-4367-a53b-f5bc4f188749.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,ea0818cb-a2a5-4367-a53b-f5bc4f188749.aspx</id>
    <published>2009-05-10T13:16:00-07:00</published>
    <updated>2009-05-10T08:32:09.2759752-07:00</updated>
    <category term="WCF" label="WCF" scheme="dasBlog" />
    <category term="Silverlight 2" label="Silverlight 2" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I am new to Silverlight 2 and starting these days to develop my first Silverlight
      application hosted on asp.net web application, which is going to be a large and complex
      management system for a new product of the company I am working for.
   </p>
        <p>
      I going to use some new technologies from Microsoft house (like Silverlight, ADO.NET
      Data Services over WCF and Entity Framework), therefore I started to read some tutorials
      in regards these topics and must say that there are good tutorials on the web but
      I read a nice and long post: “<a href="http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight-2">Understanding
      WCF Services in Silverlight 2</a>” that explains how to create WCF Service and more
      and more (which is quite basic for those that has some knowledge in WCF), but the
      good paragraph is the detailed info in regards the consuming this service in a Silverlight
      2 application.
   </p>
        <p>
      Check it out <a href="http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight-2" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ea0818cb-a2a5-4367-a53b-f5bc4f188749" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Searching MSDN Using Google</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,2651024f-5504-4527-a032-582dd0eb3e19.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,2651024f-5504-4527-a032-582dd0eb3e19.aspx</id>
    <published>2009-05-07T06:24:00-07:00</published>
    <updated>2009-05-06T23:34:44.920625-07:00</updated>
    <category term="MSDN" label="MSDN" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Hi,
   </p>
        <p>
      Long time since my last post I know, but promise to start writing again soon; I am
      starting these days to write my first big Silverlight 2 application, so I think I’ll
      have plenty of stuff to share.
   </p>
        <p>
      For now, great and convenient search engine from google to search MSDN contents (thanks
      to Erez Eden, my friend that keeps me on track with such nice things…)
   </p>
        <p>
      You can check it out in the further and save it in your favorites: <a href="http://www.google.com/microsoft" target="_blank">http://www.google.com/microsoft</a></p>
        <p>
      Be in touch, promise, Eran.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=2651024f-5504-4527-a032-582dd0eb3e19" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Windows Workflow Foundation (aka WWF) - My Insights</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,5b60a15e-a16d-4750-9636-438ebee456a3.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,5b60a15e-a16d-4750-9636-438ebee456a3.aspx</id>
    <published>2009-01-20T23:21:09.125-08:00</published>
    <updated>2009-01-19T23:40:42.15625-08:00</updated>
    <category term="VS2008" label="VS2008" scheme="dasBlog" />
    <category term="WWF" label="WWF" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Long time since I spent my words here (shame on me...), but I am in a middle of a
      great project that touches almost every MS technology: asp.net, WPF, WCF and even
      WWF. I want to talk here about known issue from Microsoft and not to innovate something
      but to share my frustrations in regadrs it.
   </p>
        <p>
      Even WWF is a great technology, has very intuitive API and supplies fun of programming
      - which is very important these days (for me at least) it has a major disadvantage: <strong>VERY
      VERY VERY</strong> slow VS 2008 designer. I am talking here about very big WF that
      contains somthing like 15 state activities, which everyone of them holds very complex
      conditions, code activities, send &amp; receive activities that exposed outside as
      a WCF service.
   </p>
        <p>
      In the beginning (were I was young by 6 months) life were easy and the future sound
      even better, but this has been changed after more and more and more logic in the WF
      which turned it to be a WF monster that except of doing coffee it does almost everything...
   </p>
        <p>
      My main insight in regards to it is to split every single state (also if it very small
      one) to a custom activities that each one of them (of course) will be placed in a
      seperate file and will hold all its logic. After it, in the main workflow file you
      could attach each one of them and combine the puzzle.
   </p>
        <p>
      Click to read more: <a href="http://social.msdn.microsoft.com/Forums/en-US/windowsworkflowfoundation/thread/d802c5a0-0b6f-400d-9ac0-35e28522be71/" target="_blank">VS2008
      Workflow Designer is Very Slow</a></p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=5b60a15e-a16d-4750-9636-438ebee456a3" />
      </div>
    </content>
  </entry>
</feed>