<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Build a FlashMessenger system in ASP.NET MVC</title>
	<atom:link href="http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=build-a-flashmessenger-system-in-aspnet-mvc</link>
	<description>IT stuff and more</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:07:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Afshin Mehrabani</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4627</link>
		<dc:creator>Afshin Mehrabani</dc:creator>
		<pubDate>Wed, 29 Dec 2010 06:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4627</guid>
		<description>Hi,

Thanks for your good article.
When i have a POST request (and i have my page Model) why you use Session for collecting messages? I can use and collect messages in Model...

Thanks,
Afshin</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for your good article.<br />
When i have a POST request (and i have my page Model) why you use Session for collecting messages? I can use and collect messages in Model&#8230;</p>
<p>Thanks,<br />
Afshin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CPank</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4122</link>
		<dc:creator>CPank</dc:creator>
		<pubDate>Fri, 24 Sep 2010 22:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4122</guid>
		<description>This is great, was looking for the exact same thing from Cake - thanks for the post.

        public void FlashMessage(String Message, MessageType Type)
        {
            StringBuilder output = new StringBuilder();
            output.AppendLine(&quot;&quot;);
            output.AppendLine(&quot;&quot; + Message + &quot;&quot;);
            output.AppendLine(&quot;&quot;);            
            TempData[&quot;FlashMessenger&quot;] = output.ToString();
        }</description>
		<content:encoded><![CDATA[<p>This is great, was looking for the exact same thing from Cake &#8211; thanks for the post.</p>
<p>        public void FlashMessage(String Message, MessageType Type)<br />
        {<br />
            StringBuilder output = new StringBuilder();<br />
            output.AppendLine(&#8220;&#8221;);<br />
            output.AppendLine(&#8220;&#8221; + Message + &#8220;&#8221;);<br />
            output.AppendLine(&#8220;&#8221;);<br />
            TempData["FlashMessenger"] = output.ToString();<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CPank</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4566</link>
		<dc:creator>CPank</dc:creator>
		<pubDate>Fri, 24 Sep 2010 22:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4566</guid>
		<description>This is great, was looking for the exact same thing from Cake - thanks for the post.

        public void FlashMessage(String Message, MessageType Type)
        {
            StringBuilder output = new StringBuilder();
            output.AppendLine(&quot;&quot;);
            output.AppendLine(&quot;&quot; + Message + &quot;&quot;);
            output.AppendLine(&quot;&quot;);            
            TempData[&quot;FlashMessenger&quot;] = output.ToString();
        }</description>
		<content:encoded><![CDATA[<p>This is great, was looking for the exact same thing from Cake &#8211; thanks for the post.</p>
<p>        public void FlashMessage(String Message, MessageType Type)<br />
        {<br />
            StringBuilder output = new StringBuilder();<br />
            output.AppendLine(&#8220;&#8221;);<br />
            output.AppendLine(&#8220;&#8221; + Message + &#8220;&#8221;);<br />
            output.AppendLine(&#8220;&#8221;);<br />
            TempData["FlashMessenger"] = output.ToString();<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marlon</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4013</link>
		<dc:creator>Marlon</dc:creator>
		<pubDate>Mon, 12 Apr 2010 23:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4013</guid>
		<description>Use tempdata


    &lt;BASE CONTROLE================================
    public class BaseController : Controller
    {
        protected static readonly ILog Log = LogManager.GetLogger(typeof(BaseController));


        public enum MessageType
        {
            Success,
            Notice,
            Error
        };

        public void FlashMessage(String Message, MessageType Type)
        {
            StringBuilder output = new StringBuilder();
            output.AppendLine(&quot;&quot;);
            output.AppendLine(&quot;&quot; + Message + &quot;&quot;);
            output.AppendLine(&quot;&quot;);
            TempData[&quot;FlashMessenger&quot;] = output.ToString();
        }

    }

    &lt;VIEW EX.: Site.Master================================

    
   

    &lt;Sample================================
        public ActionResult Index()
        {
            FlashMessage(&quot;Teste&quot;, MessageType.Success);
            return View();
        }</description>
		<content:encoded><![CDATA[<p>Use tempdata</p>
<p>    &lt;BASE CONTROLE================================<br />
    public class BaseController : Controller<br />
    {<br />
        protected static readonly ILog Log = LogManager.GetLogger(typeof(BaseController));</p>
<p>        public enum MessageType<br />
        {<br />
            Success,<br />
            Notice,<br />
            Error<br />
        };</p>
<p>        public void FlashMessage(String Message, MessageType Type)<br />
        {<br />
            StringBuilder output = new StringBuilder();<br />
            output.AppendLine(&quot;&#8221;);<br />
            output.AppendLine(&#8220;&#8221; + Message + &#8220;&#8221;);<br />
            output.AppendLine(&#8220;&#8221;);<br />
            TempData["FlashMessenger"] = output.ToString();<br />
        }</p>
<p>    }</p>
<p>    &lt;VIEW EX.: Site.Master================================</p>
<p>    &lt;Sample================================<br />
        public ActionResult Index()<br />
        {<br />
            FlashMessage(&quot;Teste&quot;, MessageType.Success);<br />
            return View();<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marlon</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4565</link>
		<dc:creator>Marlon</dc:creator>
		<pubDate>Mon, 12 Apr 2010 23:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4565</guid>
		<description>Use tempdata


    &lt;BASE CONTROLE================================
    public class BaseController : Controller
    {
        protected static readonly ILog Log = LogManager.GetLogger(typeof(BaseController));


        public enum MessageType
        {
            Success,
            Notice,
            Error
        };

        public void FlashMessage(String Message, MessageType Type)
        {
            StringBuilder output = new StringBuilder();
            output.AppendLine(&quot;&quot;);
            output.AppendLine(&quot;&quot; + Message + &quot;&quot;);
            output.AppendLine(&quot;&quot;);
            TempData[&quot;FlashMessenger&quot;] = output.ToString();
        }

    }

    &lt;VIEW EX.: Site.Master================================

    
   

    &lt;Sample================================
        public ActionResult Index()
        {
            FlashMessage(&quot;Teste&quot;, MessageType.Success);
            return View();
        }</description>
		<content:encoded><![CDATA[<p>Use tempdata</p>
<p>    &lt;BASE CONTROLE================================<br />
    public class BaseController : Controller<br />
    {<br />
        protected static readonly ILog Log = LogManager.GetLogger(typeof(BaseController));</p>
<p>        public enum MessageType<br />
        {<br />
            Success,<br />
            Notice,<br />
            Error<br />
        };</p>
<p>        public void FlashMessage(String Message, MessageType Type)<br />
        {<br />
            StringBuilder output = new StringBuilder();<br />
            output.AppendLine(&quot;&#8221;);<br />
            output.AppendLine(&#8220;&#8221; + Message + &#8220;&#8221;);<br />
            output.AppendLine(&#8220;&#8221;);<br />
            TempData["FlashMessenger"] = output.ToString();<br />
        }</p>
<p>    }</p>
<p>    &lt;VIEW EX.: Site.Master================================</p>
<p>    &lt;Sample================================<br />
        public ActionResult Index()<br />
        {<br />
            FlashMessage(&quot;Teste&quot;, MessageType.Success);<br />
            return View();<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luiz Picanço</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-3989</link>
		<dc:creator>Luiz Picanço</dc:creator>
		<pubDate>Wed, 31 Mar 2010 14:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-3989</guid>
		<description>Nice solution !!!
I&#039;m thinking how i can use this between ajax requests...

Any sugestions ???</description>
		<content:encoded><![CDATA[<p>Nice solution !!!<br />
I&#8217;m thinking how i can use this between ajax requests&#8230;</p>
<p>Any sugestions ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luiz Picanço</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4564</link>
		<dc:creator>Luiz Picanço</dc:creator>
		<pubDate>Wed, 31 Mar 2010 14:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4564</guid>
		<description>Nice solution !!!
I&#039;m thinking how i can use this between ajax requests...

Any sugestions ???</description>
		<content:encoded><![CDATA[<p>Nice solution !!!<br />
I&#8217;m thinking how i can use this between ajax requests&#8230;</p>
<p>Any sugestions ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-3860</link>
		<dc:creator>will</dc:creator>
		<pubDate>Sun, 10 Jan 2010 15:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-3860</guid>
		<description>Found this really useful and comprehensive... many thanks</description>
		<content:encoded><![CDATA[<p>Found this really useful and comprehensive&#8230; many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4563</link>
		<dc:creator>will</dc:creator>
		<pubDate>Sun, 10 Jan 2010 15:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4563</guid>
		<description>Found this really useful and comprehensive... many thanks</description>
		<content:encoded><![CDATA[<p>Found this really useful and comprehensive&#8230; many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-3731</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 16 Nov 2009 20:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-3731</guid>
		<description>Thank you for a great Post.

Allthough there might be a better way(which people above seems to point to) this was a great informative post, which helped me a lot(also coming from PHP where Flash Session are really nice).

Now i have what i needed, and i can look into TempData(people above are welcome to make examples).

Thumbs up! :)</description>
		<content:encoded><![CDATA[<p>Thank you for a great Post.</p>
<p>Allthough there might be a better way(which people above seems to point to) this was a great informative post, which helped me a lot(also coming from PHP where Flash Session are really nice).</p>
<p>Now i have what i needed, and i can look into TempData(people above are welcome to make examples).</p>
<p>Thumbs up! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4562</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 16 Nov 2009 20:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4562</guid>
		<description>Thank you for a great Post.

Allthough there might be a better way(which people above seems to point to) this was a great informative post, which helped me a lot(also coming from PHP where Flash Session are really nice).

Now i have what i needed, and i can look into TempData(people above are welcome to make examples).

Thumbs up! :)</description>
		<content:encoded><![CDATA[<p>Thank you for a great Post.</p>
<p>Allthough there might be a better way(which people above seems to point to) this was a great informative post, which helped me a lot(also coming from PHP where Flash Session are really nice).</p>
<p>Now i have what i needed, and i can look into TempData(people above are welcome to make examples).</p>
<p>Thumbs up! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travis Laborde</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-3658</link>
		<dc:creator>Travis Laborde</dc:creator>
		<pubDate>Sat, 31 Oct 2009 15:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-3658</guid>
		<description>Mathias - don&#039;t be discouraged by a few rude comments.  Not all of the ASP.NET community is so harsh.  You took the time to try and help others - to me that&#039;s great!

Better luck next time!</description>
		<content:encoded><![CDATA[<p>Mathias &#8211; don&#8217;t be discouraged by a few rude comments.  Not all of the ASP.NET community is so harsh.  You took the time to try and help others &#8211; to me that&#8217;s great!</p>
<p>Better luck next time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travis Laborde</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4561</link>
		<dc:creator>Travis Laborde</dc:creator>
		<pubDate>Sat, 31 Oct 2009 15:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4561</guid>
		<description>Mathias - don&#039;t be discouraged by a few rude comments.  Not all of the ASP.NET community is so harsh.  You took the time to try and help others - to me that&#039;s great!

Better luck next time!</description>
		<content:encoded><![CDATA[<p>Mathias &#8211; don&#8217;t be discouraged by a few rude comments.  Not all of the ASP.NET community is so harsh.  You took the time to try and help others &#8211; to me that&#8217;s great!</p>
<p>Better luck next time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-3635</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Thu, 22 Oct 2009 14:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-3635</guid>
		<description>Thank you for constructive criticism...you may have read the introduction which mentions that this was my first contact with ASP.NET.

-- Mathias</description>
		<content:encoded><![CDATA[<p>Thank you for constructive criticism&#8230;you may have read the introduction which mentions that this was my first contact with ASP.NET.</p>
<p>&#8211; Mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4560</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Thu, 22 Oct 2009 14:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4560</guid>
		<description>Thank you for constructive criticism...you may have read the introduction which mentions that this was my first contact with ASP.NET.

-- Mathias</description>
		<content:encoded><![CDATA[<p>Thank you for constructive criticism&#8230;you may have read the introduction which mentions that this was my first contact with ASP.NET.</p>
<p>&#8211; Mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-3634</link>
		<dc:creator>Gleb</dc:creator>
		<pubDate>Thu, 22 Oct 2009 11:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-3634</guid>
		<description>dude, your code smells.</description>
		<content:encoded><![CDATA[<p>dude, your code smells.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4559</link>
		<dc:creator>Gleb</dc:creator>
		<pubDate>Thu, 22 Oct 2009 11:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4559</guid>
		<description>dude, your code smells.</description>
		<content:encoded><![CDATA[<p>dude, your code smells.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-3529</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 16 Sep 2009 17:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-3529</guid>
		<description>Instead of writing a base that your controllers must inherit from, simply add extensions methods to Controller to add and retrieve messages from state.

As another poster already pointed out, you can use the inbuilt TempData object instead of rolling your own messages container and storing it in session.</description>
		<content:encoded><![CDATA[<p>Instead of writing a base that your controllers must inherit from, simply add extensions methods to Controller to add and retrieve messages from state.</p>
<p>As another poster already pointed out, you can use the inbuilt TempData object instead of rolling your own messages container and storing it in session.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4558</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 16 Sep 2009 17:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4558</guid>
		<description>Instead of writing a base that your controllers must inherit from, simply add extensions methods to Controller to add and retrieve messages from state.

As another poster already pointed out, you can use the inbuilt TempData object instead of rolling your own messages container and storing it in session.</description>
		<content:encoded><![CDATA[<p>Instead of writing a base that your controllers must inherit from, simply add extensions methods to Controller to add and retrieve messages from state.</p>
<p>As another poster already pointed out, you can use the inbuilt TempData object instead of rolling your own messages container and storing it in session.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justin</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-2962</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Tue, 02 Jun 2009 12:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-2962</guid>
		<description>TempData is built into asp.net mvc and can do this fairly easily.</description>
		<content:encoded><![CDATA[<p>TempData is built into asp.net mvc and can do this fairly easily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justin</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-4557</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Tue, 02 Jun 2009 12:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-4557</guid>
		<description>TempData is built into asp.net mvc and can do this fairly easily.</description>
		<content:encoded><![CDATA[<p>TempData is built into asp.net mvc and can do this fairly easily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily Tech Links - June 2, 2009 - Sanjeev Agarwal</title>
		<link>http://ailoo.net/2009/06/build-a-flashmessenger-system-in-aspnet-mvc/#comment-2956</link>
		<dc:creator>Daily Tech Links - June 2, 2009 - Sanjeev Agarwal</dc:creator>
		<pubDate>Tue, 02 Jun 2009 09:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=739#comment-2956</guid>
		<description>[...]  Build a FlashMessenger system in ASP.NET MVC [...]</description>
		<content:encoded><![CDATA[<p>[...]  Build a FlashMessenger system in ASP.NET MVC [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

