Posts
114
Comments
127
Trackbacks
10
ASP.NET
There are 26 entries for the tag ASP.NET
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)
Kansas City Developer Conference Recap
Technorati Tags: .NET,Kansas City Thanks to the KC development community for a great free event. The Johnson County Community College provided very nice facilities. I’m the sort of guy who would willingly drive 4+ hours each way for a free XL (or “developer medium”, as Richard Campbell calls it) T-shirt, but got a lot more than that out of the event. Here's a recap of the sessions I attended: Why Kanban? speaker: Troy Tuttle Troy is a “pragmatic agilist” at AdventureTech (not AdventureWorks – I was ......
Posted On Saturday, June 19, 2010 3:26 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)
45% off Apple and Microsoft dev books from Manning through June 17

I’m really enjoying “ASP.NET MVC 2 In Action” – Think I’ll pop for “JQuery in Action” now:

http://campaign.constantcontact.com/render?v=001cQcN0FSUz163y8UN8daOKl273F1ld9De4lyrZZkZD2vOrQCOrZ21vmO0hNEKL8hP1eVm0aHcF4PEd5OUEWwg7qkJhUrJ-yrnzXtWKhq2XvhouzWyZAmHQa2ctUauOXhV

Posted On Wednesday, June 9, 2010 7:06 PM | Comments (0)
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)
ASP.NET Localization: Enabling resource expressions with an external resource assembly
Technorati Tags: .NET,ASP.NET,localization I have several related projects that need the same localized text, so my global resources files are in a shared assembly that’s referenced by each of those projects. It took an embarrassingly long time to figure out how to have my .resx files generate “public” properties instead of “internal” so I could have a shared resources assembly (apparently it was pretty tricky pre-VS2008, and my “googling” bogged me down some out-of-date instructions). It’s easy ......
Posted On Saturday, June 5, 2010 5:15 PM | Comments (3)
“ASP.NET MVC 2 in Action” Ebook is complete
I just got email notification that ASP.NET MVC2 in Action is complete. I had signed up for the Manning Early Access Program (MEAP), which allowed me to reserve a hardcopy of the book, a PDF of the completed chapters, and the PDF of the entire version 1 (ASP.NET MVC in Action) book all for $49.99. I’m working on my first MVC application, and it’s been a big help so far. Congratulations to Jeffrey Palermo, Ben Scheirman, Jimmy Bogard, Eric Hexter, and Matthew Hinze for completing what looks like a ......
Posted On Tuesday, June 1, 2010 6:32 PM | Comments (0)
WatiN screenshot saver
Technorati Tags: .NET,WatiN,testing In addition to my automated unit, system and integration tests for ASP.NET projects, I like to give my customers something pretty that they can look at and visually see that the web site is behaving properly. I use the Gallio test runner to produce a pretty HTML report, and WatiN (Web Application Testing In .NET) to test the UI and create screenshots. I have a couple of issues with WatiN’s “CaptureWebPageToFile” method, though: It blew up the first (and only) time ......
Posted On Monday, May 31, 2010 12:18 PM | Comments (6)
St. Louis .NET User Group – Muljadi Budiman: “What's new in Visual Studio 2010 and .NET 4.0 Framework”
Muljadi Budiman was the top-rated speaker at the recent St. Louis Day of .NET event, and it’s easy to see why. His presentations are energetic, humorous, and packed with useful information. At tonight’s St. Louis .NET User Group meeting, he zipped through an overview of Visual Studio 2010 and 4.0 features of C#, VB, WPF, the CLR and the DLR in a little over 90 minutes. Highlights included: VS2010: multi-monitor support Call Hierarchy visualizer “Navigate To” improvements “Consume-First Development” ......
Posted On Monday, September 28, 2009 8:40 PM | Comments (2)
Phil Japikse & Hope Mongers: Giving the Gift of Technology
I just finished listening to a great .NET Rocks interview with Phil Japikse, where he talked about his experiences working on Hope Mongers, a volunteer-run asp.net-based website that brings charity projects together with donators. “Chief Monger” Sam Henry says: Whether helping orphans on the other side of the planet or families just around the corner, so much authentic living, learning and feeling flows from the intense human connection that happens when you know you are changing someone’s life. ......
Posted On Sunday, September 27, 2009 5:14 PM | Comments (0)
Getting Serious About JavaScript
Like many ASP.NET developers, I’ve gotten by for years knowing just enough JavaScript to get by. I’ve spent many frustrating hours cursing the language, when the problem was not really JavaScript (although it has more than its share of weirdness), but my assumption that I knew how it worked, just because it looks like C#. Now, thanks in large part to jQuery, I actually enjoy client-side programming. jQuery makes things so much easier (replacing dozens of lines of code that I painstakingly figured ......
Posted On Monday, September 21, 2009 9:32 PM | Comments (0)
"Pimp My IDE": 101 Visual Studio tips, tricks, and add-ins
Here are the links from my May 12, 2008 presentation at the St. Louis C# User Group: 1. VS 2008 Product Comparison http://shrinkster.com/XH1 VS2008 2. Change startup options http://shrinkster.com/XYD VS2005 VS2008 3. Change home page http://shrinkster.com/XYD VS2005 VS2008 4. LINQPad http://shrinkster.com/XGZ VS2008 5. Importing/Exporting Settings http://shrinkster.com/XZJ VS2003 VS2005 VS2008 6. Consolas font on Windows XP http://shrinkster.com/XQ7 VS2003 VS2005 VS2008 7. Tab groups (code editor ......
Posted On Monday, May 12, 2008 2:40 PM | Comments (3)
System.Web.UI.Control "FindControl" method using Generics
I'm currently supporting an ASP.NET project that has a lot of code like this using the System.Web.UI.Control.FindC... method to get data from child controls - in this example, from DataListItems belonging to a DataList control: foreach (DataListItem item in employeeDataList.Items) { if (item.ItemType == ListItemType.Item || item.ItemType == ListItemType.AlternatingItem) { if (((HtmlInputCheckBox)item.F... { string positionId = ((Label)item.FindControl("P... ......
Posted On Tuesday, July 17, 2007 11:18 PM | Comments (0)
Free "Mini-Refactor!" From Developer Express
When a free download of Refactor!™ for ASP.NET 2.2 was announced in May by Developer Express, I bookmarked it for future reference because I wasn't working on an ASP project at the time. When I took another look, I realized that the download includes 19 C#/VB code refactorings that work in any project, ASP.NET or not. They work in Visual Studio 2003, VS2005, and "Orcas". Included are Refactor! versions (with much nicer user interfaces) of four of the seven built-in VS2005 C# refactorings: Rename ......
Posted On Wednesday, July 4, 2007 8:51 AM | Comments (0)
CoolCommands for Visual Studio 2005
Technorati tags: .net, freetools While gathering information about Visual Studio add-ins for a potential local user group presentation, I came across Gaston Milano's "CoolCommands". As far as I can tell, the latest version of the CoolCommands installer can be downloaded here:http://download.deklar... It adds a lot of useful tools to Visual Studio, but there's no help or "read-me" file documenting them, and I couldn't find a consolidated overview on Gaston's site, ......
Posted On Sunday, March 4, 2007 3:12 PM | Comments (6)
Heartland Developers Conference 2006
I'm back home (to St. Louis, home of the world champion Cardinals!) from the Heartland Developers Conference in Omaha. The presentations that were most valuable to me were: "Power Programming with Attributes" - Dave Donaldson "Looking Ahead at C# 3.0" - Andrew Troelsen "Great Library of Common ASP.NET 2.0 Functions and Techniques" - Robert Boedigheimer "Reliable Applications with System.Transactions" - Robert Hurlbut I met Robert Hurlbut on the walk from the hotel to the convention center, and he ......
Posted On Saturday, October 28, 2006 7:43 AM | Comments (1)
Polymorphic Podcast - Miguel Castro
Craig Shoemaker's Polymorphic Podcast has a nice two-part interview with fellow “geek with blog” Miguel Castro about “Architecting for Extensibility”. You can hear the interview here. If you're not familiar with Craig's podcast, check it out. It's a while between shows sometimes (hey, we can't expect everyone to be Carl Franklin), but they're always worthwhile. Craig is also co-author of a new book: Beginning Ajax With ASP.NET ......
Posted On Thursday, September 14, 2006 5:17 AM | Comments (0)
Tag Cloud