<?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>SpearSoft Tech</title>
	<atom:link href="http://www.spearsofttech.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spearsofttech.com</link>
	<description>Technology on Target</description>
	<lastBuildDate>Thu, 17 May 2012 17:16:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Comment by Seth Spearman on What is the use case for using a JsonResult action in asp.net mvc3?</title>
		<link>http://stackoverflow.com/questions/10625203/what-is-the-use-case-for-using-a-jsonresult-action-in-asp-net-mvc3/10625246#10625246</link>
		<comments>http://stackoverflow.com/questions/10625203/what-is-the-use-case-for-using-a-jsonresult-action-in-asp-net-mvc3/10625246#10625246#comments</comments>
		<pubDate>Thu, 17 May 2012 17:16:54 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/questions/10625203/what-is-the-use-case-for-using-a-jsonresult-action-in-asp-net-mvc3/10625246?cid=13794396#10625246</guid>
		<description><![CDATA[Awesome and very complete answers.  Thanks for the illustration.  Totally filled in the blanks for me.  Seth]]></description>
			<content:encoded><![CDATA[<p>Awesome and very complete answers.  Thanks for the illustration.  Totally filled in the blanks for me.  Seth</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/17/comment-by-seth-spearman-on-what-is-the-use-case-for-using-a-jsonresult-action-in-asp-net-mvc3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the use case for using a JsonResult action in asp.net mvc3?</title>
		<link>http://stackoverflow.com/questions/10625203/what-is-the-use-case-for-using-a-jsonresult-action-in-asp-net-mvc3</link>
		<comments>http://stackoverflow.com/questions/10625203/what-is-the-use-case-for-using-a-jsonresult-action-in-asp-net-mvc3#comments</comments>
		<pubDate>Wed, 16 May 2012 19:18:04 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net-mvc]]></category>
		<category><![CDATA[asp.net-mvc-3]]></category>
		<category><![CDATA[c#-4.0]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/q/10625203</guid>
		<description><![CDATA[
            When is it typical to use the JsonResult action in a asp.net mvc 3 application?

From where is the JsonResult usually called?  Another action or an actionlink rendered in the html?

Can you give me some examples where you want json instead...]]></description>
			<content:encoded><![CDATA[
            <p>When is it typical to use the JsonResult action in a asp.net mvc 3 application?</p>

<p>From where is the JsonResult usually called?  Another action or an actionlink rendered in the html?</p>

<p>Can you give me some examples where you want json instead of a typical view?</p>

        ]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/16/what-is-the-use-case-for-using-a-jsonresult-action-in-asp-net-mvc3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment by Seth Spearman on How do I include ul tags inside of a razor code block?</title>
		<link>http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block/10473681#10473681</link>
		<comments>http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block/10473681#10473681#comments</comments>
		<pubDate>Mon, 07 May 2012 00:40:52 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block/10473681?cid=13534884#10473681</guid>
		<description><![CDATA[Thanks for the link.  Just what I needed.]]></description>
			<content:encoded><![CDATA[<p>Thanks for the link.  Just what I needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/06/comment-by-seth-spearman-on-how-do-i-include-ul-tags-inside-of-a-razor-code-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment by Seth Spearman on How do I include ul tags inside of a razor code block?</title>
		<link>http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block/10473516#10473516</link>
		<comments>http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block/10473516#10473516#comments</comments>
		<pubDate>Mon, 07 May 2012 00:34:57 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block/10473516?cid=13534830#10473516</guid>
		<description><![CDATA[Thanks for not only telling me how but also the explanation of what I was doing wrong.]]></description>
			<content:encoded><![CDATA[Thanks for not only telling me how but also the explanation of what I was doing wrong.]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/06/comment-by-seth-spearman-on-how-do-i-include-ul-tags-inside-of-a-razor-code-block-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I include ul tags inside of a razor code block?</title>
		<link>http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block</link>
		<comments>http://stackoverflow.com/questions/10473481/how-do-i-include-ul-tags-inside-of-a-razor-code-block#comments</comments>
		<pubDate>Sun, 06 May 2012 19:23:21 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net-mvc]]></category>
		<category><![CDATA[asp.net-mvc-3]]></category>
		<category><![CDATA[c#-3.0]]></category>
		<category><![CDATA[razor]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/q/10473481</guid>
		<description><![CDATA[
            How come the following code works fine...

        &#60;ul class="searchList"&#62;
            @if (Model.Count() &#62; 0)
            {
                foreach (var partner in Model)
                {
                    &#60;li&#62;
         ...]]></description>
			<content:encoded><![CDATA[<pre><code>        &lt;p&gt;How come the following code works fine...&lt;/p&gt;
</code></pre>

<pre><code>        &lt;ul class="searchList"&gt;
            @if (Model.Count() &gt; 0)
            {
                foreach (var partner in Model)
                {
                    &lt;li&gt;
                        @Html.ActionLink(@partner.Name, "Details", "Partner", new { id = partner.AID }, null)&lt;br /&gt;
                        @partner.Street&lt;br /&gt;
                        @partner.CityStateZip&lt;br /&gt;
                        @if(!string.IsNullOrEmpty(partner.Phone))
                            {
                               @partner.Phone&lt;br /&gt;
                            }
                        @(partner.Distance) miles&lt;br /&gt;
                    &lt;/li&gt;
                }
            }
        &lt;/ul&gt;
</code></pre>

<p>But this code does not work fine...</p>

<pre><code>            @if (Model.Count() &gt; 0)
            {
                &lt;ul class="searchList"&gt;

                        foreach (var partner in Model)
                        {
                            &lt;li&gt;
                                @Html.ActionLink(@partner.Name, "Details", "Partner", new { id = partner.AID }, null)&lt;br /&gt;
                                @partner.Street&lt;br /&gt;
                                @partner.CityStateZip&lt;br /&gt;
                                @if(!string.IsNullOrEmpty(partner.Phone))
                                    {
                                       @partner.Phone&lt;br /&gt;
                                    }
                                @(partner.Distance) miles&lt;br /&gt;
                            &lt;/li&gt;
                        }

                &lt;/ul&gt;
             } 
</code></pre>

<p>The second error one returns the following error...</p>

<p>Compiler Error Message: CS0103: The name 'partner' does not exist in the current context.</p>

<p>I am finding the code mixing rules of Razor to be difficult to follow.  Any link that gives the canonical explanation will be appreciated.</p>

<p>Seth</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/06/how-do-i-include-ul-tags-inside-of-a-razor-code-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment by Seth Spearman on In Mvc 3 razor view what is the best way to conditionally render html based on Nulls in the model</title>
		<link>http://stackoverflow.com/questions/10450742/in-mvc-3-razor-view-what-is-the-best-way-to-conditionally-render-html-based-on-n/10450781#10450781</link>
		<comments>http://stackoverflow.com/questions/10450742/in-mvc-3-razor-view-what-is-the-best-way-to-conditionally-render-html-based-on-n/10450781#10450781#comments</comments>
		<pubDate>Fri, 04 May 2012 14:45:16 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/questions/10450742/in-mvc-3-razor-view-what-is-the-best-way-to-conditionally-render-html-based-on-n/10450781?cid=13493976#10450781</guid>
		<description><![CDATA[I edited my question.  Can you take a look again.  What if it is already in a razor code block?]]></description>
			<content:encoded><![CDATA[<p>I edited my question.  Can you take a look again.  What if it is already in a razor code block?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/04/comment-by-seth-spearman-on-in-mvc-3-razor-view-what-is-the-best-way-to-conditionally-render-html-based-on-nulls-in-the-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In Mvc 3 razor view what is the best way to conditionally render html based on Nulls in the model</title>
		<link>http://stackoverflow.com/questions/10450742/in-mvc-3-razor-view-what-is-the-best-way-to-conditionally-render-html-based-on-n</link>
		<comments>http://stackoverflow.com/questions/10450742/in-mvc-3-razor-view-what-is-the-best-way-to-conditionally-render-html-based-on-n#comments</comments>
		<pubDate>Fri, 04 May 2012 14:24:24 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net-mvc]]></category>
		<category><![CDATA[asp.net-mvc-3]]></category>
		<category><![CDATA[razor]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/q/10450742</guid>
		<description><![CDATA[
            This is I am sure an easy question but I am having trouble figuring this out.

I want to do something like this....


@(string.IsNullOrEmpty(Model.CustomerUrl) ? "" : &#60;a href="@Model.CustomerUrl"&#62;Click me&#60;/a&#62;)



This snippet d...]]></description>
			<content:encoded><![CDATA[<pre><code>        &lt;p&gt;This is I am sure an easy question but I am having trouble figuring this out.&lt;/p&gt;
</code></pre>

<p>I want to do something like this....</p>

<blockquote>
<pre><code>@(string.IsNullOrEmpty(Model.CustomerUrl) ? "" : &lt;a href="@Model.CustomerUrl"&gt;Click me&lt;/a&gt;)
</code></pre>
</blockquote>

<p>This snippet doesn't work.</p>

<p>The mixing of the html with the razor syntax and the inclusion of quotes in the attributes of the tags is making it hard to figure out. </p>

<p>I love razor except figuring out this kind of stuff is really tripping me up.</p>

<p>I would love to just not render the following at all if the CustomerUrl was null or empty...</p>

<pre><code>&lt;p class="customerLink links"&gt;&lt;a href="@Model.CustomerUrl"&gt;@Model.CustomerName&lt;/a&gt;&lt;/p&gt;
</code></pre>

<p>Seth</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/04/in-mvc-3-razor-view-what-is-the-best-way-to-conditionally-render-html-based-on-nulls-in-the-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment by Seth Spearman on How do I troubleshoot Visual Studio which is hanging when loading ASP.NET MVC project?</title>
		<link>http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr/10432159#10432159</link>
		<comments>http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr/10432159#10432159#comments</comments>
		<pubDate>Thu, 03 May 2012 13:25:03 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr/10432159?cid=13464626#10432159</guid>
		<description><![CDATA[I fixed it before trying this but I think this is a good suggestion.]]></description>
			<content:encoded><![CDATA[<p>I fixed it before trying this but I think this is a good suggestion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/03/comment-by-seth-spearman-on-how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment by Seth Spearman on How do I troubleshoot Visual Studio which is hanging when loading ASP.NET MVC project?</title>
		<link>http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr/10432136#10432136</link>
		<comments>http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr/10432136#10432136#comments</comments>
		<pubDate>Thu, 03 May 2012 13:24:17 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr/10432136?cid=13464593#10432136</guid>
		<description><![CDATA[I did this (started with logging) and inexplicably my project has started loading.  I cleaned the solution, enabled all of the extensions and add-ons and the project still loads.   So I am back in business.  But I am not sure what I did that got it goi...]]></description>
			<content:encoded><![CDATA[I did this (started with logging) and inexplicably my project has started loading.  I cleaned the solution, enabled all of the extensions and add-ons and the project still loads.   So I am back in business.  But I am not sure what I did that got it going.  I&#39;m just going with it.]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/03/comment-by-seth-spearman-on-how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-project-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I troubleshoot Visual Studio which is hanging when loading ASP.NET MVC project?</title>
		<link>http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr</link>
		<comments>http://stackoverflow.com/questions/10432067/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-pr#comments</comments>
		<pubDate>Thu, 03 May 2012 13:08:57 +0000</pubDate>
		<dc:creator>Seth Spearman</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[Stackoverflow.com]]></category>
		<category><![CDATA[vb.net]]></category>
		<category><![CDATA[visual-studio]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[visual-studio-2010]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/q/10432067</guid>
		<description><![CDATA[
            Yesterday I worked on an MVC 3 project in Visual Studio 2010 and then shut down Visual Studio before leaving work.

This morning when I try to load the same project in Visual Studio the project hangs.  I have restarted my computer, disable...]]></description>
			<content:encoded><![CDATA[
            <p>Yesterday I worked on an MVC 3 project in Visual Studio 2010 and then shut down Visual Studio before leaving work.</p>

<p>This morning when I try to load the same project in Visual Studio the project hangs.  I have restarted my computer, disabled all add-ons and extensions that I could.  Still no banana.</p>

<p>I have no idea how to troubleshoot this.  I would try to clean the solution if I could get it to load but I can't.  (Can I clean the solution from the VS command window?).</p>

<p>Any help would be greatly appreciated.  How do I troubleshoot this?</p>

<p>Seth</p>

        ]]></content:encoded>
			<wfw:commentRss>http://www.spearsofttech.com/2012/05/03/how-do-i-troubleshoot-visual-studio-which-is-hanging-when-loading-asp-net-mvc-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

