For those of you who are already comfortable with LINQ, you've probably run into this same limitation with the "Distinct" function... check out the article (and source), it's a fun way to solve a common problem: Extending LINQ - Specifying a Property in the Distinct Function
I love how pluggable ASP.NET MVC is... this last article was fun, and I'm half tempted to start coding in HoTMeaT!
Here's a snippet of the good stuff:
<ul>
<listView source="{ViewData People}">
<itemTemplate>
<li>{Binding LastName}, {Binding FirstName}</li>
</itemTemplate>
</listView>
</ul>
And here's the HTML that it generates:
<ul>
<li>Khouri, Timothy</li>
<li>Carter, Jonathan</li>
<li>Sheppard, Travis</li>
</ul>
It's been a little while since I've written an article. My excuses are a new job, and StackOverflow :)
I've been getting heavily into WPF lately, and it reminded me that I have been neglecting Silverlight on SingingEels... so here's the latest article: Silverlight DataBinding Basics
I normally don't do a "Part 2", but the first article seemed to cause some concerns to many people. The concerns aren't valid, which is why I felt in necessary to address them. The issues stemmed around RESTful URLs, comparing ModelBinders to the ViewState and accessing the database from a ModelBinder. Here's the article: Model Binders in ASP.NET MVC - Part 2
This passed Saturday, I had got to do a couple of sessions at the first anual South West Florida Code Camp on ASP.NET MVC... part of that presentation was about TDD, and unit tests with MVC in general. I've written this article (Test Driven Development with ASP.NET MVC) now for the rest of the world who wasn't their to hear my mediocre words!
Nothing major, but I'm looking for any input for or against (with specific reasoning would be great) this thought: A Change to the MVC "ActionSelectionAttribute"?
Thanks,
-Timothy
Article Teaser: Hot off the presses, and new to ASP.NET MVC (Preview 5) is an awesome capability that (in my opinion) revolutionizes the way we design web applications. This feature is being touted (by me) as "the ViewState for MVC".
Model Binders in ASP.NET MVC
On a side note: MVC is getting really exciting. I'll be speaking at the Naples, FL code camp in a couple of weeks on the subject (whic is currently my passion). Hopefully all will go well.
I know I've said this 100 times at this point, but I'm in love with MVC. If you've read other MVC articles, but you're not really feeling it, then I suggest (and hope) you check out this one: Logging with ASP.NET MVC Action Filters
Action Filters aren't complicated, but the power they provide is clear to see. To think that this is only "preview 4" (meaning, it's not even a beta yet) is pretty amazing. My hat is off to Phil Haack for this one.
Hey all developers out there who are getting into ASP.NET MVC (or have been using the MVC design pattern for a while). Just a couple of days ago, Stephen Walther posted on a topic near and dear to my heart regarding MVC and how to address the issue of getting supplemental data for a View while not violating the MVC design pattern.
I've posted a follow up to his post, and I'd like your opinion on it (if you feel strongly about the subject that is). I'm not looking for general comments (though always welcome), but more for ideas and opinions directly about the subject.
My reply post is here: How to Handle "Side Content" in ASP.NET MVC
Stephen's original post is here: ASP.NET MVC Tip #31 – Passing Data to Master Pages and User Controls
I commented on this topic a while ago in an article (ASP.NET MVC in the Real World), but I didn't go into it as much in depth as I just did in that blog post.
Thanks,
-Timothy
I'm very excited about this article, because I'm very excited about ASP.NET MVC... At first, it didn't make sense to me, I didn't like it and I thought it strange that Microsoft was going this route. Now, I don't see myself going back :)
Here's the 'teaser text' for the article:
"Most .NET web developers have built at least one custom control (or user control) in their time. But MVC is a completely different beast. There's no ViewState, Page Life-Cycle, no code behind (not the way you think of it). In this article, we'll see how to create 'custom controls' in ASP.NET MVC."
Tell me what you think: Building Custom ASP.NET MVC Controls
More Posts
Next page »