MVC

Using Facebook Connect with ASP.NET MVC and the Facebook Developer Toolkit 3

If you haven’t heard, Microsoft and Clarity Consulting have released version 3 of the Facebook Developer Toolkit (FDT). As described on the Codeplex home page the main goals for version 3 were: • Provide better doc and samples • Provide support for Silverlight • Provide support for ASP.NET MVC • Provide improved support for WPF • Provide improved support for FBML (FBML Server Controls) • Provide a login control that can be used to replace the BasePage and/or MasterPage for Canvas Development • Improve out of the box support for Extended Permission Prompts • Refactor core source to improve maintainability and...

posted @ Sunday, November 22, 2009 1:15 AM | Feedback (1)

Modifying the DataAnnotationsModelBinder to enable seamless validation in ASP.NET MVC

ASP.NET MVC 2 promises to bring us a seamless client-side/server-side experience much like we currently have in WebForms. However, for those of us developing web apps in MVC 1 we’ve had to resort to rolling our own solution or using a patchwork of validation components. In this post I’ll briefly discuss modifications I made to the DataAnnotationsModelBinder so it would work with DataAnnotations, xVal, and jQuery.Validate. xVal If you’re not already familiar with xVal, I’d suggest checking out its Codeplex site and and reading this blog post. DataAnnotations The DataAnnotations namespace was introduced in .NET 3.5 SP1 and provides developers the means to declaratively...

posted @ Saturday, October 10, 2009 3:26 PM | Feedback (2)

Using the MVC XML Sitemap in your ASP.NET MVC project.

This post is a simple walkthrough to illustrate the usage the MVC XML Sitemap project. If you haven’t already, grab the source here: http://mvcxmlsitemap.codeplex.com/Release/ProjectReleases.aspx Once you’ve downloaded it, go ahead and unzip it, open the solution up in Visual Studio and do a rebuild so the assembly is compiled. A Simple Sitemap Example Create a new ASP.NET MVC web application (the name is not important) and add a reference to the Cintellect.Web.Mvc.Sitemap assembly to ASP.NET MVC web application you just compiled.   Now open up the HomeController in the Controllers folder...

posted @ Saturday, August 01, 2009 2:07 PM | Feedback (4)