Articles : Page 7 of 27
- Filter:
- MVC3
-
ASP.NET MVC 3 and the @helper syntax within Razor
May 1113ASP.NET MVC 3 supports a new view-engine option called “Razor” (in addition to continuing to support/enhance the existing .aspx view engine). Razor minimizes the number of characters and keystrokes required when writing a view template, and enables a fast, fluid coding workflow. Unlike most template syntaxes, with Razor you do not need to interrupt your coding to explicitly denote the start and end of server blocks within your HTML. The Razor parser is smart enough to infer this from your co...
-
Making Let Me Bing That For You Open Source
May 1112Almost two years ago, I announced the launch of http://letmebingthatforyou.com/, a blatant and obvious rip-off of the Let me Google that for you website. The initial site was created by Maarten Balliauw and Juliën Hanssens in response to a call for help I made. It was just something we did for fun. I’ve been maintaining the site privately always intending to spend some time to refresh the code and open source it. Just recently, I upgraded the site to ASP.NET MVC 3, refactored a bunch of co...
-
Localized Releases of ASP.NET MVC 3 Tools Update
May 1110In April we announced the release of ASP.NET MVC 3 Tools Update which added Scaffolding, HTML 5 project templates, Modernizr, and EF Code First Magic Unicorn Edition. Today, just shy of one month later I’m happy to announce that this release is now available in nine other languages via the Web Platform Installer (Web PI). We’ve also included release notes translated into the nine languages as well. Chinese (Simplified) Chinese (Traditional) French German Italian Japanese Korean Ru...
-
HTML5 Improvements with the ASP.NET MVC 3 Tools Update
May 1110Last week I blogged about the new ASP.NET MVC 3 Tools Update, and then followed it up with a detailed post that covered using the EF Code First and the new Data Scaffolding features in it. Today’s blog post is a continuation of this series and covers some of the new HTML5 improvements with the ASP.NET MVC 3 Tools Update release. Project Template Support for HTML5 Semantic Markup The ASP.NET MVC 3 Tools Update adds support for you to optionally use HTML5 semantic markup when creating new A...
-
Compiling MVC Views In A Build Environment
May 1109ASP.NET MVC project templates include support for precompiling views, which is useful for finding syntax errors within your views at build time rather than at runtime. In case you missed the memo, the following outline how to enable this feature. Right click on your ASP.NET MVC project in the Solution Explorer Select Unload Project in the context menu. Your project will show up as unavailable Right click on the project again and select Edit ProjectName.csproj. This will bring up the p...
-
Mastering ASP.NET MVC 3
May 1109I’m rolling together the outline of Tekpub’s Mastering ASP.NET MVC 3 and I was hoping to drop in a couple of episodes on top of MVC 2, but it’s looking like this release has enough to easily cover 9-10 episodes. So that’s what I’m doing - starting today - rolling together a new series that will be a lot more advanced than MVC 2 - and I think I might redo MVC 2 to cover more basic principles. Thoughts? ...
-
How to convert an ASP.NET Web Forms web application into ASP.NET MVC 3
May 1106So, you have a traditional web forms web application and you are inspired by the new ASP.NET MVC 3 are you? Well this is definitely doable. In this how to guide I will tell you step by step exactly how you can add your new ASP.NET MVC 3 work into your existing ASP.NET web forms project. 1. Add referencesRight click on your web root project in Visual Studio (2010 in my case) and add the following references: System.Web.Routing System.Web.Abstractions System.Web.Mvc System.WebPages System.Web...
-
EF Code First and Data Scaffolding with the ASP.NET MVC 3 Tools Update
May 1106Earlier this week I blogged about the new ASP.NET MVC 3 Tools Update that we shipped last month. In today’s blog post I’m going to go into more detail about two of the cool new features it brings: Built-in support for EF 4.1 (which includes the new EF “code-first” support) Built-in data scaffolding support within Visual Studio (which enables you to rapidly create data-driven sites) These two features provide a really sweet, and extremely powerful, way to work with data and build d...
-
Should I use HTML5 or Silverlight? One man's opinion.
May 1104I was in Belgium and The Netherlands this last week presenting and talking to folks in the community. After I presented on ASP.NET MVC 3, HTML5 and jQuery, one fellow came up after and said, Should I use Silverlight or HTML5. I don't understand what Microsoft's strategy is or what to use in my app. Since I work for the Web Platform and Tools team (ASP.NET, IIS, etc) I spend a lot of time working, coding, and thinking about the web. However, I'm not an official strategist, or marketing guy. ...
-
ASP.NET MVC 3 Tools Update
May 1104Three weeks ago we held our MIX 2011 conference in Las Vegas. MIX is one of my favorite events of the year, and the conference always has a ton of great content and announcements. All of the keynotes and breakout sessions from the event can be watched online for free here. I’ll be doing a few posts in the upcoming weeks that also cover some highlights from it. ASP.NET MVC 3 Tools Update One of the announcements I made in my Day 1 keynote was the release of an ASP.NET MVC 3 Tools Update. Thi...

