Open Source Microsoft–Build MVC, WebAPI, Razor, and WebPages

Scott Guthrie has announced on his blog that as of this very moment, ASP.NET MVC, ASP.NET WebAPI, and WebPages with Razor syntax have all been open sourced on CodePlex at http://aspnetwebstack.codeplex.com. That’s huge news. Oh and the ASP.NET Web Stack can be repo’d using TFS, SubVersion, Mercurial, and newly added Git. So, you may be thinking “This sounds cool. But, what does it mean for me?” It means your awesome. It means that you can now take your favorite features and patches to their framework and submit it back to the team for review. It means you can use their … Continue reading Open Source Microsoft–Build MVC, WebAPI, Razor, and WebPages

Should Microsoft and Amazon put Windows 8 on the Kindle?

A co-worker of mine sent off a Fox News article yesterday about a Former Microsoft employee that is “fixing” Windows 8. After reading the article, my first take away was another person explaining the Windows 8 UI flaws. Seriously? Those articles are a dime a dozen. Whenever you change the user interface of any system there will always be resistance. Don’t believe me? How about when Facebook users were upset about the Facebook UI changes? They didn’t up and leave to Google+ now did they? Rather than dive into what’s right with Windows 8, I’d like to explain my second … Continue reading Should Microsoft and Amazon put Windows 8 on the Kindle?

Preventing Web Applications from Inheriting Parent Dependencies (bin)

Have you ever created a web application for something specific such as a standalone web app (forum, photo gallery, web service, etc.) while using ASP.NET and received this: If you have, you probably became frustrated. I know I have. The reason  this occurs is that sub-applications under the main web application inherit the uplevel web.config settings. This means that the machine.config and other system config files filter into the main web’s web.config file as well. You can prevent this from occurring as details quite well at http://jasong.us/yXCV8P. To do this, you’ll need to pull your dependencies and wrap them in … Continue reading Preventing Web Applications from Inheriting Parent Dependencies (bin)

JavaScript onClick Navigation Issues within Google Chrome are Solved

For the longest time, If I needed to use an onclick event for navigation (div or some other page element), I’d use something similar to: <div onClick=”location.href(‘/admin’);”><!– Something here –></div> However, Google Chrome interprets the href property as a method or an object initializer. Instead, to get the onclick navigation to work properly in Chrome, set the property to a value using a typical setter such as: <div onClick=”location.href=’/admin’;”><!– Something here –></div> This simple change will allow Google Chrome to properly navigate to the page. Hope that helps!