<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Stuff From an IT Slug &#187; ASP.NET MVC</title>
	<atom:link href="http://blog.brettski.com/tag/aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.brettski.com</link>
	<description>It doesn't really get busier any given day, just more stuff doesn't get done.</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:25:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.brettski.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Stuff From an IT Slug &#187; ASP.NET MVC</title>
		<link>http://blog.brettski.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.brettski.com/osd.xml" title="Stuff From an IT Slug" />
	<atom:link rel='hub' href='http://blog.brettski.com/?pushpress=hub'/>
		<item>
		<title>json result with asp.net mvc 3</title>
		<link>http://blog.brettski.com/2011/11/13/json-result-with-asp-net-mvc-3/</link>
		<comments>http://blog.brettski.com/2011/11/13/json-result-with-asp-net-mvc-3/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 09:51:10 +0000</pubDate>
		<dc:creator>Brettski</dc:creator>
				<category><![CDATA[computer hell]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Blog by Email]]></category>

		<guid isPermaLink="false">http://blog.brettski.com/?p=550</guid>
		<description><![CDATA[I just took the long silly way around to return a json result to  a page.  I kept trying to send a json string back as just that, a string and it just wouldn&#8217;t work.  Whenever JavaScript received the string it didn&#8217;t know what to do with it, except treat it as a string of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=550&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just took the long silly way around to return a json result to  a page.  I kept trying to send a json string back as just that, a string and it just wouldn&#8217;t work.  Whenever JavaScript received the string it didn&#8217;t know what to do with it, except treat it as a string of course.  I banged my head against this one for too many hours.  Though my persistence payed off.</p>
<p>As the night got later (I think it&#8217;s 03:00 about now) I decided to figure out how others are returning json object from ASP.NET MVC.  It isn&#8217;t as simple as it should be, but not too difficult.  The biggest issue, as with much in MVC land is the huge lack of documentation.  So looking up something like <a href="http://msdn.microsoft.com/en-us/library/system.web.mvc.jsonresult.aspx" target="_blank">JsonResult</a>, yields a pretty useless help page.  So more time had to go into discovering on how to actually use this cool new result type.</p>
<p>It turns out you can set up and action with a return type of JsonResult (it&#8217;s usually ActionResult) and have that action return a json object.  I am not even going to pretend I can do this from other objects like <a title="json.net" href="http://james.newtonking.com/pages/json-net.aspx" target="_blank">json.net</a> (from James Newton-King).  I am using this to return a model as json which populates my form with on-demand instructions.  This library rocks, but I digress.</p>
<p>The basic structure I used is a dictionary object</p>
<p><pre class="brush: csharp;">
public JsonResult MyAction()
{
  Dictionary&lt;string, string&gt; dict = new Dictionary&lt;string, string&gt;();
  dict.Add(&quot;keya&quot;, &quot;valuea&quot;);
  dict.Add(&quot;keyb&quot;, &quot;valueb&quot;);
  return Json(dict);
}
</pre></p>
<p>That&#8217;s pretty much it in a nutshell.  Json() is a new web helper in MVC3.  You can find it at System.Web.Helpers.</p>
<p>I saw one example where you can build an object on the fly, but I couldn&#8217;t get it to work.  It basically looks like this:</p>
<p><pre class="brush: csharp;">

//....
return Json(new {keya = valuea, keyb = valueb};

</pre></p>
<p>The dictionary generic works for now.  If you know of a better way, please let me know.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brettski111.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brettski111.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brettski111.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brettski111.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brettski111.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brettski111.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brettski111.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brettski111.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brettski111.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brettski111.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brettski111.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brettski111.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brettski111.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brettski111.wordpress.com/550/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=550&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.brettski.com/2011/11/13/json-result-with-asp-net-mvc-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brettski</media:title>
		</media:content>
	</item>
		<item>
		<title>A run-in with custom helper extensions</title>
		<link>http://blog.brettski.com/2011/10/14/a-run-in-with-custom-helper-extensions/</link>
		<comments>http://blog.brettski.com/2011/10/14/a-run-in-with-custom-helper-extensions/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 23:07:34 +0000</pubDate>
		<dc:creator>Brettski</dc:creator>
				<category><![CDATA[nerdiness]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://blog.brettski.com/?p=545</guid>
		<description><![CDATA[While working on Blog by Email (http://blogbyemail.com) I came across the necessity to create my own HTML helper class.  For those who don&#8217;t know helper classes &#8220;&#8230;reduce the amount of tedious typing of HTML tags that you must perform to create a standard HTML page.&#8221; The registration request form on the site was getting hit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=545&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While working on Blog by Email (<a title="Blog by Email" href="http://blogbyemail.com" target="_blank">http://blogbyemail.com</a>) I came across the necessity to create my own HTML helper class.  For those who don&#8217;t know helper classes &#8220;&#8230;reduce the amount of tedious typing of HTML tags that you must perform to create a standard HTML page.&#8221;</p>
<p>The registration request form on the site was getting hit pretty hard by spam bots and I was getting tired of cleaning up the mess, so I decided to add a captcha.</p>
<p>ReCaptcha is what I decided on and started down the rabbit hole.  First of all there was only ASP.NET examples.  Since I was writing this in ASP.NET MVC, I wanted to use a more, &#8220;MVC&#8221; approach to it.  I came across an post on <a href="http://devlicio.us/" target="_blank">Devlicio.us</a> named <a href="http://devlicio.us/blogs/derik_whittaker/archive/2008/12/02/using-recaptcha-with-asp-net-mvc.aspx" target="_blank">Using ReCaptcha with Asp.Net MVC</a>.  The post covered exactly everything I need, what it was missing is details around its steps, specifically <em>Step 5 &#8211; Create a Html Helper to build and render the Captcha control</em>. It shows the current code and nothing else:</p>
<p><pre class="brush: csharp;">
public static string GenerateCaptcha( this HtmlHelper helper )
{
  var captchaControl = new Recaptcha.RecaptchaControl
    {
      ID = &quot;recaptcha&quot;,
      Theme = &quot;blackglass&quot;,
      PublicKey = -- Put Public Key Here --,
      PrivateKey = -- Put Private Key Here --
    };
  var htmlWriter = new HtmlTextWriter( new StringWriter() );
  captchaControl.RenderControl(htmlWriter);
  return htmlWriter.InnerWriter.ToString();
}
</pre></p>
<p>My first thought, is cool, I can just add an HTML helper to the view to generate the captcha, this is a good approach.</p>
<p>First stumble, that is a method, that needs to go into a class&#8211;what class should it go in to?</p>
<p>No problem, I&#8217;ll just look up creating helper methods.  That was an easy search which rendered an ASP.Net site page, <a href="http://www.asp.net/mvc/tutorials/creating-custom-html-helpers-cs" target="_blank">Creating Custom HTML Helpers</a>.  Great, now I have my examples.  I matched it to an extension method; okay, I get that, I have used those before.  I learned the syntax and added it to my site.</p>
<p>It doesn&#8217;t come up in Inteli-sense.  What can it be.  I changed all kinds of things around, from renaming the class, to changing the method name.  I was wondering if it followed some naming scheme like controllers and models do.  I don&#8217;t recall it needing to.</p>
<p>I decided to browse though the comments, see if anyone else ran into this.  And there is was, someone named, <a href="http://forums.asp.net/members/ianchadwick.aspx" target="_blank">ianchadwick</a> mentioned a way to make the namespace global in the web.config.  Well, damn, that is it, the view doesn&#8217;t know about my namespace BlogByEmail.Helpers.  I added @using BlogByEmail.Helpers; to the top of the page, and everything fell into place.</p>
<p>To use the helper in the view simply use @Html.Raw(Html.GenerateCaptcha())</p>
<p>Html.Raw is needed to keep MVC from HTML Encoding the output.</p>
<p>Damn I feel dumb sometimes.  &#8230;back to my code!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brettski111.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brettski111.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brettski111.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brettski111.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brettski111.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brettski111.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brettski111.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brettski111.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brettski111.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brettski111.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brettski111.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brettski111.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brettski111.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brettski111.wordpress.com/545/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=545&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.brettski.com/2011/10/14/a-run-in-with-custom-helper-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brettski</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating blog posts from emails</title>
		<link>http://blog.brettski.com/2011/10/09/creating-blog-posts-from-emails/</link>
		<comments>http://blog.brettski.com/2011/10/09/creating-blog-posts-from-emails/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 04:35:24 +0000</pubDate>
		<dc:creator>Brettski</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Blog by Email]]></category>

		<guid isPermaLink="false">http://blog.brettski.com/?p=542</guid>
		<description><![CDATA[For some time now I have wanted to post to a blog from an email account.  Some blog engines these days have this functionality, like WordPress and TypePad.  Some through plug-ins and some built in.  I have used the WordPress plug-in on a test installation, and it works pretty well.  Though WordPress is probably my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=542&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For some time now I have wanted to post to a blog from an email account.  Some blog engines these days have this functionality, like WordPress and TypePad.  Some through plug-ins and some built in.  I have used the WordPress plug-in on a test installation, and it works pretty well.  Though WordPress is probably my most preferred blogging engine, most of the time when I am installing blogs, it&#8217;s on a Microsoft stack and I am not big on running PHP on Windows.  On the Windows stack I really like using <a href="http://www.dotnetblogengine.net/" target="_blank">Blogengine.NET</a>.  I find it to be a very capable blogging engine.  The only problem is, at least to date, I have not found a plug-in for it to post by email.  What it does support though is XML-RPC.</p>
<p>With the Help of the <a href="http://www.xml-rpc.net/" target="_blank">XML-RPC.NET</a> library and a few hours away from the family, I through together a rough blog posting application.</p>
<p>I added in <a href="http://sourceforge.net/projects/hpop/" target="_blank">OpenPop.NET</a>, a popmail client library I have used in the past, and now have a way to collect emails.  Now all I needed to do is tie them all together.</p>
<p>The outcome is Blog by Email (<a href="http://blogbyemail.com" target="_blank">http://blogbyemail.com</a>).  An online service for setting up email accounts to post to blogging engines.  Besides looking like crap (I am using the generic MVC layout), it is functioning well. I am hoping my <a title="Dave Koppe Design Company" href="http://davekoppe.com" target="_blank">buddy</a> will give me a hand coming up with a real design for the site.</p>
<p>The biggest challenge to setup posting to a blog is finguring out what XML-RPC entry point is, and what the blogging engine uses for the Blog Id.  The blog id is often the name of the blog, but I found in MovableType it uses the actual integer value assigned to that blog.  Bit of a pain to get that value.  A cool aspect of MovableType is that it generates a password to use for posting via XML-RPC.  A nice security feature.</p>
<p>Speaking of security, to protect the users entered credentials I am encrypting both usernames and passwords in the database.  Also, each user is given a unique key pair when the sign up with the service.  Little steps to make it harder to get this information in case someone does hack the application.</p>
<p>&nbsp;</p>
<p>If you need to post to your blog from a POPMAIL email address, give Blog by Email a try.  The service is free (at least until it grows to the point where it needs a bigger web server).</p>
<p>While the site is getting off the ground and I get the code stable, <a href="http://blogbyemail.com/account/register" target="_blank">registration </a>is closed.  There is a form request an account.  I am looking for people to help test the system, so if you are interested please let me know.</p>
<p>Brett</p>
<p><a href="http://blogbyemail.com" target="_blank">http://blogbyemail.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brettski111.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brettski111.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brettski111.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brettski111.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brettski111.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brettski111.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brettski111.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brettski111.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brettski111.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brettski111.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brettski111.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brettski111.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brettski111.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brettski111.wordpress.com/542/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=542&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.brettski.com/2011/10/09/creating-blog-posts-from-emails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brettski</media:title>
		</media:content>
	</item>
		<item>
		<title>iHostasp.net Speaks, &#8220;No plans for IIS7 hosting&#8221;</title>
		<link>http://blog.brettski.com/2009/04/29/ihostaspnet-speaks-no-plans-for-iis7-hosting/</link>
		<comments>http://blog.brettski.com/2009/04/29/ihostaspnet-speaks-no-plans-for-iis7-hosting/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 02:23:56 +0000</pubDate>
		<dc:creator>Brettski</dc:creator>
				<category><![CDATA[computer hell]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[that poop is cold]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[iHostasp.net]]></category>

		<guid isPermaLink="false">http://blog.brettski.com/?p=312</guid>
		<description><![CDATA[Chomping at the bit to get ASP.NET MVC up and running on my regular hosting environment, iHostasp.net, I sent their support a ticket today asking if they plan IIS7 installations in their shared hosting environment. Brett Slaski Posted On: 29 Apr 2009 10:50 AM Greetings, I just wanted to check to see if there is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=312&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Chomping at the bit to get ASP.NET MVC up and running on my regular hosting environment, iHostasp.net, I sent their support a ticket today asking if they plan IIS7 installations in their shared hosting environment.</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="padding:4px;" width="200" align="left"><span class="ticketpostname">Brett Slaski</span></td>
<td align="right"><img src="https://support.ihostllc.net/themes/client_default/img_user.gif" border="0" alt="" align="absmiddle" /></td>
</tr>
<tr>
<td class="ticketline" colspan="2" height="1"><img src="https://support.ihostllc.net/themes/client_default/space.gif" border="0" alt="" width="1" height="1" /></td>
</tr>
</tbody>
</table>
<table style="height:133px;" border="0" cellspacing="1" cellpadding="3" width="592">
<tbody>
<tr>
<td width="1" align="left"><img src="https://support.ihostllc.net/themes/client_default/icon_emailopen.gif" border="0" alt="" align="absmiddle" /></td>
<td width="100%" align="left"><span class="smalltext">Posted On: 29 Apr 2009 10:50 AM</span></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top">
<hr class="tickethr" size="1" /><span class="mediumtext">Greetings,</p>
<p>I just wanted to check to see if there is an ETA on any IIS7 installations for shared hosting?</p>
<p>Thank you,</p>
<p>Brett</p>
<p></span></td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;">Their response, unfortunately:</span></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="padding:4px;" width="200" align="left"><span class="ticketpostname">Clint Schleeper</span></td>
<td align="right"><img src="https://support.ihostllc.net/themes/client_default/img_staff.gif" border="0" alt="" align="absmiddle" /></td>
</tr>
<tr>
<td class="ticketline" colspan="2" height="1"><img src="https://support.ihostllc.net/themes/client_default/space.gif" border="0" alt="" width="1" height="1" /></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="1" cellpadding="3" width="100%">
<tbody>
<tr>
<td width="1" align="left"><img src="https://support.ihostllc.net/themes/client_default/icon_emailopen.gif" border="0" alt="" align="absmiddle" /></td>
<td width="100%" align="left"><span class="smalltext">Posted On: 29 Apr 2009 02:06 PM</span></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top">
<hr class="tickethr" size="1" /><span class="mediumtext">Hi Brett,</p>
<p>At this time we have no plans for incorporating IIS7 into our shared hosting environment.</p>
<p>IHOST, LLC<br />
Customer Support<br />
<a href="https://support.ihostllc.net/" target="_blank">https://support.ihostllc.net</a><br />
<a href="mailto:support@ihostllc.net">support@ihostllc.net</a><br />
Local/International: 1.440.793.0323 x2<br />
Toll-free: 1.800.593.0238 x2</p>
<p></span></td>
</tr>
</tbody>
</table>
<p>So now I have work to do, find a host with a like offering as iHostasp.net running IIS7, is there such an animal?  I have tried in the past and haven&#8217;t come up with anything so any suggestions is highly appreciated.</p>
<p>I find it ironic that I needed to send iHostasp the support ticket today, from work, out of the blue.  When I got home today, my copy of <a href="http://www.amazon.com/gp/product/0470384611?ie=UTF8&amp;tag=bretcook-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0470384611">Professional ASP.NET MVC 1.0</a><img class=" itawxqgfgibiedvlvmdt itawxqgfgibiedvlvmdt itawxqgfgibiedvlvmdt itawxqgfgibiedvlvmdt itawxqgfgibiedvlvmdt itawxqgfgibiedvlvmdt" style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=bretcook-20&amp;l=as2&amp;o=1&amp;a=0470384611" border="0" alt="" width="1" height="1" /> arrived on the door step from <a href="http://amazon.com" target="_blank">Amazon</a>.  A book I pre-ordered shortly after the release of Scott Gu&#8217;s free first chapter, <a href="http://weblogs.asp.net/scottgu/archive/2009/04/28/free-asp-net-mvc-nerddinner-tutorial-now-in-html.aspx" target="_blank">now available in HTML</a>.</p>
<p><span style="text-decoration:underline;">Please post comments if you know of a good hosting company providing shared hosting of IIS7.</span></p>
<p>Thank you.</p>
<p>My current plan, which runs around $16/mo, $88.83 every 6 months.  I have to say the two things I like the best is dedicated memory pool for each domain and 3 MS SQL databases.  Three databases was the major reason I went with them in the first place.</p>
<ul class="ListItem" style="list-style-image:url('/images/check.jpg');" type="disc">
<li><span style="color:#ff0000;">Dedicated application pool for each domain!</span></li>
<li><span style="color:#ff0000;">Customer accessible database backups!</span></li>
<li><strong>Storage</strong> &#8211; 2400MB</li>
<li><strong>Bandwidth</strong> &#8211; 20GB</li>
<li><strong>DNN Installations</strong> &#8211; 3</li>
<li><strong>Parent portals</strong> &#8211; 60</li>
<li><strong>Child portals</strong> &#8211; <span style="color:#ff0000;">Unlimited</span></li>
<li><strong>MSSQL 2005</strong>- 3 x 250MB each</li>
<li><strong>MySQL 4/5</strong> &#8211; 6 x 250MB each</li>
<li><strong>Mail</strong> &#8211; <span style="color:#ff0000;">Unlimited</span> POP3/SMTP/IMAP/WEB MAIL Accounts. Accounts. MailFoundry spam &amp; virus filtering included.</li>
<li><strong>FTP</strong> &#8211; <span style="color:#ff0000;">Unlimited</span> FTP accounts with ability to set user permissions.</li>
<li><strong>Sub domains</strong> &#8211; Create &amp; manage your own 3rd level domains.</li>
<li><strong>Statistics</strong> &#8211; Detailed real-time statistics to track your visitors.</li>
<li>ASP.NET 1.1/2.0/3.0/3.5, ASP 3.0, PHP5 supported</li>
<li>Microsoft ASP.NET AJAX extensions</li>
<li>Can run wide array of other ASP, PHP, .NET based web applications without any limits</li>
</ul>
<hr />This is a bit silly, but I couldn&#8217;t resist.  I replied to their support email and simply said</p>
<blockquote><p>Please?!</p></blockquote>
<p>And their reply:</p>
<blockquote><p>Hi Brett,</p>
<p>We do not have IIS7 available within our shared hosting environment and do not have any plans to incorporate it in the near future. However, we do offer virtual dedicated server hosting environments and we could set you up with IIS7 on a virtual dedicated server. Our virtual dedicated server packages can be viewed at the link below.</p>
<p>iHost Virtual Dedicated Server Hosting Packages:<br />
<a rel="nofollow" href="http://www.ihostasp.net/HostedAppliance/Default.asp" target="_blank">http://www.ihostasp.net/HostedAppliance/Default.asp</a></p>
<p>IHOST, LLC<br />
Customer Support<br />
<a rel="nofollow" href="https://support.ihostllc.net/" target="_blank">https://support.ihostllc.net</a><br />
<a rel="nofollow" href="mailto:support@ihostllc.net" target="_blank">support@ihostllc.net</a><br />
Local/International: 1.440.793.0323 x2<br />
Toll-free: 1.800.593.0238 x2</p>
<p><span style="text-decoration:underline;">UPDATE: (4/17/2010)</span></p>
<p>It was really interesting to me that the owner of iHostasp.net left a message on this blog post about their service and how it was incorrect for their technician to say what they did.  But the truth holds; it is now April 17th of 2010 and still they have no known installations of II7 in their shared hosting environment.  What if I would of took him for his word and stayed with iHost?  I would be stuck and still without the environment I need.</p>
<p>Trying to make good of your company is one thing, making up stories is something completely different.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brettski111.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brettski111.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brettski111.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brettski111.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brettski111.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brettski111.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brettski111.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brettski111.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brettski111.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brettski111.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brettski111.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brettski111.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brettski111.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brettski111.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=312&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.brettski.com/2009/04/29/ihostaspnet-speaks-no-plans-for-iis7-hosting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brettski</media:title>
		</media:content>

		<media:content url="https://support.ihostllc.net/themes/client_default/img_user.gif" medium="image" />

		<media:content url="https://support.ihostllc.net/themes/client_default/space.gif" medium="image" />

		<media:content url="https://support.ihostllc.net/themes/client_default/icon_emailopen.gif" medium="image" />

		<media:content url="https://support.ihostllc.net/themes/client_default/img_staff.gif" medium="image" />

		<media:content url="https://support.ihostllc.net/themes/client_default/space.gif" medium="image" />

		<media:content url="https://support.ihostllc.net/themes/client_default/icon_emailopen.gif" medium="image" />

		<media:content url="http://www.assoc-amazon.com/e/ir?t=bretcook-20&#38;l=as2&#38;o=1&#38;a=0470384611" medium="image" />
	</item>
		<item>
		<title>Installing ASP.NET MVC On iHostasp.net server</title>
		<link>http://blog.brettski.com/2009/04/22/installing-aspnet-mvc-on-ihostaspnet-server/</link>
		<comments>http://blog.brettski.com/2009/04/22/installing-aspnet-mvc-on-ihostaspnet-server/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 02:56:22 +0000</pubDate>
		<dc:creator>Brettski</dc:creator>
				<category><![CDATA[computer hell]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[iHostasp.net]]></category>

		<guid isPermaLink="false">http://blog.brettski.com/?p=306</guid>
		<description><![CDATA[** To save you time of reading through this, you can&#8217;t cleanly use MVC on iHost** I have been playing around with ASP.NET MVC for at least six months now and was estatic when the version 1.0 released during MIX09.   Some time around preview 3 I wanted to put one of my MVC sites [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=306&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>** To save you time of reading through this, you can&#8217;t cleanly use MVC on iHost**</p></blockquote>
<p>I have been playing around with <a href="http://asp.net/mvc" target="_blank">ASP.NET MVC</a> for at least six months now and was estatic when the version 1.0 released during <a href="http://live.visitmix.com/" target="_blank">MIX09</a>.  </p>
<p>Some time around preview 3 I wanted to put one of my MVC sites out at <a href="http://ihostasp.net" target="_self">iHostasp.net</a> where I host all my Microsoft technology-based stuff.  I first hit a roadblock because the .NET 3.5 Framework wasn&#8217;t available for my domain.  I looked at iHost&#8217;s website and found it listed and asked, wtf?</p>
<p>It was a simple enough request, they just moved my domains over to one of their servers with the 3.5 framework installed.  The only issue this caused is that I lost all of my site statistics.  The moved forced me to reconfigure SmarterStats (a decent free offering from them) for the new server.  </p>
<p>Figured I was all set now, but no, MVC required IIS7 to work with regular routing.  Well it failed and I went over to godaddy and ran it on a free (came with domain purchase) server instance (which is horrible) for some testing, etc.  </p>
<p>Now I am back and documenting my findings for whatever.<br />
First to note is that in the ASP.NET 1.0 Release Notes.doc file a reference is made to <a href="http://haacked.com" target="_blank">Phil Haack&#8217;s</a> website for <a href="http://haacked.com/archive/0001/01/01/bin-deploy-aspnetmvc.aspx" target="_blank">Bin Deploying ASP.NET MVC</a>.  Searching for this on Phil&#8217;s site yeilds nothing, so I have linked it above.  </p>
<p>It&#8217;s really simple to do, just set the following references to &#8220;Copy Local&#8221;.</p>
<p style="padding-left:30px;">System.Web.Mvc<br />
System.Web.Routing<br />
System.Web.Abstractions </p>
<p>From VS2008, locate the references section in the Solution Explorer.  Locate each of the three references (dll&#8217;s) above, right click on them, and choose properties.  From the Properies view, change Copy Local: False to Copy Local: True.</p>
<p>That&#8217;s it.  When you compile or publish your solution the DLL&#8217;s for those three references will be added to the bin folder.  </p>
<p>After all of that, it still will not work as the routing will not work correctly without hacking iis settings a bit.  Forgot about this and I had actually tried all of this already about 45 days ago.  </p>
<p>As stated in <a href="http://www.asp.net/learn/mvc/tutorial-08-vb.aspx" target="_blank">Using ASP.NET MVC with Different Versions of IIS</a> there are two options available for IIS6 and below:</p>
<ol>
<li>Modify your route table to use filenames (ewe)</li>
<li>Create a wildcard script map (requires access to IIS) </li>
</ol>
<p>So the [my] only option is to wait for an unknown amount of time until iHostasp.net decides to start ii7 installations.   Their support told me that they plan to, but have no schedule set. This is a real bummer about ASP.NET MVC, but I&#8217;ll get over it.  :)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brettski111.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brettski111.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brettski111.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brettski111.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brettski111.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brettski111.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brettski111.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brettski111.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brettski111.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brettski111.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brettski111.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brettski111.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brettski111.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brettski111.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.brettski.com&amp;blog=730359&amp;post=306&amp;subd=brettski111&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.brettski.com/2009/04/22/installing-aspnet-mvc-on-ihostaspnet-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brettski</media:title>
		</media:content>
	</item>
	</channel>
</rss>
