Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Your profile
Tag cloud
.net .net framework 4.0 ajax asp.net asp.net mvc azure book browser bug c# chrome cloud computing firefox gbrowser google ie8 iis internet explorer internet explorer 8 jquery lessthandot mvc oop ria silverlight silverlight 3 sql server 2008 video visual studio xaml
Authors
Main Categories
Search
Google Ads
Tags: c#
In my previous post (not so long ago). I talked about the Actionlink and it not being very refactor friendly because of all the magic strings in it.
But there was a strongly typed version out there somewhere that didn't work all the time but I couldn't find it at that time.
Well it is hiding here and you can dowload it by clicking on the ASP.NET MVC v1.0 Futures link.
...I installed the brandnew (nearly anyway) release version of ASP.Net MVC v1.0. I don't think that will cahnge much for my previous examples since the code all still works. Apart from having to reset the references that is.
So in my previous example I removed some of the magic strings. But it seems that some other magic strings are here to stay for a while at least.
And this is it.
I worked a little further on my first ASP.Net spike code. I wanted to have a Person that comes frome a repo to show on the screen with less magic string. First I read a bit in this. But I get bored pretty quickly with reading things so I got back to experimenting. This is the result.
First I create my trusted Person Class.
Let me start by saying that I'm not a webdeveloper I do most of my work in Winforms. I personaly think webdevelopment is a bit frustrating. The way you have to test for x number of browsers just to find out there is another browser ou there you never heard f and that doesn't render your site like it should. But anyway. I had a stab at ASP.Net MVC just to see how they implement MVC (Model-View-Controller).
I must add at this point that I had previous experience with JSF and I kinda liked ...
The DotNetSlackers site has a nice series of articles about design patterns. The articles were written by Granville Barnett and are a very good read. Here is what is in the first four articles.
Design Patterns – Part 1
Learn how to design more robust and maintainable code by incorporating design patterns into your software projects.
1 Introduction
2 The strategy pattern
3 Implementing our design
4 Summary


LTD Social Sitings
Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.