Posts
114
Comments
127
Trackbacks
10
ASP.NET MVC
There are 12 entries for the tag ASP.NET MVC
mvcConf recap: (M)egacool (V)irtual (C)onference
Technorati Tags: ASP.NET MVC,mvcconf I took the day off work today to "attend" mvcConf: the Virtual ASP.NET MVC Conference, and had a great time. Thanks to all of the presenters and organizers of the conference. It was a huge success, and I'm sure that like me, most of the attendees hope there will be another soon. It was amazing how smoothly everything went. There were only one session cancellation and very few technical difficulties (I experienced none, but people in the chat rooms reported a few ......
Posted On Thursday, July 22, 2010 10:13 PM | Comments (0)
Two online events: "mvcConf" and the "jQuery Online Conference"
Technorati Tags: jQuery,ASP.NET,ASP.NET MVC,conferences I was excited yesterday to learn of two upcoming virtual online conferences about topics in which I'm very interested. The first one I heard about was mvcConf, the Virtual ASP.NET MVC Conference - Thursday, July 22. From the website: mvcConf is a virtual conference focused on one thing. Writing awesome applications on top of the ASP.Net MVC framework. The event will be free to attend, and your brain will explode from taking in so much hard core ......
Posted On Friday, July 9, 2010 6:07 AM | Comments (0)
Implementing a custom ASP.NET MVC authorization filter
Technorati Tags: .NET,ASP.NET,ASP.NET MVC I'm rewriting a "classic ASP" (that term always makes me laugh - Just 'cause it's old don't make it "classic") application in ASP.NET MVC 2. There's an existing user authorization table in the database, so I want to keep using that for authorization determination. I created a custom class inheriting from FilterAttribute and implementing IAuthorizationFilter: 1: public class DuffAuthorizeAttribute : FilterAttribute, IAuthorizationFilter 2: { 3: public DuffAuthorizeAttribute(params ......
Posted On Thursday, July 8, 2010 9:54 PM | Comments (6)
Are you a "Hanselfan"? Help Hanselman fight diabetes
Technorati Tags: Scott Hanselman,diabetes Scott Hanselman is on a mission to raise $50,000 dollars for the ADA Diabetes Walk 2010. $30,000 has been raised so far. He needs our help to raise the remaining $20,000. Are you a "Hanselfan"? If you: have been entertained and educated by the Hanselminutes podcast have a well-thumbed copy of "Professional ASP.NET" on your desk (heck, you could use the dang thing for a desk, it's so huge) ==> or have read one of Scott's other books have learned about a ......
Posted On Thursday, July 8, 2010 8:24 PM | Comments (2)
Extending MvcContrib grid with custom DataAnnotationsModelMetadataProvider
Technorati Tags: .NET,ASP.NET,ASP.NET MVC,MvcContrib,localization In a prior post, I blogged about creating a custom class inheriting from System.Web.Mvc.DataAnnotati... to provide localized display names for my models. I was disappointed to find that the MvcContrib grid doesn't use the metadata provider for column names - it just splits "Pascal-case" property names into words (e.g. "FromDate" to "From Date") if a name hasn't been explicitly assigned. public string DisplayName ......
Posted On Tuesday, July 6, 2010 9:44 PM | Comments (5)
Convention-based Registration Extension for the Microsoft Unity IOC Container
Technorati Tags: .NET,ASP.NET,ASP.NET MVC,Microsoft Unity In my current ASP.NET MVC project, I'm focused on testability and programming to interfaces rather than concrete implementations, so I have a ton of interfaces. I'm using the Microsoft Unity IOC Container, so my dependency injection initialization code looked like this: 1: using System; 2: using System.Collections.Generic; 3: using System.Reflection; 4: using Duff.Localization; 5: using Duff.Database; 6: using Microsoft.Practices.Unity; 7: ......
Posted On Sunday, July 4, 2010 10:59 PM | Comments (0)
The Big Boy MVC Series
Technorati Tags: ASP.NET,ASP.NET MVC I wish I had discovered this before part 19. I've got some catching up to do… Evan Nagle's working / blogging / joking / cartooning his way through building an ASP.NET MVC 2 web site in what looks like the .NET world's answer to Why's (Poignant) Guide to Ruby: http://www.weirdlover.com/2... Looks like a bit more entertaining ride than NerdDinner or the Music Store ......
Posted On Tuesday, June 22, 2010 8:34 PM | Comments (0)
Norweigan Developers Conference Videos
Videos of presentations from NDC 2010 are now available at: http://streaming.ndc2010.no... It looks like there are about 48 available. I'm particularly looking forward to: Mads Torgersen: "C# Quo Vadis?" (followed by a discussion on the future of C# with Mads, Eric Lippert, Gafter and Jon Skeet) Roy Osherove: "Beautiful Teams & Leaders" Greg Young: "5 reasons why projects using DDD fail" Jon Skeet: "If I Ruled the World - C# 5.0 According to Jon" Eric Evans: "What I've learned About DDD Since ......
Posted On Tuesday, June 22, 2010 7:35 PM | Comments (0)
Which ASP.NET MVC Grid?
Technorati Tags: ASP.NET,ASP.NET MVC,MvcContrib I started looking at the MvcContrib grid earlier this week, and it looks promising. At the Kansas City Developer’s Conference today, Javier Lozano showed a demo using JqGrid. When I asked Javier about JqGrid, he said I might want to look at Telerik’s ASP.NET MVC Extensions Grid. Any recommendations would be welcome. (If you can give me a grid comparing the capabilities of each, that would be great ;) ......
Posted On Saturday, June 19, 2010 12:39 PM | Comments (2)
ASP.NET MVC localization DisplayNameAttribute alternatives: a better way
Technorati Tags: ASP.NET,ASP.NET MVC,localization In my last post, I talked bout creating a custom class inheriting from System.ComponentModel.Displ... to retrieve display names from resource files: [LocalizedDisplayName("Reme... public bool RememberMe { get; set; } That’s a lot of work to put an attribute on all of my model properties though. It would be nice if I could intercept the ASP.NET MVC code that analyzes the model metadata to retrieve display names to make it automatically ......
Posted On Monday, June 14, 2010 6:04 PM | Comments (6)
ASP.NET MVC localization DisplayNameAttribute alternatives: a good way
Technorati Tags: ASP.NET,ASP.NET MVC,localization The ASP.NET MVC HTML helper methods like .LabelFor and .EditorFor use model metadata to autogenerate labels for model properties. By default it uses the property name for the label text, but if that’s not appropriate, you can use a DisplayName attribute to specify the desired label text: [DisplayName("Remember me?")] public bool RememberMe { get; set; } I’m working on a multi-language web site, so the labels need to be localized. I tried pointing ......
Posted On Monday, June 14, 2010 5:26 PM | Comments (1)
Hello, T4MVC – Goodbye, ASP.NET MVC “magic strings”
Technorati Tags: ASP.NET,ASP.NET MVC,T4MVC I’m working on my first ASP.NET MVC project, and I really, really like MVC. I hate all of the “magic strings”, though: <div id="logindisplay"> <% Html.RenderPartial("LogOnUs... %> </div> <div id="menucontainer"> <ul id="menu"> <li><%=Html.Action... Dinner", "Index", "Dinners")%></li> <li><%=Html.Action... Dinner", "Create", "Dinners")%></li> <li><%=Html.Action... ......
Posted On Sunday, June 6, 2010 7:47 AM | Comments (4)
Tag Cloud