Articles : Page 1 of 4
-
Odd MVC 4 Beta Razor Designer Issue
Apr 1214This post is a small cry for help along with an explanation of a problem that is hard to describe on twitter or even a connect bug and written in hopes somebody has seen this before and any ideas on what might cause this. Lots of helpful people had comments on Twitter for me, but they all assumed that the code doesn't run, which is not the case - it's a designer issue. A few days ago I started getting some odd problems in my MVC 4 designer for an app I've been working on for the past 2 weeks...
-
Impressions on jQuery Mobile
Apr 1210For the uninitiated, jQuery Mobile is a sweet little client framework that turns regular HTML into something more touch and mobile friendly. It results in a user interface that has bigger targets, rounded corners and simple skinning capability. When it was announced that ASP.NET MVC 4 would include support for a mobile-sensitive view engine, offering up alternate views for clients that fit the mobile profile, I was all over that. Combined with jQuery Mobile, it brought a chance to do some ex...
-
Physical Directories vs. MVC View Paths
Apr 1205This post falls into the bucket of operator error on my part, but I want to share this anyway because it describes an issue that has bitten me a few times now and writing it down might keep it a little stronger in my mind. I've been working on an MVC project the last few days, and at the end of a long day I accidentally moved one of my View folders from the MVC Root Folder to the project root. It must have been at the very end of the day before shutting down because tests and manual site nav...
-
Rebuilding CoasterBuzz, Part III: The architecture using the "Web stack of love"
Apr 1203This is the third post in a series about rebuilding one of my Web sites, which has been around for 12 years. I hope to relaunch in the next month or two. More: Part I: Evolution, and death to WCF Part II: Hot data objects I finally hit a point in the re-do of CoasterBuzz where I feel like the major pieces are in place... rewritten, ported and what not, so that I can focus now on front-end design and more interesting creative problems. I've been asked on more than one occasion (OK, just...
-
What Is The Spirit of Open Source?
Feb 1222In my last post, I attempted to make a distinction between Open Source and Open Source Software. Some folks took issue with the post and that’s great! I love a healthy debate. It’s an opportunity to learn. One minor request though. If you disagree with me, I do humbly ask that you read the whole post first before you go and rip me a new one. It was interesting to me that critics fell into two opposing camps. There were those who felt that it was was disingenuous for me to use the term “open ...
-
POP Forums v9.3 Beta posted with mobile views for ASP.NET MVC 4
Feb 1216Download the bits from CodePlex here. Visit a live demo (preferably on a mobile device) here. This is an extremely experimental build of POP Forums v9.3, which includes jQuery Mobile and mobile views baked in for mobile formatting sauce. It requires ASP.NET MVC 4 Beta, which you can download here. Of course, feel free to submit bugs to the issue tracker. See a live demo here: http://popforums.com/Forums What's new? Uses jQuery Mobile and the ASP.NET MVC4 beta to provide mobile-optimized...
-
A Really Empty ASP.NET MVC 3 Project Template
Jan 1211In the ASP.NET MVC 3 Uservoice site, one of the most voted up items is a suggestion to include an empty project template. No, a really empty project template. You see, ASP.NET MVC 3 includes an “empty” project template, but it’s not empty enough for many people. So in this post, I’ll give you a much emptier one. It’s not completely empty. If you really wanted it completely empty, just choose the ASP.NET Empty Web Application template. The Results I’ll show you the results first, and then t...
-
Best of 2011: top 5 posts of the year
Dec 1123This is the time of year when people look back at the year just passed, review and looks out for the year to come. My retrospection post will come in the new year, but for the moment I want to review my top posts of 2011. The most popular post of 2011 1. The history of ASP.NET MVC, so far – This blog post contains the list of all the version of ASP.NET MVC, and the features that were brought into each version. It was featured in the home page of the asp.net portal for a few days at the b...
-
What's new in ASP.NET MVC 4 webcast: 17 January
Dec 1122ASP.NET MVC 4 is the new version of ASP.NET MVC that came out during Build in September: it included a few pretty interesting features like a newly revamped project template, a better asynchronous controller and, the main feature, native support for mobile version of the site, with device detection and mobile only views. Also some productivity enhancement were introduced, like recipes to automate repetitive coding tasks. And finally, if you run ASP.NET MVC 4 on top of ASP.NET 4.5, you also g...
-
Using QUnit with Razor Layouts
Dec 1111Given how central JavaScript is to many modern web applications, it is important to use unit tests to drive the design and quality of that JavaScript. But I’ve noticed that there are a lot of developers that don’t know where to start. There are many test frameworks out there, but the one I love is QUnit, the jQuery unit test framework. Most of my experience with QUnit is writing tests for a client script library such as a jQuery plugin. Here’s an example of one QUnit test file I wrote a ...

