<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jeff and .NET - All Comments</title><link>http://weblogs.asp.net/jeff/default.aspx</link><description>The .NET musings of Jeff Putz</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: The MVC3 special sauce in POP Forums</title><link>http://weblogs.asp.net/jeff/archive/2011/01/24/the-mvc3-special-sauce-in-pop-forums.aspx#8295199</link><pubDate>Mon, 13 Feb 2012 05:08:59 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8295199</guid><dc:creator>tictBype</dc:creator><description>&lt;p&gt;best for you &amp;lt;a href=&lt;a rel="nofollow" target="_new" href="http://coachcheap.weebly.com/&amp;gt;coach"&gt;coachcheap.weebly.com/&amp;gt;coach&lt;/a&gt; cheap&amp;lt;/a&amp;gt; with confident&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8295199" width="1" height="1"&gt;</description></item><item><title>re: Google AdSense: You suck</title><link>http://weblogs.asp.net/jeff/archive/2012/02/11/google-adsense-you-suck.aspx#8294654</link><pubDate>Sun, 12 Feb 2012 13:17:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8294654</guid><dc:creator>mark</dc:creator><description>&lt;p&gt;I guess you are lucky your account is not suspended without a reason :)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8294654" width="1" height="1"&gt;</description></item><item><title>re: Google AdSense: You suck</title><link>http://weblogs.asp.net/jeff/archive/2012/02/11/google-adsense-you-suck.aspx#8294448</link><pubDate>Sun, 12 Feb 2012 08:49:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8294448</guid><dc:creator>Velio</dc:creator><description>&lt;p&gt;+1 mate :). Absolutely right. I just sopped using it.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8294448" width="1" height="1"&gt;</description></item><item><title>re: Abstracting away issues of HttpContext from your ASP.NET MVC controllers</title><link>http://weblogs.asp.net/jeff/archive/2012/02/03/abstracting-away-issues-of-httpcontext-from-your-asp-net-mvc-controllers.aspx#8285715</link><pubDate>Mon, 06 Feb 2012 19:29:15 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8285715</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;Yes, it's a property of the Controller base class. See, I told you I freehand wrote that. :) Edited the post.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8285715" width="1" height="1"&gt;</description></item><item><title>re: Abstracting away issues of HttpContext from your ASP.NET MVC controllers</title><link>http://weblogs.asp.net/jeff/archive/2012/02/03/abstracting-away-issues-of-httpcontext-from-your-asp-net-mvc-controllers.aspx#8285697</link><pubDate>Mon, 06 Feb 2012 19:02:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8285697</guid><dc:creator>Vasu</dc:creator><description>&lt;p&gt;Don't you have to pass the httpcontext to IsMobileDevice in controller MyActionMethod?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8285697" width="1" height="1"&gt;</description></item><item><title>re: Abstracting away issues of HttpContext from your ASP.NET MVC controllers</title><link>http://weblogs.asp.net/jeff/archive/2012/02/03/abstracting-away-issues-of-httpcontext-from-your-asp-net-mvc-controllers.aspx#8279638</link><pubDate>Fri, 03 Feb 2012 18:14:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8279638</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;Sure... I understand that, but that wasn't the point. As I started to elude to at the end, if you had to mock out a bunch of different things, including cookie values, user agent strings, etc., there's a lot more work to do. That implies that the work should have been handed off to something else, because the controller is doing too much work.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8279638" width="1" height="1"&gt;</description></item><item><title>re: Abstracting away issues of HttpContext from your ASP.NET MVC controllers</title><link>http://weblogs.asp.net/jeff/archive/2012/02/03/abstracting-away-issues-of-httpcontext-from-your-asp-net-mvc-controllers.aspx#8279508</link><pubDate>Fri, 03 Feb 2012 16:23:57 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8279508</guid><dc:creator>cibrax</dc:creator><description>&lt;p&gt;Nothing that a simple Mocks.Of&amp;lt;&amp;gt; can not solve :)&lt;/p&gt;
&lt;p&gt;var context = Mock.Of&amp;lt;HttpContextBase&amp;gt;(h =&amp;gt; h.Request.Browser.IsMobileDevice == true);&lt;/p&gt;
&lt;p&gt;Assert.IsTrue(context.Request.Browser.IsMobileDevice)&lt;/p&gt;
&lt;p&gt;That would be equivalent to &amp;quot;From all the mocks you can get from HttpContextBase, give me one where IsMobileDevice equals true&amp;quot;. Moq will take care of that&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8279508" width="1" height="1"&gt;</description></item><item><title>re: Modal-style pops in Javascript and CSS</title><link>http://weblogs.asp.net/jeff/archive/2006/10/25/Modal_2D00_style-pops-in-Javascript-and-CSS.aspx#8278478</link><pubDate>Fri, 03 Feb 2012 04:05:59 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8278478</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;There needs to be a way to upvote this post so it won't go away. &amp;nbsp;This post helped me a lot when I was trying to figure out how to do a modal popup with pure CSS and raw JavaScript. &amp;nbsp;To that effect, I owe Mr. Putz a Pizza!!!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8278478" width="1" height="1"&gt;</description></item><item><title>re: Wanted: Language translations for .resx files in open source POP Forums</title><link>http://weblogs.asp.net/jeff/archive/2012/01/06/wanted-language-translations-for-resx-files-in-open-source-pop-forums.aspx#8229192</link><pubDate>Fri, 06 Jan 2012 20:25:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8229192</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;There are a few strings for things like &amp;quot;less than a minute ago,&amp;quot; but otherwise, it uses the standard formatting strings in .NET and should therefore format them according to the set locale.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8229192" width="1" height="1"&gt;</description></item><item><title>re: Wanted: Language translations for .resx files in open source POP Forums</title><link>http://weblogs.asp.net/jeff/archive/2012/01/06/wanted-language-translations-for-resx-files-in-open-source-pop-forums.aspx#8229169</link><pubDate>Fri, 06 Jan 2012 20:17:16 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8229169</guid><dc:creator>Mahdi</dc:creator><description>&lt;p&gt;Does it support local calendar? for example I need Jalali calendar (System.Globalization.PersianCalendar)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8229169" width="1" height="1"&gt;</description></item></channel></rss>
