Articles : Page 1 of 1
-
DropDownList and SelectListItem Array Item Updates in MVC
May 1216So I ran into an interesting behavior today as I deployed my first MVC 4 app tonight. I have a list form that has a filter drop down that allows selection of categories. This list is static and rarely changes so rather than loading these items from the database each time I load the items once and then cache the actual SelectListItem[] array in a static property. However, when we put the site online tonight we immediately noticed that the drop down list was coming up with pre-set values that...
-
GZip/Deflate Compression in ASP.NET MVC
Apr 1228A long while back I wrote about GZip compression in ASP.NET. In that article I describe two generic helper methods that I've used in all sorts of ASP.NET application from WebForms apps to HttpModules and HttpHandlers that require gzip or deflate compression. The same static methods also work in ASP.NET MVC. Here are the two routines: /// <summary> /// Determines if GZip is supported /// </summary> /// <returns></returns> public static bool IsGZipSupported() { string AcceptEncoding = HttpCon...
-
ASP.NET MVC 4 Beta
Feb 1220A few days ago we released the ASP.NET MVC 4 Beta. This is a significant release that brings with it a bunch of great new features and capabilities. The ASP.NET MVC 4 Beta release works with VS 2010 and .NET 4.0, and is side-by-side compatible with prior releases of ASP.NET MVC (meaning you can safely install it and not worry about it impacting your existing apps built with earlier releases). It supports a “go-live” license that allows you to build and deploy production apps with it. Click ...
-
POP Forums v9.3 Beta posted with mobile views for ASP.NET MVC 4
Feb 1216Download the bits from CodePlex here. Visit a live demo (preferably on a mobile device) here. This is an extremely experimental build of POP Forums v9.3, which includes jQuery Mobile and mobile views baked in for mobile formatting sauce. It requires ASP.NET MVC 4 Beta, which you can download here. Of course, feel free to submit bugs to the issue tracker. See a live demo here: http://popforums.com/Forums What's new? Uses jQuery Mobile and the ASP.NET MVC4 beta to provide mobile-optimized...
-
Changing the default HTML Templates to HTML5 in Visual Studio
Dec 1123If you're using Visual Studio 2010 to create Web applications, you probably have found out that the default Web templates for ASP.NET Web Forms and Master pages and plain HTML pages all create HTML 4 XHTML headers like this: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="$fileinputname$.aspx.cs" Inherits="$rootnamespace$.$classname$" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w...
-
POP Forums v9.1.0 has been posted to CodePlex!
Dec 1115Finally! After moving, being a dad and engaging in a great deal of home improvement, I finally managed to find time to an update out to POP Forums. I hope to not be that guy anymore, going forever between updates. Release Notes This is the first release for the ASP.NET MVC3 version of POP Forums. It is feature complete, stable, and ready for feedback. For previous release notes, see previous releases. Check out the live preview: http://preview.popforums.com/Forums Setup instructions are ...
- 1

