Articles : Page 1 of 1
-
RFC: Web Platform Installer (WebPI) with an offline feed mode for bandwidth savings
Sep 1124My wife is in the Kingdom of Swaziland this evening. If she was a developer over there and wanted to use Web Platform Installer to get Visual Studio or some large download she would have to patiently bring the bits down over 3G. If she was very well off, she might have ASDL with a maximum speed of 512kbps down, most likely with a cap. I've talked about limited connectivity in African countries and other nations (*cough* New Zealand *cough*) before on this blog and it's no fun. I've told the w...
-
New Ajax Grid Scaffolding NuGet Package for MVC 3
Aug 1118EDITOR’S NOTE: Microsoft has an amazing intern program. For a summer, these bright college students work with a feature crew getting real work done, all the while attending cool events nearly every week that, frankly, make the rest of us jealous! Just look at some of the perks listed in this news article! This summer, the ASP.NET MVC is hosting an intern, Stephen Halter, who while very smart, doesn’t have a blog of his own (booo! hiss!). Being the nice guy that I am (and also being amenable ...
-
NuGet for the Enterprise: NuGet in a Continuous Integration Automated Build System
May 1125I had the pleasure of speaking at TechEd 2011 North America last week in Atlanta. You can see ALL the videos of all the sessions on Channel 9. As an aside, you might notice that they are in the process of organizing video archives of ALL Microsoft developer events at http://channel9.msdn.com/Events. You can even see PDC 1999 if you like or see sessions by Speaker at http://channel9.msdn.com/Events/Speakers. Here are all my talks with a horrible headshot that I plan on asking Duncan to swap ou...
-
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...
-
Mix 11 Videos - Download them all with RSS
Apr 1118Such a fun time was had at Mix 11 this last week in Vegas. I only saw a few talks as I was busy presenting, but now as I sit at home on my first day back, I say to myself, Self, how can I get all the Mix videos at once? First, you can watch all the videos online at http://channel9.msdn.com/Events/MIX/MIX11 Second, you can get them via RSS. Most major browsers are hiding the RSS button these days, but the discovery metadata is all still there. In IE9, for example, if you show the Command B...
-
Building a Nuget Server with gold plating
Apr 1105Last week, Phil Haack wrote a post on how to build a NuGet Server. A NuGet server is really easy to build because 90% of the work is done by running a NuGet command. Just for fun, I decided to add some extra functionality to my NuGet Server such as a package upload form and a formatted list of packages. In preparing my NuGet server, I followed Phil’s direction to a tee except for the fact that I used a “empty MVC 3 app with Razor support” instead of using a “ASP.NET Empty Web Application”. ...
-
Changing Base Type Of A Razor View
Feb 1121Within a Razor view, you have access to a base set of properties (such as Html, Url, Ajax, etc.) each of which provides methods you can use within the view. For example, in the following view, we use the Html property to access the TextBox method. @Html.TextBox("SomeProperty") Html is a property of type HtmlHelper and there are a large number of useful extension methods that hang off this type, such as TextBox. But where did the Html property come from? It’s a property of System.We...
-
MvcSiteMapProvider 3.0.0 released
Feb 1104Just a quick note to tell that MvcSiteMapProvider 3.0.0 has been released and is available on CodePlex and NuGet. This version is targeted at ASP.NET MVC 3. If you are still using ASP.NET MVC 2, no worries: version 2.3.1 contains the exact same functionality but is targeted at ASP.NET MVC 2. The changelog: Additional UpdatePriority options for generating XML sitemaps Allow to specify target on SiteMapTitleAttribute One action with multiple routes and breadcrumbs Medium Trust optimizatio...
- 1

