May 012013
 

This is a very exciting time for me as a developer. Well, for me. Who happens to be a developer. The two most exciting things in the field right now (for me) are Windows Azure, and Xamarin.iOS. Lucky for me, I’m up to my ears in both of them.

Having recently returned from the Xamarin Evolve conference in Austin, with excitement even more intense than the training, I’ve got mobile on the mind. I’m working on my company’s first public iOS native app and an internal iOS app. I’m writing web API’s, Azure Mobile Services, cranking out C# and architecting cross-platform as we have iOS, Android, and Windows Phone on the roadmap. For leisure, I’m thinking about Big Data and today start a Coursera course to explore it, which will have me writing Python an R. This weekend is my local Fox Valley .NET User Group‘s annual Day of .NET which will surely kindle other ideas that I’ll want to pursue. And, I’m on a tight schedule for a web project I plan to ship in August.

I’m busy.

And, my new KitchenAid mixer arrives today, and I really want to bake some loaves of bread before the weather gets too warm to be baking while the air conditioner is running.

I’m giving myself a 30-day challenge: be intense. Don’t waste any time. I’m committed to one social event this month which I will stick to, but otherwise, I’m off any radar that isn’t about writing code. I’ll blog about it, some here, and some at a soon-to-be-launched blog where I am co-authoring about learning to develop in Xamarin. Of course, good timing has never been on my side and this all happens now that the Wisconsin winter has finally yielded to spring and it is beautiful outside, and these are all very much indoor activities.

yesto

Apr 252013
 

I do a lot of work with video on the web, and this has finally worked its way into an Azure Web Site project, so I had to deal with adding a MIME type for mp4 video. By default, there is no media type for mp4. It’s easy, but perhaps not obvious.

All you need to do is modify your web.config file and add your type(s) within the staticContent section of your system.webServer section.

Depending on your site, you may have to add system.webServer. This should be nested within the configuration section.

To add the one type I need, I added the following code to my web.config:

<system.webServer>
    <staticContent>
      <mimeMap fileExtension=".mp4" mimeType="video/mp4" />  
    </staticContent>    
</system.webServer>

This example shows only the mp4 video type I am using. If you’re unsure what type you need to add, maybe Wikipedia can help you.