<?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>digitalLighthouse .Net</title>
	<atom:link href="http://digitallighthouse.net/feed" rel="self" type="application/rss+xml" />
	<link>http://digitallighthouse.net</link>
	<description>something more about .Net and tech things...</description>
	<lastBuildDate>Sat, 06 Apr 2013 13:53:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Installing Oracle XE 11g x86 on x64</title>
		<link>http://digitallighthouse.net/2013/03/22/oracle-xe32onx64?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle-xe32onx64</link>
		<comments>http://digitallighthouse.net/2013/03/22/oracle-xe32onx64#comments</comments>
		<pubDate>Fri, 22 Mar 2013 11:29:53 +0000</pubDate>
		<dc:creator>Ricardo Figueiredo</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[express]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[x32]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://digitallighthouse.net/?p=272</guid>
		<description><![CDATA[Hi, If you are reading this entry it is almost for sure you are trying to install oracle express on a 64 bits machine. There is a lot of fuse at this time because express version of oracle product isn&#8217;t released for 64 bits windows os products. Fear not. Although I am not giving you<p><a class="excerpt-more blog-excerpt" href="http://digitallighthouse.net/2013/03/22/oracle-xe32onx64">Read More...</a></p>]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>If you are reading this entry it is almost for sure you are trying to install oracle express on a 64 bits machine. There is a lot of fuse at this time because express version of oracle product isn&#8217;t released for 64 bits windows os products.</p>
<p>Fear not.</p>
<p>Although I am not giving you the answer and assuming the risk of in future my source not to be online, I would like to redirect you as I couldn&#8217;t be more intuitive in my explanation than <a title="Konayachi-nyan" href="http://www.blogger.com/profile/09763350387909049970" target="_blank">Konayachi-nyan</a>:</p>
<p>Link To: <a title="http://www.hanmiaojuan.com/2013/03/install-oracle-xe-11g-for-windows7-64bits.html" href="http://www.hanmiaojuan.com/2013/03/install-oracle-xe-11g-for-windows7-64bits.html" target="_blank">http://www.hanmiaojuan.com/2013/03/install-oracle-xe-11g-for-windows7-64bits.html</a></p>
<p>Our many thanks for such a well documented process!</p>
<p>[EDIT]</p>
<p>There is a simpler way to do something (I hope):</p>
<p><a href="http://mazinabdulah.wordpress.com/2012/12/03/install-oracle-xe-11g-on-windows-7-64bit-having-a-error/">http://mazinabdulah.wordpress.com/2012/12/03/install-oracle-xe-11g-on-windows-7-64bit-having-a-error/</a></p>
<p>Don&#8217;t forget to rename reg file before clicking next!</p>
<p>Cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://digitallighthouse.net/2013/03/22/oracle-xe32onx64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook technologies</title>
		<link>http://digitallighthouse.net/2013/01/10/facebooktech?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=facebooktech</link>
		<comments>http://digitallighthouse.net/2013/01/10/facebooktech#comments</comments>
		<pubDate>Thu, 10 Jan 2013 09:34:03 +0000</pubDate>
		<dc:creator>Ricardo Figueiredo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://digitallighthouse.net/?p=266</guid>
		<description><![CDATA[Recently I have been confronted with a question about which technologies have been used on Facebook&#8217;s development. Although I thought it was used with GWT  - Google tool kit i was totally wrong. So I went googling For the ones as me that did not know Facebook is a PHP/mySQL product. However it is not as simple as one may think (i thought odd<p><a class="excerpt-more blog-excerpt" href="http://digitallighthouse.net/2013/01/10/facebooktech">Read More...</a></p>]]></description>
				<content:encoded><![CDATA[<p>Recently I have been confronted with a question about which technologies have been used on Facebook&#8217;s development.</p>
<p>Although I thought it was used with GWT  - Google tool kit i was totally wrong. So I went googling</p>
<p>For the ones as me that did not know Facebook is a PHP/mySQL product. However it is not as simple as one may think (i thought odd of it as it really has a good performance).</p>
<p>My source is a post from a Brazilian engineer.</p>
<p><iframe style="width: 100%;" src="http://www.bitabit.eng.br/2010/07/28/explorando-o-software-por-tras-do-facebook-a-maior-rede-social-do-mundo/?wpmp_tp=4" height="240" width="320"></iframe><br />
<a href="http://www.bitabit.eng.br/2010/07/28/explorando-o-software-por-tras-do-facebook-a-maior-rede-social-do-mundo/?wpmp_tp=4">View on site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://digitallighthouse.net/2013/01/10/facebooktech/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Entity Framework main pain in the ass&#8230; working on sql server 2005 and 2008</title>
		<link>http://digitallighthouse.net/2012/12/04/entity-framework-main-pain-in-the-ass-working-on-sql-server-2005-and-2008?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=entity-framework-main-pain-in-the-ass-working-on-sql-server-2005-and-2008</link>
		<comments>http://digitallighthouse.net/2012/12/04/entity-framework-main-pain-in-the-ass-working-on-sql-server-2005-and-2008#comments</comments>
		<pubDate>Tue, 04 Dec 2012 23:50:02 +0000</pubDate>
		<dc:creator>Ricardo Figueiredo</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://digitallighthouse.net/?p=261</guid>
		<description><![CDATA[Hi guys. I don&#8217;t know how many of you work on entity framework and have to deal with sql server 2005 and sql server 2008. For the ones of you that work over 2005 there is no troubles.. at least not the one that I have met a few times. However if you work over<p><a class="excerpt-more blog-excerpt" href="http://digitallighthouse.net/2012/12/04/entity-framework-main-pain-in-the-ass-working-on-sql-server-2005-and-2008">Read More...</a></p>]]></description>
				<content:encoded><![CDATA[<p>Hi guys.</p>
<p>I don&#8217;t know how many of you work on entity framework and have to deal with sql server 2005 and sql server 2008.</p>
<p>For the ones of you that work over 2005 there is no troubles.. at least not the one that I have met a few times. However if you work over 2008 to deploy to sql 2005&#8230; well.. if you forget it then you can have a several loss of time!</p>
<p>&#8220;Why?&#8221; may you ask&#8230;. well&#8230;. when you update your edmx store from database (2008) your edmx retrieves info from schema; between this info it also saves the &#8220;ProviderManifestToken&#8221;. It will be saved as 2008. This implies that your data will be interpreted for sql2008.</p>
<p>When you deploy your solution over sql2005 you will run in trouble as sql2008 has datetime2 and sql2005 don&#8217;t. You will be looking around until yu find that yu must edit your edmx xml code and change &#8220;ProviderManifestToken&#8221; for 2005.</p>
<pre>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;edmx:Edmx Version=&quot;2.0&quot; xmlns:edmx=&quot;http://schemas.microsoft.com/ado/2008/10/edmx&quot;&gt;
  &lt;!-- EF Runtime content --&gt;
  &lt;edmx:Runtime&gt;
    &lt;!-- SSDL content --&gt;
    &lt;edmx:StorageModels&gt;
    &lt;Schema Namespace=&quot;TrackControlModel.Store&quot; Alias=&quot;Self&quot; Provider=&quot;System.Data.SqlClient&quot; &lt;strong&gt;ProviderManifestToken=&quot;2005&quot;&lt;/strong&gt; xmlns:store=&quot;http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator&quot; xmlns=&quot;http://schemas.microsoft.com/ado/2009/02/edm/ssdl&quot;&gt;
</pre>
<p>just point on your edmx file and left click -&gt; edit xml.<br />
Thats all.<br />
My many thanks for last source where I found it again&#8230; <img src='http://digitallighthouse.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a title="Last source" href="http://www.ifunky.net/blog/post/Type-datetime2-is-not-a-defined-system-type-Entity-Framework.aspx" target="_blank">http://www.ifunky.net/blog/post/Type-datetime2-is-not-a-defined-system-type-Entity-Framework.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://digitallighthouse.net/2012/12/04/entity-framework-main-pain-in-the-ass-working-on-sql-server-2005-and-2008/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A tv viewer on WPF</title>
		<link>http://digitallighthouse.net/2012/10/01/a-tv-viewer-on-wpf?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-tv-viewer-on-wpf</link>
		<comments>http://digitallighthouse.net/2012/10/01/a-tv-viewer-on-wpf#comments</comments>
		<pubDate>Mon, 01 Oct 2012 19:47:44 +0000</pubDate>
		<dc:creator>Ricardo Figueiredo</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[TV]]></category>
		<category><![CDATA[VLC]]></category>

		<guid isPermaLink="false">http://digitallighthouse.net/?p=239</guid>
		<description><![CDATA[Hi. Have you already tried to create a tv viewer from your tv card in WPF? First thing I thought is &#8220;it isn&#8217;t gonna be so hard&#8230; I just have to put a control in there and it is done&#8221;. So I put hand on the job&#8230; MediaElement control to see some movies.. ok. now,<p><a class="excerpt-more blog-excerpt" href="http://digitallighthouse.net/2012/10/01/a-tv-viewer-on-wpf">Read More...</a></p>]]></description>
				<content:encoded><![CDATA[<p>Hi.</p>
<p>Have you already tried to create a tv viewer from your tv card in WPF?<br />
First thing I thought is &#8220;it isn&#8217;t gonna be so hard&#8230; I just have to put a control in there and it is done&#8221;.<br />
So I put hand on the job&#8230; MediaElement control to see some movies.. ok. now, how do I set the source to my tv card?.. hmm hmm.. nothing? what the hell&#8230;</p>
<p>Maybe I was too optimistic!<br />
I took a peek on some paying controls but all seemed not to be on my side. Until I got something with WPF vlc control&#8230; it is a port of the well known VLC as a .Net control.<br />
Take a look in here:<a title="http://vlcdotnet.codeplex.com/" href="http://vlcdotnet.codeplex.com/"> http://vlcdotnet.codeplex.com/</a></p>
<p>The major difficult is how to code the channel sources. Try on your VLC player on how to define it&#8230;</p>
<p>The portugal encode is something like:</p>
<pre>

var rtp1 = new PlainPathMedia(@&quot;dvb-t://frequency=754000000 :bandwidth=0&quot;);
rtp1.Options.Add(@&quot;live-caching=300&quot;);
rtp1.Options.Add(@&quot;program=1101&quot;);
</pre>
<p>The <strong>PlainPathMedia</strong> is a class I created to represent my media for vlc.</p>
<pre>
    public class PlainPathMedia : INotifyPropertyChanged
    {
        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;
        protected void OnPropertyChanged(string propertyName)
        {
            if (this.PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        #endregion

        private string _path;
        public string Path
        {
            get { return _path; }
            set
            {
                if (_path != value)
                {
                    _path = value;
                    OnPropertyChanged(&quot;Path&quot;);
                }
            }
        }

        private ObservableCollection&lt;string&gt; _options;
        public ObservableCollection&lt;string&gt; Options
        {
            get { return _options; }
            set
            {
                if (_options != value)
                {
                    _options = value;
                    OnPropertyChanged(&quot;Options&quot;);
                }
            }
        }

        public PlainPathMedia()
        {
            Options = new ObservableCollection&lt;string&gt;();
        }

        public PlainPathMedia(string path)
            : this()
        {
            _path = path;
        }
    }

</pre>
<p>Here is source for this project: <a href="http://digitallighthouse.net/wp-content/uploads/2012/10/dlTvDemo.zip">dlTvDemo</a></p>
<p>til! <img src='http://digitallighthouse.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://digitallighthouse.net/2012/10/01/a-tv-viewer-on-wpf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SL &#8211; Load images</title>
		<link>http://digitallighthouse.net/2012/07/03/sl-load-images?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sl-load-images</link>
		<comments>http://digitallighthouse.net/2012/07/03/sl-load-images#comments</comments>
		<pubDate>Tue, 03 Jul 2012 17:21:37 +0000</pubDate>
		<dc:creator>Ricardo Figueiredo</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[byte[]]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[imagestream]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://digitallighthouse.net/?p=217</guid>
		<description><![CDATA[There seems to be lot of ways on how to load an image and do upload. On one of my first attempts to do it I thought I have done it ok. It seemed so as when I test it on my machine and upload to server it was OK. However recently when trying my app I noticed<p><a class="excerpt-more blog-excerpt" href="http://digitallighthouse.net/2012/07/03/sl-load-images">Read More...</a></p>]]></description>
				<content:encoded><![CDATA[<p>There seems to be lot of ways on how to load an image and do upload.</p>
<p>On one of my first attempts to do it I thought I have done it ok. It seemed so as when I test it on my machine and upload to server it was OK.<br />
However recently when trying my app I noticed that there was an error when I try to load image from app on a remote server.</p>
<p>So I put my hands on issue and done some tests.</p>
<p>I ended up with 2 ways on how to load an image to an image content on Silverlight.</p>
<p>On first one I load a BitmapImage; on other one i load a byte[].</p>
<p>There seems to be some buzzy about loading byte[] from stream. I get my byte[] from OpenFileDialog but process should be similar.</p>
<pre>
        public Byte[] fdToByteArray(OpenFileDialog odf)
        {
            Stream stream = odf.File.OpenRead();

            BinaryReader binaryReader = new BinaryReader(stream);

            byte[] currentImageInBytes = binaryReader.ReadBytes((int)stream.Length);
            stream.Position = 0;
            return currentImageInBytes;
        }
</pre>
<p>If someone on intent of testing code I have code here:<a href="http://digitallighthouse.net/wp-content/uploads/2012/07/imageTest.zip">imageTest</a><br />
A link to <a title="Demo" href="http://digitallighthouse.net/slupload/imageTestTestPage.html" target="_blank">demo</a>.<br />
Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://digitallighthouse.net/2012/07/03/sl-load-images/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
