Home / ASP.NET Weblogs

January 2011 - Posts

Posted to:

Introducing RouteMagic

Over the past couple of years, I’ve written several blog posts on ASP.NET Routing where I provided various extensions to routing. Typically such blog posts included a zip download of the binaries and source code to allow readers to easily try out the code. But that’s always been a real pain and most people don’t bother. But now, there’s a better way to share such code. Moving forward, I’ll be using NuGet packages as a means of sharing my code samples. In the case of my routing extensions, I’ve compiled them into a solution I call RouteMagic ( source is available on CodePlex ). This solution includes two packages, RouteMagic.Mvc (extensions specific to ASP.NET MVC Routing) and RouteMagic (more general ASP.NET Routing extensions). The RouteMagic...
Posted to:

Hanselminutes Podcast 251 - HTML5 Basics with Mads Kristensen

Scott chats with Mads Kristensen about HTML5? What exactly is this thing? Is it evolutionary or revolutionary? Should you start working with HTML5 now, or should you wait  for some unknown future? Download: MP3 Full Show http://diveintohtml5.org/ NOTE: If you want to download our complete archives as a feed - that's all 251 shows, subscribe to the Complete MP3 Feed here . Also, please do take a moment and review the show on iTunes . Subscribe: or or Zune Do also remember the complete archives are always up and they have PDF Transcripts , a little known feature that show up a few weeks after each show. Telerik is our sponsor for this show. Building quality software is never easy. It requires skills and imagination. We cannot promise...
Posted to:

HTML5 & CSS3 in Visual Studio 2010 SP1

Since the release of Visual Studio 2010 SP1 beta last month, there has been a lot of questions regarding the support for HTML5 and CSS3. HTML5 Visual Studio 2010 was originally released without HTML5 support, so does SP1 finally add support for it? Yes, to some extent. The entire HTML5 specification isn’t supported but most of the new elements and attributes are. That means you get both intellisense and validation for HTML5 with SP1. Turn it on After installing SP1 you have to tell Visual Studio to start using the HTML5 schema. Go to Tools -> Options, and then select Text Editor -> HTML -> Validation . You should now be able to select HTML5 or XHTML5 as the target schema. Or if you have the HTML Source Editing toolbar enabled, you can...
Posted to:

Creating HTML5 Offline Web Applications with ASP.NET

The goal of this blog entry is to describe how you can create HTML5 Offline Web Applications when building ASP.NET web applications. I describe the method that I used to create an offline Web application when building the JavaScript Reference application. You can read about the HTML5 Offline Web Application standard by visiting the following links: Offline Web Applications Firefox Offline Web Applications Safari Offline Web Applications Currently, the HTML5 Offline Web Applications feature works with all modern browsers with one important exception. You can use Offline Web Applications with Firefox, Chrome, and Safari (including iPhone Safari). Unfortunately, however, Internet Explorer does not support Offline Web Applications (not even IE 9...
Posted to:

Mixing Razor Views and WebForms Master Pages with ASP.NET MVC 3

I've spent the last few weeks travelling around presenting WebMatrix, Razor and ASP.NET MVC 3 to folks. Many people have existing WebForms apps or MVC apps with WebForms Views. The question has come up a number of times, "Can I mix Razor Views and WebForms Views in a single ASP.NET MVC application?" The answer is, "No, Yes, and Maybe, But It's Not Supported." Most commonly the scenario is that someone has an existing WebForms (ASPX) Master Page that works nicely, and they now want to include a few Razor pages in their application but don't want to maintain two effectively identical Master Pages (one for ASPX, one for Razor). They want to share their WebForms Master with both WebForms and Razor Views. First, the...
Filed under: , ,
Posted to:
by: 
01-23-2011, 2:31 PM

“Unplugged” LIDNUG online talk with me Monday

Tomorrow (Monday Jan 24th) I’m doing another online LIDNUG session .  The talk will be from 3:00pm to 4:30pm (Pacific Time).  I do these talks a few times a year and they tend to be pretty fun.  Attendees can ask any questions they want to me, and listen to me answer them live via LiveMeeting.  We usually end up having some really good discussions on a wide variety of topics.  Any topic is fair game: technical, strategy, community, college basketball, etc. You can learn more and register to attend the online event for free here . I’ll update this post with a download link to a recorded audio version of the talk after the event is over. Hope to get a chance to chat with some of you there! Scott P.S. In addition to blogging...
Filed under: , ,
Posted to:

3-Screen Coding Is Here: Portable Library Tools allow you to target multiple .NET platforms with one binary!

Earlier this week, we released the Portable Library Tools CTP .  You’ll need to install the VS 2010 SP1 Beta first, then it’s a quick install on top of that. What is it? Back at PDC in October, I did a PDC talk called 3-Screen Coding: Sharing Code Between Windows Phone, Silverlight, and .NET .  If you want to spend some time to get the full scoop on what the Portable Library Tools are all about, you watch it online by clicking here . But if you don’t have time for that, the basic idea is as follows: A Portable Library is a DLL that will run compatibly across a set of .NET platforms.  The set of platforms currently supported for this CTP are .NET 4, Windows Phone 7, Silverlight 4, and XNA Framework 4.0 for XBox 360.  The Portable...
Posted to:

Sprechen Sie ASP.NET MVC?

Ni hao ma! Hot on the heels of the RTM release of ASP.NET MVC 3 , we now have localized versions of ASP.NET MVC in 9 languages! The installation links within the Web Platform Installer was updated. If you want to download the installer yourself, you can go to the English download page and select your language or click on one of the nine languages below: Chinese (Simplified) Chinese (Traditional) French German Italian Japanese Korean Russian Spanish If you speak one of these nine languages, you can now develop with ASP.NET MVC in your native language. Salud! Tags: aspnetmvc , localization , language Read More...
Posted to:

Web Farm Framework 2 now available for free download

Yesterday we shipped another awesome piece of software, this time for those who make their living running groups of Web servers.  Web Farm Framework is a free, fully supported, Microsoft product.  Web Farm Framework enables you to automate the installation and configuration of platform components across your cluster, and also makes it easy to synchronize content, configuration and other resources associated with your ASP.NET or PHP applications. Web Farm Framework 2 now supports integration with hardware load balancers, and enables you to orchestrate updates across your servers so that your site/application is never down or unavailable to customers .  For example, Web Farm Framework can automatically pull servers one-at-a-time...
Posted to:
by: 
01-21-2011, 12:47 AM

Microsoft Web Farm Framework 2.0

The IIS team recently published the Microsoft Web Farm Framework 2.0 release to the web.  You can learn more about it and download the final V2 release of it here . What is the Web Farm Framework? The Microsoft Web Farm Framework is a free, fully supported, Microsoft product that enables you to easily provision and mange a farm of web servers.  It enables you to automate the installation and configuration of platform components across the server farm, and enables you to automatically synchronize and deploy ASP.NET applications across them. It supports integration with load balancers, and enables you to automate updates across your servers so that your site/application is never down or unavailable to customers (it can automatically...

1 2 3 4 Next >

Archives