<?xml version="1.0" encoding="ISO-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-US">
	<title>Cure Consulting</title>
	<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php" />
	<modified>2012-02-05T16:54:46Z</modified>
	<author>
		<name>Aaron Cure</name>
		<email>acure@cureconsulting.com</email>
	</author>
	<copyright>Copyright 2012, Aaron Cure</copyright>
	<generator url="http://www.sourceforge.net/projects/sphpblog" version="0.4.6.1">SPHPBLOG</generator>
	<entry>
		<title>Packt Publishing 50th Oracle Book Offer</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry110719-061336" />
		<content type="text/html" mode="escaped"><![CDATA[Packt publishing just announced the release of their 50th Oracle book, and to celebrate they are offering deep discounts on ALL of their Oracle books! More information is available at <a href="http://www.packtpub.com/article/50th-oracle-book-offer" target="_blank" >Packt Publishing&#039;s website</a> ]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry110719-061336</id>
		<issued>2011-07-19T00:00:00Z</issued>
		<modified>2011-07-19T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Stop Losing Ebay Auctions</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry110520-050043" />
		<content type="text/html" mode="escaped"><![CDATA[I&#039;ve been using Auction Sniper to save money and win auctions for a while now, and thought I should share with my friends.  Click below and get a few free snipes on me.<br /><br /><a href="http://www.auctionsniper.com/?who=aaron.cure" target="_blank" ><img src="http://www.auctionsniper.com/images/button3.gif" width=88 height=33 border=0 alt=''></a><br /><b><a href="http://www.auctionsniper.com/" target="_blank" >AuctionSniper:<br />Your eBay sniping solution.</a></b>]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry110520-050043</id>
		<issued>2011-05-20T00:00:00Z</issued>
		<modified>2011-05-20T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Conditional References</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry110324-093805" />
		<content type="text/html" mode="escaped"><![CDATA[Ever wanted to include something when you are debugging,but want to use a different reference for the release compile?  I stumbled across this a while back and it is EXTREMELY useful.  Basically, you take the normal Reference Include statement in an ItemGroup and add a condition to it.  In this case I have a fake dll that I used for testing, and another one that I use for production (release).<br /><br />&lt;ItemGroup Condition=&quot; &#039;$(Configuration)|$(Platform)&#039; == &#039;Release|AnyCPU&#039; &quot;&gt;<br />    &lt;Reference Include=&quot;Interop.Galil&quot;&gt;<br />      &lt;HintPath&gt;..ReferenceInterop.Galil.dll&lt;/HintPath&gt;<br />      &lt;EmbedInteropTypes&gt;True&lt;/EmbedInteropTypes&gt;<br />    &lt;/Reference&gt;<br />&lt;/ItemGroup&gt;<br /><br />Then you create another ItemGroup for Debug:<br /><br />&lt;ItemGroup Condition=&quot; &#039;$(Configuration)|$(Platform)&#039; == &#039;Debug|AnyCPU&#039; &quot;&gt;<br />    &lt;ProjectReference Include=&quot;....FakeInteropGalilFakeInteropGalil.csproj&quot;&gt;<br />      &lt;Project&gt;{AC8113BC-CCE2-4598-915A-9CF2FF918442}&lt;/Project&gt;<br />      &lt;Name&gt;FakeInteropGalil&lt;/Name&gt;<br />    &lt;/ProjectReference&gt;<br />&lt;/ItemGroup&gt;<br /><br />]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry110324-093805</id>
		<issued>2011-03-24T00:00:00Z</issued>
		<modified>2011-03-24T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Un-Scratch an LCD Monitor</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry100902-140758" />
		<content type="text/html" mode="escaped"><![CDATA[I had a scratch in my LCD monitor from a recent move, and was totally bummed.  It was over two inches long, and pretty annoying.  A little googling came across <a href="http://www.wikihow.com/Fix-a-Scratch-on-an-LCD-Screen" target="_blank" >this</a> website on how to use a clean pencil eraser to remove it.  I have to tell you, I had my doubts, but it TOTALLY WORKED!  No more scratch, and it looks as good as new!]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry100902-140758</id>
		<issued>2010-09-02T00:00:00Z</issued>
		<modified>2010-09-02T00:00:00Z</modified>
	</entry>
	<entry>
		<title>NHibernate 2.x Beginner&#039;s Guide</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry100524-054748" />
		<content type="text/html" mode="escaped"><![CDATA[My book is finally out!  After over a year of more work than I ever thought it would take, I was finally able to hold a copy in my hand on Friday!<br /><br />You can pick up the book at the publisher&#039;s website, and for $5 more you can have the PDF version also: <a href="https://www.packtpub.com/nhibernate-2-x-beginners-guide/book" target="_blank" >https://www.packtpub.com/nhibernate-2-x-beginners-guide/book</a><br /><br />If you prefer, you can also pick it up at <a href="http://www.amazon.com/NHibernate-Beginners-Guide-Aaron-Cure/dp/1847198902/" target="_blank" >Amazon</a> or <a href="http://search.barnesandnoble.com/NHibernate-2x-Beginners-Guide/Aaron-Cure/e/9781847198907/" target="_blank" >Barnes and Noble</a><br /><br />If you&#039;re interested, you can take a look at a sample chapter <a href="http://www.packtpub.com/nhibernate-2-x-beginners-guide/book?utm_source=cureconsulting.com&amp;utm_medium=blog&amp;utm_content=authorsite&amp;utm_campaign=mdb_003373" target="_blank" >here</a>, just click on the &quot;Sample Chapter&quot; button. ]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry100524-054748</id>
		<issued>2010-05-24T00:00:00Z</issued>
		<modified>2010-05-24T00:00:00Z</modified>
	</entry>
	<entry>
		<title>NHibernate 2.x Beginner&#039;s Guide</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry100524-054646" />
		<content type="text/html" mode="escaped"><![CDATA[My book is finally out!  After over a year of more work than I ever thought it would take, I was finally able to hold a copy in my hand on Friday!<br /><br />You can pick up the book at the publisher&#039;s website, and for $5 more you can have the PDF version also: <a href="https://www.packtpub.com/nhibernate-2-x-beginners-guide/book" target="_blank" >https://www.packtpub.com/nhibernate-2-x-beginners-guide/book</a><br /><br />If you prefer, you can also pick it up at <a href="http://www.amazon.com/NHibernate-Beginners-Guide-Aaron-Cure/dp/1847198902/" target="_blank" >Amazon</a> or <a href="http://search.barnesandnoble.com/NHibernate-2x-Beginners-Guide/Aaron-Cure/e/9781847198907/" target="_blank" >Barnes and Noble</a><br /><br />If you&#039;re interested, you can take a look at a sample chapter <a href="http://www.packtpub.com/nhibernate-2-x-beginners-guide/book?utm_source=cureconsulting.com&amp;utm_medium=blog&amp;utm_content=authorsite&amp;utm_campaign=mdb_003373" target="_blank" >here</a>, just click on the &quot;Sample Chapter&quot; button. ]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry100524-054646</id>
		<issued>2010-05-24T00:00:00Z</issued>
		<modified>2010-05-24T00:00:00Z</modified>
	</entry>
	<entry>
		<title>SSL Certs and Mono</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry100210-145307" />
		<content type="text/html" mode="escaped"><![CDATA[I was recently plagued with an error while trying to make a connection to a secure website using Mono.  After several hours of searching I came across <a href="http://www.mono-project.com/FAQ:_Security" target="_blank" >this site</a> talking about importing trusted roots.  Having seen this same issue on windows servers, I knew I was in the right area.<br /><br />What I ended up doing was running mozroots --import --machine to import all of the mozilla (aka firefox) browser trusted roots, and then certmgr -ssl -m URL to get the actual cert and add it.]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry100210-145307</id>
		<issued>2010-02-10T00:00:00Z</issued>
		<modified>2010-02-10T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Selecting the correct language in Word 2007</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry100125-110937" />
		<content type="text/html" mode="escaped"><![CDATA[I know everyone has a favourite language, and so do I.  Unfortunately, I don&#039;t like to spell it favourite, because in the US we spell it favorite!  Word 2007 refused to do this for me on a couple of documents I had, until I found this little trick.<br /><br />1. Ctrl + a to select all<br />2. On the ribbon, click on Review then click Set Language<br />3. Select the language you need<br /><br />done and done.]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry100125-110937</id>
		<issued>2010-01-25T00:00:00Z</issued>
		<modified>2010-01-25T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Encrypting and Decrypting Config Files</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry091119-053811" />
		<content type="text/html" mode="escaped"><![CDATA[I&#039;ve talked for years about how you need to encrypt and decrypt Web.config and App.config files, but it took a spur for me to actually look it up.  Here is the command for those of you as lazy as me:<br /><br />c:windowsMicrosoft.NETFrameworkv2.0.50727aspnet_regiis -pef connectionStrings . -prov DataProtectionConfigurationProvider<br /><br /><br />Decrypting is just as easy:<br /><br />c:windowsMicrosoft.NETFrameworkv2.0.50727aspnet_regiis -pdf connectionStrings .<br /><br />Just a note, this only works on Web.config files.  If you want to encrypt an App.config, just rename it Web.config, run the tool, then change the name back.<br /><br />If you want to get hardcore and write your own tool, it&#039;s all available in the API:<br /><br /><a href="http://geekswithblogs.net/afeng/archive/2006/12/10/100821.aspx" target="_blank" >Aaron Feng&#039;s Blog</a> <br /><br /><code><br />Configuration configuration = ConfigurationManager.OpenExeConfiguration(appConfig);<br />ConfigurationSection section = this.configuration.GetSection(&quot;connectionStrings&quot;);<br />if (!section.SectionInformation.IsProtected) <br />{<br />section.SectionInformation.ProtectSection(&quot;DataProtectionConfigurationProvider&quot;);<br />section.SectionInformation.ForceSave = true;<br />configuration.Save(ConfigurationSaveMode.Modified);<br />}<br /></code><br /><br />To decrypt just do the oposite:<br /><code><br />if (section.SectionInformation.IsProtected) <br />{<br />// …<br />section.SectionInformation.UnprotectSection();<br />// …<br />}<br /></code>]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry091119-053811</id>
		<issued>2009-11-19T00:00:00Z</issued>
		<modified>2009-11-19T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Outlook blocked access to the following potentially unsave attachments:</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry091117-093901" />
		<content type="text/html" mode="escaped"><![CDATA[If you&#039;re like me, you&#039;ve likely received an attachment from someone after spending half an hour talking them through attaching it, only to find that Outlook as blocked access to it.  Here&#039;s all you need to do to make the ugly warning go away:<br /><br />1.  In the registry, under HKCUSoftwareMicrosoftOffice(VERSION)OutlookSecurity, add a string value &quot;Level1Remove&quot; and set the data to the extension of the file you need access to, like &quot;tmp&quot; or &quot;exe;ini&quot;.<br /><br />2. Restart Outlook and you now have access to these files.<br /><br />Don&#039;t forget to remove this key when you are done!]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry091117-093901</id>
		<issued>2009-11-17T00:00:00Z</issued>
		<modified>2009-11-17T00:00:00Z</modified>
	</entry>
</feed>


