<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">RickAndMSFT on Azure &amp;amp; MVC</title><subtitle type="html">Filling the Azure Gap</subtitle><id>http://blogs.msdn.com/b/rickandy/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/b/rickandy/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2012-08-14T15:21:00Z</updated><entry><title>Seeding and Debugging Entity Framework (EF) DBs</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2013/02/12/seeding-and-debugging-entity-framework-ef-dbs.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2013/02/12/seeding-and-debugging-entity-framework-ef-dbs.aspx</id><published>2013-02-13T00:45:30Z</published><updated>2013-02-13T00:45:30Z</updated><content type="html">In Tom Dykstra’s terrific ASP.NET MVC EF tutorial, the following code is used to seed the student table. var students = new List &amp;lt; Student &amp;gt;
{
 new Student { FirstMidName = &amp;quot;Carson&amp;quot; , LastName = &amp;quot;Alexander&amp;quot; , EnrollmentDate = DateTime .Parse( &amp;quot;2005-09-01&amp;quot; ) },
 new Student { FirstMidName = &amp;quot;Meredith&amp;quot; , LastName = &amp;quot;Alonso&amp;quot; , EnrollmentDate = DateTime .Parse( &amp;quot;2002-09-01&amp;quot; ) },
 new Student { FirstMidName = &amp;quot;Arturo&amp;quot; , LastName...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2013/02/12/seeding-and-debugging-entity-framework-ef-dbs.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10393171" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Optimal Azure Restarts</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/12/21/optimal-azure-restarts.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/12/21/optimal-azure-restarts.aspx</id><published>2012-12-22T04:55:40Z</published><updated>2012-12-22T04:55:40Z</updated><content type="html">Restarts for Web Roles Updated 17 Jan 2013:&amp;#160; Tracing in OnStop is not supported. An often neglected consideration in Windows Azure is how to handle restarts. It’s important to handle restarts correctly, so you don’t lose data or corrupt your persisted data, and so you can quickly shutdown, restart, and efficiently handle new requests.&amp;#160; Windows Azure Cloud Service applications are restarted approximately twice per month for operating system updates. (For more information on OS updates, see...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/12/21/optimal-azure-restarts.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10380256" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Top Azure Tips and Best Practices</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/12/20/top-azure-tips-and-best-practices.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/12/20/top-azure-tips-and-best-practices.aspx</id><published>2012-12-20T20:56:08Z</published><updated>2012-12-20T20:56:08Z</updated><content type="html">Tom Dykstra and I have just published an Azure multi-tier tutorial with the complete source. It has many valuable programming tips and best practices you can’t find anywhere else. Learn how to use Windows Azure Storage tables, queues, and blobs in a multi-tier application that has ASP.NET MVC 4 and ASP.NET Web API on the front end. My favorite sections include: Web sites versus web role in a cloud service. How to design tables for efficient queries using the new Windows Azure Storage Client Library...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/12/20/top-azure-tips-and-best-practices.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10379912" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Debugging Azure HTTP 500 Errors</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/11/06/debugging-azure-http-500-errors.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/11/06/debugging-azure-http-500-errors.aspx</id><published>2012-11-06T23:25:26Z</published><updated>2012-11-06T23:25:26Z</updated><content type="html">By default, Windows Azure Cloud Services Web Role applications, running in Windows Azure or the compute emulator, have the&amp;#160; HTTP Errors &amp;lt;httpErrors&amp;gt; element of the ApplicationHost.config file set to not display detailed error information. What surprised me is that under the compute emulator, IIS-Express doesn’t use the C:\Users\&amp;lt;user&amp;gt;\Documents\IISExpress\config\applicationhost.config file, it uses a an ApplicationHost.config file pointed to by the %APPCMD% environment variable....(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/11/06/debugging-azure-http-500-errors.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10366372" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author><category term="ASP.Net" scheme="http://blogs.msdn.com/b/rickandy/archive/tags/ASP-Net/" /><category term="Azure" scheme="http://blogs.msdn.com/b/rickandy/archive/tags/Azure/" /></entry><entry><title>Debugging HTTP 500 - Internal server error with the Windows Azure SDK</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/10/25/debugging-http-500-internal-server-error-with-the-windows-azure-sdk.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/10/25/debugging-http-500-internal-server-error-with-the-windows-azure-sdk.aspx</id><published>2012-10-26T00:25:57Z</published><updated>2012-10-26T00:25:57Z</updated><content type="html">Update November 2012 – See my new blog entry Debugging Azure HTTP 500 Errors . This blog no longer applies to Azure. Using the current Azure SDK and Visual Studio 2012, you may get a HTTP 500 internal error if there is something wrong with your Web.config file. OK, something went wrong, but what? I actually hit this error last year and blogged the solution – but a lot of changes have taken place with the Azure SDK since then, and last years solution no longer works. By default, the ApplicationHost...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/10/25/debugging-http-500-internal-server-error-with-the-windows-azure-sdk.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10362881" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Azure Table Storage</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/09/20/azure-table-storage.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/09/20/azure-table-storage.aspx</id><published>2012-09-21T01:11:00Z</published><updated>2012-09-21T01:11:00Z</updated><content type="html">This Azure Table Storage tutorial/sample/walkthrough will get you using Azure Table Storage from ASP.NET MVC in 15 minutes. Tom Dykstra (of MVC/EF fame ) and I are working on an Azure email service sample application. All the code was written by Tom. 
 Our first step was creating a Azure Table Storage account to contain the email distribution lists. This post contains the essential steps to get Azure Table Storage working with an ASP.NET application. You must first have an Azure account &amp;ndash;...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/09/20/azure-table-storage.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10351786" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author><category term="Azure" scheme="http://blogs.msdn.com/b/rickandy/archive/tags/Azure/" /></entry><entry><title>ASP.NET MVC 4 Mobile Caching Bug Fixed</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/09/17/asp-net-mvc-4-mobile-caching-bug-fixed.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/09/17/asp-net-mvc-4-mobile-caching-bug-fixed.aspx</id><published>2012-09-18T00:27:01Z</published><updated>2012-09-18T00:27:01Z</updated><content type="html">31 October&amp;#160; 2012 Update: The ASP.NET Fall 2012 Update includes the Fixed DisplayModes NuGet package in the new project templates. &amp;#160; You will still need to apply the Fixed DisplayModes NuGet package to projects created before you install the ASP.NET Fall 2012 Update . The RC and RTM versions of ASP.NET MVC 4 had a bug in the view caching mechanism that resulted in mobile views (and other views specified by inserting a new DefaultDisplayMode )&amp;#160; returning the wrong view.&amp;#160; Initially...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/09/17/asp-net-mvc-4-mobile-caching-bug-fixed.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10350312" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Adding Web Optimization to a Web Pages Site</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/08/15/adding-web-optimization-to-a-web-pages-site.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/08/15/adding-web-optimization-to-a-web-pages-site.aspx</id><published>2012-08-16T01:56:07Z</published><updated>2012-08-16T01:56:07Z</updated><content type="html">Adding bundling and minification (B/M) in a Web Pages site follows the same formula ASP.NET MVC and Web Forms use: Declare and register bundles. Consume bundles from within your views.&amp;#160; This blog entry describes the basics of using B/M in a Web Page site. For an overview and more details on B/M, see my tutorial Bundling and Minification . You can read about B/M for ASP.NET MVC here and for Web Forms here . To get started, we’ll create a new Web Pages site. Open the _AppStart.cshtml file. Replace...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/08/15/adding-web-optimization-to-a-web-pages-site.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10340265" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>InitializeSimpleMembership Attribute and SimpleMembership Exceptions</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/08/15/initializesimplemembership-attribute-and-simplemembership-exceptions.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/08/15/initializesimplemembership-attribute-and-simplemembership-exceptions.aspx</id><published>2012-08-15T16:44:00Z</published><updated>2012-08-15T16:44:00Z</updated><content type="html">The InitializeSimpleMembership Attribute ensures that before any membership (login/register) related functionality is run, that the membership database has been created. If the database is not yet created, the code will automatically create one. If the simple membership initialization fails, the Web Application can continue to run requests that don’t require membership. Simple membership initialization failure can occur for the following reasons. The most common reason is the connection string to...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/08/15/initializesimplemembership-attribute-and-simplemembership-exceptions.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10339954" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Adding Bundling and Minification to Web Forms</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/rickandy/archive/2012/08/14/adding-bundling-and-minification-to-web-forms.aspx" /><id>http://blogs.msdn.com/b/rickandy/archive/2012/08/14/adding-bundling-and-minification-to-web-forms.aspx</id><published>2012-08-14T22:21:00Z</published><updated>2012-08-14T22:21:00Z</updated><content type="html">My&amp;#160;&amp;#160; B/M tutorial provides a good introduction to benefits of Bundling and Minification. You should read it to become familiar with the bundling and minification. This blog will focus on using B/M with Web Forms, my B/M tutorial focused on ASP.NET MVC. Create a new ASP.NET Web Forms application which targets the .Net 4.5 framework. Run the application launch the IE F-12 developer tools. Select the Script tab, then use the assets button to view the JavaScript files. You can select one of...(&lt;a href="http://blogs.msdn.com/b/rickandy/archive/2012/08/14/adding-bundling-and-minification-to-web-forms.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10339628" width="1" height="1"&gt;</content><author><name>Rick_Anderson</name><uri>http://blogs.msdn.com/ricka0/ProfileUrlRedirect.ashx</uri></author></entry></feed>