T4MVC: Strong Typing vs Magic Strings(yobriefcase.posterous.com)

submitted by kouphaxkouphax(345) 1 year, 7 months ago

Magic strings are everywhere in ASP.NET MVC 2. Less so than in version 1 and some of the Beta and RC releases but there are still some kicking around. The problem with literals is that they don’t give you any compile time error checking or refactoring ability.

add a comment |category: |Views: 136

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story