<?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>MIKE</title>
	<atom:link href="http://helios.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://helios.ca</link>
	<description>Just another developer blog</description>
	<lastBuildDate>Wed, 17 Feb 2010 17:35:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ASP.NET MVC 2 Model Validation With Localization</title>
		<link>http://helios.ca/2010/02/17/asp-net-mvc-2-model-validation-with-localization/</link>
		<comments>http://helios.ca/2010/02/17/asp-net-mvc-2-model-validation-with-localization/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 17:35:03 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=226</guid>
		<description><![CDATA[So yesterday I posted about MVC 2 Model Validation. And today I&#8217;m going to do the same thing, but I&#8217;m going to Localize those ErrorMessage.
In this post I&#8217;ll not be using the SetCulture Attribute from ASP.NET MVC And Localization. Instead I&#8217;ll be using the auto-culture feature of ASP.NET which will be explained here; note you [...]]]></description>
			<content:encoded><![CDATA[<p>So yesterday I posted about <a href="http://helios.ca/2010/02/15/asp-net-mvc-2-model-validation/">MVC 2 Model Validation</a>. And today I&#8217;m going to do the same thing, but I&#8217;m going to Localize those ErrorMessage.</p>
<p>In this post I&#8217;ll not be using the SetCulture Attribute from <a href="http://helios.ca/2009/05/27/aspnet-mvc-and-localization/">ASP.NET MVC And Localization</a>. Instead I&#8217;ll be using the auto-culture feature of ASP.NET which will be explained here; note you could achieve the same thing with the SetCulture Attribute. </p>
<p>Obviously, we&#8217;ll start by creating a new ASP.NET MVC 2 Web Application. I did not create a Test Project for this&#8230;<br />
<a href="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-35-28-AM1.png"><img src="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-35-28-AM1.png" alt="" title="2-17-2010 11-35-28 AM" width="512" height="372" class="aligncenter size-full wp-image-242" /></a></p>
<p>Then we need to setup proper Globalization configuration in our project. For this we&#8217;ll use the Auto-Culture features of ASP.NET. Open up the Web.Config and add this line.</p>
<pre class="xml" name="code">
<configuration>
    ....
    <system.web>
        ....
        <globalization enableClientBasedCulture="true" culture="auto" uiCulture="auto"/>
    </system.web>
    ....
</configuration
</pre>
<p>Lets make sure the Globalization works.</p>
<p>First, we'll create the App_GlobalResources folder and add 2 resources files to it; <strong>Global.resx</strong> and <strong>Global.fr.resx</strong>. Also add some Resources to this files.<br />
<a href="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-40-17-AM1.png"><img src="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-40-17-AM1.png" alt="" title="2-17-2010 11-40-17 AM" width="520" height="156" class="aligncenter size-full wp-image-246" /></a></p>
<p>Well also need to make sure that these Resources files do not have Internal properties, but Public properties and also make it an embedded resources. To do this we need to click the <strong>Global.resx</strong> file, right-blick and go to <strong>properties</strong>. Set the <strong>Build Action</strong> to <strong>Embedded Resources</strong> and the <strong>Custom Tool</strong> to <strong>PublicResXFileCodeGenerator</strong>. </p>
<p><a href="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-12-10-37-PM.png"><img src="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-12-10-37-PM.png" alt="" title="2-17-2010 12-10-37 PM" width="415" height="158" class="aligncenter size-full wp-image-238" /></a></p>
<p>Now we'll change some hard-coded text to Resources. I simply opened up the HomeController and changed the Index action...</p>
<pre class="csharp" name="code">
public ActionResult Index()
{
    ViewData["Message"] = Resources.Global.Welcome;

    return View();
}
</pre>
<p>Just try the application and make sure it works properly.</p>
<p><a href="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-45-27-AM.png"><img src="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-45-27-AM.png" alt="" title="2-17-2010 11-45-27 AM" width="492" height="268" class="aligncenter size-full wp-image-232" /></a></p>
<p><a href="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-45-53-AM.png"><img src="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-45-53-AM.png" alt="" title="2-17-2010 11-45-53 AM" width="493" height="268" class="aligncenter size-full wp-image-233" /></a></p>
<p>So now we know that our Localization works, but that's not what this post is about is it... What we want is to localize the Error Messages in our Model! So lets make a test model with some validation attributes! </p>
<p>Notice that I'm not using <strong>ErrorMessage</strong> anymore, instead I'm using <strong>ErrorMessageResourceType</strong> and <strong>ErrorMessageResourceName</strong>.</p>
<pre class="csharp" name="code">
public class Test
{
    // StringLength
    [StringLength(5, ErrorMessageResourceType = typeof(Global), ErrorMessageResourceName = "StringLength")]
    public string StringLength { get; set; }

    // Required
    [Required(ErrorMessageResourceType = typeof(Global), ErrorMessageResourceName = "Required")]
    public string Required { get; set; }

    // Required and StringLength
    [Required(ErrorMessageResourceType = typeof(Global), ErrorMessageResourceName = "Required")]
    [StringLength(5, ErrorMessageResourceType = typeof(Global), ErrorMessageResourceName = "StringLength")]
    public string Combos { get; set; }

    // Range Attribute
    [Range(1, 31, ErrorMessageResourceType = typeof(Global), ErrorMessageResourceName = "Range")]
    public int Range { get; set; }

    // RegularExpression Attribute
    [RegularExpression(@"^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$", ErrorMessageResourceType = typeof(Global), ErrorMessageResourceName = "Email")]
    public string Regex { get; set; }

    // Custom Regular Expression EmailAttribute
    [Email(ErrorMessageResourceType = typeof(Global), ErrorMessageResourceName = "Email")]
    public string Email { get; set; }
}
</pre>
<p>So that's it for the model, now we need a Controller and a View for that.</p>
<pre class="csharp" name="code">
[HttpGet]
public ActionResult Create()
{
   var t = new Test();
   return View(t);
}

[HttpPost]
public ActionResult Create(Test t)
{
    if (ModelState.IsValid)
    {
        // If it's valid redirect to success page, or in my case the Home page since I have nothing else...
        return Redirect("/");
    }
    return View(t);
}
</pre>
<p>For the view, just right click on either Create and click Add View...<br />
<a href="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-57-52-AM.png"><img src="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-11-57-52-AM.png" alt="" title="2-17-2010 11-57-52 AM" width="382" height="384" class="aligncenter size-full wp-image-237" /></a></p>
<p>We don't need to change anything to the view so I'm not going to go into details on this one... Beside I'll post the Source Code when I'm done..</p>
<p>Here's the final result, with my browser set to French.<br />
<a href="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-12-23-09-PM.png"><img src="http://helios.ca/wp-content/uploads/2010/02/2-17-2010-12-23-09-PM.png" alt="" title="2-17-2010 12-23-09 PM" width="630" height="706" class="aligncenter size-full wp-image-253" /></a></p>
<p>It's my first strike at this so if you have any comments or suggestion feel free to share it with us in the comment section!</p>
<p>Here's the <a href='http://helios.ca/wp-content/uploads/2010/02/MvcModelValidationLocalized.zip'>Source Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2010/02/17/asp-net-mvc-2-model-validation-with-localization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC 2 Model Validation</title>
		<link>http://helios.ca/2010/02/15/asp-net-mvc-2-model-validation/</link>
		<comments>http://helios.ca/2010/02/15/asp-net-mvc-2-model-validation/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 16:40:59 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=213</guid>
		<description><![CDATA[In projects I usually work on, we always use a data validation framework. But now in ASP.NET MVC 2 you can do it just as you would using a framework. 
You need to write your model with the proper validation attributes.

using System;
using System.ComponentModel.DataAnnotations;

namespace FunWithMvc2RC2
{
    public class Test
    {
  [...]]]></description>
			<content:encoded><![CDATA[<p>In projects I usually work on, we always use a data validation framework. But now in ASP.NET MVC 2 you can do it just as you would using a framework. </p>
<p>You need to write your model with the proper validation attributes.</p>
<pre class="csharp" name="code">
using System;
using System.ComponentModel.DataAnnotations;

namespace FunWithMvc2RC2
{
    public class Test
    {
        // StringLenght
        [StringLength(5, ErrorMessage = "Maximum 25 Characters")]
        public string StringLength { get; set; }

        // Required
        [Required(ErrorMessage = "Required Field")]
        public string Required { get; set; }

        // Required and StringLenght
        [Required(ErrorMessage = "Required Field")]
        [StringLength(5, ErrorMessage = "Maximum 25 Characters")]
        public string Combos { get; set; }

        // Range Attribute
        [Range(1, 31, ErrorMessage = "Minimum 1; Maximum 31")]
        public int Range { get; set; }

        // RegularExpression Attribute
        [RegularExpression(@"^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$", ErrorMessage = "Invalid Email Address")]
        public string Regex { get; set; }

        // Custom Regular Expression EmailAttribute
        [Email(ErrorMessage = "Email Validation")]
        public string Email { get; set; }
    }
}
</pre>
<p>This will give you something like this:<br />
<a href="http://helios.ca/wp-content/uploads/2010/02/test1.jpg"><img src="http://helios.ca/wp-content/uploads/2010/02/test1.jpg" alt="" title="test" width="522" height="630" class="aligncenter size-full wp-image-220" /></a></p>
<p>And to make the Email Attribute you simply make a new class, which inherits RegularExpressionAttribute and then send the constructor an Email Address Regex! It&#8217;s this simple. You could do the same for any other Regular Expression based validation. Just Make sure you call your class &#8211; SomethingAttribute. </p>
<pre class="csharp" name="code">
using System;
using System.ComponentModel.DataAnnotations;

namespace FunWithMvc2RC2
{
    public class EmailAttribute : RegularExpressionAttribute
    {
        public EmailAttribute() :
            base(@"^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$") {}
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2010/02/15/asp-net-mvc-2-model-validation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HOW TO: Turn Off Google Buzz</title>
		<link>http://helios.ca/2010/02/15/how-to-turn-off-google-buzz/</link>
		<comments>http://helios.ca/2010/02/15/how-to-turn-off-google-buzz/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 04:28:13 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=209</guid>
		<description><![CDATA[If you&#8217;re like me and you don&#8217;t really like Google Buzz, know that you can easily turn it off by scrolling at the bottom of any page inside GMAIL.

Yeah, it&#8217;s that easy&#8230;
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me and you don&#8217;t really like Google Buzz, know that you can easily turn it off by scrolling at the bottom of any page inside GMAIL.</p>
<p><a href="http://helios.ca/wp-content/uploads/2010/02/Untitled-1.jpg"><img class="aligncenter size-full wp-image-210" title="Untitled-1" src="http://helios.ca/wp-content/uploads/2010/02/Untitled-1.jpg" alt="" width="468" height="121" /></a></p>
<p>Yeah, it&#8217;s that easy&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2010/02/15/how-to-turn-off-google-buzz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Edit WCF Configuration&#8221; is missing from Visual Studio 2008 context menu</title>
		<link>http://helios.ca/2010/02/04/edit-wcf-configuration-is-missing-from-visual-studio-2008-context-menu/</link>
		<comments>http://helios.ca/2010/02/04/edit-wcf-configuration-is-missing-from-visual-studio-2008-context-menu/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 17:11:25 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=202</guid>
		<description><![CDATA[So this morning I format a laptop and install a fresh copy of Visual Studio 2008. I then try to edit the Web.Config using Edit WCF Configuration, but wait it&#8217;s missing! What the hell?

So I look around in VS menus and find Tools -&#62; WCF Service Configurator Editor. I clicked it and modified my Web.Config&#8230;But [...]]]></description>
			<content:encoded><![CDATA[<p>So this morning I format a laptop and install a fresh copy of Visual Studio 2008. I then try to edit the Web.Config using <strong>Edit WCF Configuration</strong>, but wait it&#8217;s missing! What the hell?</p>
<p><a href="http://helios.ca/wp-content/uploads/2010/02/1.jpg"><img class="aligncenter size-full wp-image-204" title="1" src="http://helios.ca/wp-content/uploads/2010/02/1.jpg" alt="" width="350" height="362" /></a></p>
<p>So I look around in VS menus and find <strong>Tools -&gt; WCF Service Configurator Editor. </strong>I clicked it and modified my Web.Config&#8230;But I really liked to have the option to just open this in the Context Menu! I clicked again just to humor myself and it was back!</p>
<p><a href="http://helios.ca/wp-content/uploads/2010/02/2.jpg"><img class="aligncenter size-full wp-image-203" title="2" src="http://helios.ca/wp-content/uploads/2010/02/2.jpg" alt="" width="350" height="362" /></a></p>
<p>I don&#8217;t know what happened there, it&#8217;s actually the first time I see this, but I don&#8217;t play much with WCF! I was actually able to reproduce this first hand on a virtual machine&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2010/02/04/edit-wcf-configuration-is-missing-from-visual-studio-2008-context-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Remove Workspaces from Visual Studio</title>
		<link>http://helios.ca/2010/01/25/how-to-remove-workspaces-from-visual-studio/</link>
		<comments>http://helios.ca/2010/01/25/how-to-remove-workspaces-from-visual-studio/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:09:26 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Developement]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=192</guid>
		<description><![CDATA[I usually work using Team Foundation Systems over VPN. And sometimes my VPN access is revoked because I no longer work for a particular client, when this happens my Visual Studio Workspaces is stock there, I can&#8217;t reuse the same folder. I&#8217;ve been looking into this and found a fairly simple solution from Greg.

Open the [...]]]></description>
			<content:encoded><![CDATA[<p>I usually work using Team Foundation Systems over VPN. And sometimes my VPN access is revoked because I no longer work for a particular client, when this happens my Visual Studio Workspaces is stock there, I can&#8217;t reuse the same folder. I&#8217;ve been looking into this and found a fairly simple solution from <a href="http://gregdoesit.com/2009/01/tfs-deleting-old-workspaces/">Greg</a>.</p>
<ol>
<li>Open the Command Line ( <strong>Start -&gt; Run -&gt; cmd</strong>)</li>
<li>Go to:  <strong>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE</strong> (or C:\Program Files\Microsoft Visual Studio 8\Common7\IDE for Visual Studio 2005)</li>
<li>Execute: <strong>tf workspaces /remove:workspace</strong></li>
</ol>
<p>This probably works with Visual Studio 2010, I should update this post whenever I try it!</p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2010/01/25/how-to-remove-workspaces-from-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.Net MVC RSS Feed Action Result</title>
		<link>http://helios.ca/2009/09/22/asp-net-mvc-rss-feed-action-result/</link>
		<comments>http://helios.ca/2009/09/22/asp-net-mvc-rss-feed-action-result/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 22:17:35 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=180</guid>
		<description><![CDATA[ASP.NET MVC ships with a few ActionResult but lacks an RSS Feed ActionResult. I required one for a small project at work, so I started looking on the web if there was something interesting before coding my own. Well the googling was successful! I found a nice piece of code by Guy Burstein. 
If you [...]]]></description>
			<content:encoded><![CDATA[<p>ASP.NET MVC ships with a few ActionResult but lacks an RSS Feed ActionResult. I required one for a small project at work, so I started looking on the web if there was something interesting before coding my own. Well the googling was successful! I found a nice piece of code by <a href="http://blogs.microsoft.co.il/blogs/bursteg/archive/2009/01/11/asp-net-mvc-rss-feed-action-result.aspx">Guy Burstein. </a></p>
<p>If you need such an ActionResult in your application, I would recommend you to read his <a href="http://blogs.microsoft.co.il/blogs/bursteg/archive/2009/01/11/asp-net-mvc-rss-feed-action-result.aspx">article </a>first!</p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2009/09/22/asp-net-mvc-rss-feed-action-result/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC Extension Methods of UrlHelper</title>
		<link>http://helios.ca/2009/09/21/asp-net-mvc-extension-methods-of-urlhelper/</link>
		<comments>http://helios.ca/2009/09/21/asp-net-mvc-extension-methods-of-urlhelper/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 01:31:08 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=170</guid>
		<description><![CDATA[How to create ASP.NET MVC Extensions Methods of UrlHelper]]></description>
			<content:encoded><![CDATA[<p>I think this is kind of obvious, but I guess it might not be for everyone because I&#8217;ve seen some code where people do not use this! URL Helpers are really easy to setup, it takes only a few minutes and will probably save you a lot of massive Search &amp; Replace in the future!</p>
<pre class="csharp" name="code">public static string Image(this UrlHelper helper, string fileName)
{
    return helper.Content("~/Content/Images/" + fileName));
}

public static string Stylesheet(this UrlHelper helper, string fileName)
{
    return helper.Content("~/Content/Stylesheets/" + fileName);
}

public static string Script(this UrlHelper helper, string fileName)
{
    return helper.Content("~/Content/Scripts/" + fileName);
}</pre>
<p>So instead of doing this:</p>
<pre class="csharp" name="code">&lt;link href="../../../Content/StyleSheets/Main.css" rel="stylesheet" type="text/css" /&gt;</pre>
<p>You can do this:</p>
<pre class="csharp" name="code">&lt;link href="&lt;%= UrlHelper.Stylesheet("Main.css")%&gt;" rel="stylesheet" type="text/css" /&gt;</pre>
<p>These are just 3 common examples, you should do the same thing for things you use a lot.</p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2009/09/21/asp-net-mvc-extension-methods-of-urlhelper/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC V2 Preview 1 Released!!!</title>
		<link>http://helios.ca/2009/08/01/asp-net-mvc-v2-preview-1-released/</link>
		<comments>http://helios.ca/2009/08/01/asp-net-mvc-v2-preview-1-released/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 16:35:18 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=164</guid>
		<description><![CDATA[The ASP.NET team just released  ASP.NET MVC Version 2 Preview 1.  You can grab it here.
Scott Guthrie wrote a nice article about it.

]]></description>
			<content:encoded><![CDATA[<p>The ASP.NET team just released  ASP.NET MVC Version 2 Preview 1.  You can grab it <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=d34f9eaa-fcbe-4e20-b2fd-a9a03de7d6dd#tm" target="_blank">here</a>.</p>
<p><a href="http://weblogs.asp.net/scottgu">Scott Guthrie</a> wrote a nice <a href="http://weblogs.asp.net/scottgu/archive/2009/07/31/asp-net-mvc-v2-preview-1-released.aspx"></a><a href="http://weblogs.asp.net/scottgu/archive/2009/07/31/asp-net-mvc-v2-preview-1-released.aspx">article</a> about it.<a href="http://weblogs.asp.net/scottgu/archive/2009/07/31/asp-net-mvc-v2-preview-1-released.aspx"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2009/08/01/asp-net-mvc-v2-preview-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to bypass Windows Live Messenger anti-virus requirement</title>
		<link>http://helios.ca/2009/07/28/how-to-bypass-windows-live-messenger-anti-virus-requirement/</link>
		<comments>http://helios.ca/2009/07/28/how-to-bypass-windows-live-messenger-anti-virus-requirement/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 12:31:54 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Downloads]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=160</guid>
		<description><![CDATA[
If you don’t use an anti-virus and your friend is trying to send you a file over Windows Live Messenger, you probably noticed that it requires you to have an anti-virus installed or the download will fail. Sure, it’s a good protection I guess, but providing an option to disable that functionality would have been [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>If you don’t use an anti-virus and your friend is trying to send you a file over Windows Live Messenger, you probably noticed that it requires you to have an anti-virus installed or the download will fail. Sure, it’s a good protection I guess, but providing an option to disable that functionality would have been appreciated…</p>
<p>Fortunately, you can bypass this protection quite easily.I made a little C++ .exe that simply returns 0 and exit. Basically, an empty project in Visual Studio! Then you simply assign that .exe as your anti-virus in Windows Live Messenger.</p>
<p><strong>1) Download the app</strong>: <a href="http://blog.helios.ca/wp-content/uploads/2009/07/DoNothing.zip">DoNothing.zip</a></p>
<p>2) <strong>Extract</strong> the .exe to a location of your choice (My Documents).</p>
<p>3) Set the anti-virus in Windows Live Messenger:</p>
<p>- Go to <strong>Tools &gt; Options &gt; File Transfer</strong><br />
- Check the <strong>Scan files for viruses using</strong> option<br />
- Click <strong>Browse…</strong> and select the DoNothing.exe application you extracted.</p>
<div id="attachment_48" style="width: 539px;"><a href="http://www.ngpixel.com/wp-content/uploads/2009/07/msnavins1.jpg"><img class="alignleft size-full wp-image-161" title="msnavins1" src="http://helios.ca/wp-content/uploads/2009/07/msnavins1.jpg" alt="msnavins1" width="529" height="381" /><br />
</a>Windows Live Messenger &#8211; File Transfer Options</div>
<p>Enjoy file transfers without an anti-virus <img src="http://www.ngpixel.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>[Read from <a href="http://www.ngpixel.com">NGPixel</a>]</div>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2009/07/28/how-to-bypass-windows-live-messenger-anti-virus-requirement/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Did You Know: &#8220;App_Offline.htm&#8221; Takes IIS Website Offline</title>
		<link>http://helios.ca/2009/07/01/did-you-know-app_offline-htm-takes-iis-website-offline/</link>
		<comments>http://helios.ca/2009/07/01/did-you-know-app_offline-htm-takes-iis-website-offline/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 17:36:10 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://helios.ca/?p=151</guid>
		<description><![CDATA[Just drop an App_Offline.htm in the root of your website all requests will automatically be redirected to this file! This is neat!
Found it on ScottGu&#8217;s and Erik Porter&#8217;s blogs
]]></description>
			<content:encoded><![CDATA[<p>Just drop an App_Offline.htm in the root of your website all requests will automatically be redirected to this file! This is neat!</p>
<p>Found it on <a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx">ScottGu&#8217;s</a> and <a href="http://weblogs.asp.net/eporter/archive/2005/10/05/426708.aspx">Erik Porter&#8217;s</a> blogs</p>
]]></content:encoded>
			<wfw:commentRss>http://helios.ca/2009/07/01/did-you-know-app_offline-htm-takes-iis-website-offline/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
