Microsoft MVC bloggers

Sponsors

May 2011 - Posts

Creating Custom Ajax Control Toolkit Controls
The goal of this blog entry is to explain how you can extend the Ajax Control Toolkit with custom Ajax Control Toolkit controls. I describe how you can create the two halves of an Ajax Control Toolkit control: the server-side control extender and the client-side control behavior. Finally, I explain how you can use the new Ajax Control Toolkit control in a Web Forms page. At the end of this blog entry, there is a link to download a Visual Studio 2010 solution which contains the code for two Ajax Control Toolkit controls: SampleExtender and PopupHelpExtender. The SampleExtender contains the minimum skeleton for creating a new Ajax Control Toolkit control. You can use the SampleExtender as a starting point for your custom Ajax Control Toolkit controls...
Globalization, Internationalization and Localization in ASP.NET MVC 3, JavaScript and jQuery - Part 1
There are several books worth of information to be said about Internationalization (i18n) out there, so I can't solve it all in a blog post. Even 9 pages of blog posts . I like to call it Iñtërnâtiônàlizætiøn , actually. There's a couple of basic things to understand though, before you create a multilingual ASP.NET application. Let's agree on some basic definitions as these terms are often used interchangeably. Internationalization (i18n) - Making your application able to support a range of languages and locales Localization (L10n) - Making your application support a specific language/locale. Globalization - The combination of Internationalization and Localization Language - For example, Spanish generally. ISO code "es"...
Free “Guathon” all day event in London on June 6th
The (awesome) UK developer community is holding another all day event with Steve Sanderson and me in London on June 6th.  The event is free to attend, and the venue will be in Central London (at the ODEON Covent Garden).  The website for the event is here . Content The event goes from 9am to 5pm, and will feature a bunch of great .NET content.  The current agenda includes the following talks: Build an app using ASP.NET MVC 3, EF Code First, NuGet and IIS Express (ScottGu) We'll spend 2 hours building an application with some of the latest releases of the Microsoft Web Stack. You get to choose what app to build and then watch Scott code it on stage. See how the Microsoft web stack fits together, how to take advantage of great...
NuGet Package of the Week #7 - ELMAH (Error Logging Modules and Handlers) with SQL Server Compact
Hey, have you implemented the NuGet Action Plan ? Get on it, it'll take only 5 minutes: NuGet Action Plan - Upgrade to 1.3, Setup Automatic Updates, Get NuGet Package Explorer . NuGet 1.3 is out, so make sure you're set to automatically update! The Backstory: I was thinking since the NuGet .NET package management site is starting to fill up that I should start looking for gems (no pun intended) in there. You know, really useful stuff that folks might otherwise not find. I'll look for mostly open source projects, ones I think are really useful. I'll look at how they built their NuGet packages, if there's anything interesting about the way the designed the out of the box experience (and anything they could do to make it better...
Install the Ajax Control Toolkit from NuGet
The Ajax Control Toolkit is now available from NuGet. This makes it super easy to add the latest version of the Ajax Control Toolkit to any Web Forms application. If you haven’t used NuGet yet, then you are missing out on a great tool which you can use with Visual Studio to add new features to an application. You can use NuGet with both ASP.NET MVC and ASP.NET Web Forms applications. NuGet is compatible with both Websites and Web Applications and it works with both C# and VB.NET applications. For example, I habitually use NuGet to add the latest version of ELMAH, Entity Framework, jQuery, jQuery UI, and jQuery Templates to applications that I create. To download NuGet, visit the NuGet website at: http://NuGet.org Imagine, for example, that you...
Great Free Video Training on ASP.NET Web Forms and ASP.NET MVC
We’ve recently published some great end-to-end ASP.NET video training courses on the http://asp.net web-site.  Created by Pluralsight (a great .NET training company), these video courses are available free of charge and provide a great way to learn (or brush-up your knowledge of) ASP.NET Web Forms 4 and ASP.NET MVC 3.  Each course is taught by a single trainer, and provides a nice end-to-end curriculum (from basic concepts to working with the new Entity Framework “code first” model to security, deployment, and testing).    Below are some details on the two free training courses we published this weekend (and links for how to watch them): ASP.NET MVC 3 Training This weekend we posted the final videos in a brand new 10...
ASP.NET MVC 3 and the @helper syntax within Razor
ASP.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 code. This enables a compact and expressive syntax which is clean, fast and fun to type. You can learn more about Razor from some of the blog posts I’ve done about it over the last last 9 months: Introducing Razor New @model keyword in Razor Layouts with...
May 2011 Release of the Ajax Control Toolkit
I’m happy to announce that the Superexpert team has published the May 2011 release of the Ajax Control Toolkit at CodePlex. You can download the new release at the following URL: http://ajaxcontroltoolkit.codeplex.com/releases/view/65800 This release focused on improving the ModalPopup and AsyncFileUpload controls. Our team closed a total of 34 bugs related to the ModalPopup and AsyncFileUpload controls. Enhanced ModalPopup Control You can take advantage of the Ajax Control Toolkit ModalPopup control to easily create popup dialogs in your ASP.NET Web Forms applications. When the dialog appears, you cannot interact with any page content which appears behind the modal dialog. For example, the following page contains a standard ASP.NET Button and...
HTML5 Improvements with the ASP.NET MVC 3 Tools Update
Last 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 ASP.NET MVC 3 projects.  You can specify this by checking the “Use HTML5 semantic markup” checkbox when creating new projects: Selecting this checkbox option does two things: 1) It causes VS 2010 to use HTML5 semantic markup elements like <header>...
EF Code First and Data Scaffolding with the ASP.NET MVC 3 Tools Update
Earlier 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 data-driven web applications. Scenario We’ll Build To help illustrate how to use the above features, we’ll walkthrough building a simple data-drive site.  It will support listing products: As well as creating/editing new products (and categories): We can now...
More Posts Next page »