asp.net mvc refresh

2009 January 31
by ericdotnet

First time I heard this term for a software update, I guess they didn’t want to call it Asp.net MVC RC1.01 or something similar ;) . The team has decided to roll back the change to the html.actionlink helper, that created relative urls. It now behaves like it did in beta.

Full details on haaaack’s blog:
http://haacked.com/archive/2009/01/30/aspnetmvc-refresh.aspx

Windows Developer Tools

2009 January 30
by ericdotnet

There is a very extended list of development tools over at
http://www.windevpowertools.com/default.aspx.

Most of these are opensource, it seems !

Thanks to a tweet by eric nelson

Htmlhelpers Css Classes – asp.net mvc

2009 January 29
by ericdotnet

This one had me scratching my head today. The jquery form validation uses the css classes to do it’s magic, so I wanted to add a class to a textbox, like this:


<%= Html.TextBox("Password", "", new {type = "password", maxlength="8", class="required"}) %>
 

This throws a compile error as class is a protected word !

The trick is to put an AT (@) sign in front of class !

<%= Html.TextBox("Password", "", new {type = "password", maxlength="8", @class="required"}) %>

Thanks to this blogpost for the answer:
http://blog.veggerby.dk/2008/11/19/aspnet-mvc-htmlhelper-methods-and-css-class/

Asp.net MVC RC1

2009 January 28
by ericdotnet

Started a new project last week at work and we’re using asp.net MVC for this. So I was pretty happy this morning to see the RC1 release :) . Better break stuff now than later on when it’s a lot further on it’s way. It seems the team also focused on making visual studio even better to use with mvc, adding a lot of stuff to make navigation between views and controllers easier etc..

Another big change is that you views no longer need code behind ! TBH this was just a useless file, only used to declare the model you were using for the view. Very good decision. Luckily it’s backwards compatible so I don’t have to change everything I made so far.

One of the things I really like about MVC is how easy it is to incorporate jQuery and ajax stuff into your web pages. It’s so much nicer than the old asp.net way of doing things !

Learning Python

2008 March 27
tags:
by ericdotnet

Found a great site to learn more about Python. It’s actually a book that you can read online or download in various formats.

Dive into pythonhttp://www.diveintopython.org/

MVC + AJAX in Asp.net

2008 March 3
by ericdotnet

Lately I have been trying out the new MVC framework extension and was already wondering how to work Ajax into the picture. I found these blog posts that are helpful.

Asp.net MVC

2008 February 27
tags: ,
by ericdotnet

Lately I have been checking this out. It’s a very interesting technique. Here are some links that help ;) .

.net 3.5

2008 February 14
tags: ,
by ericdotnet

A bit late but I found an interesting article over at dotnetslackers: a first look at 3.5 for asp.net. It’s a very interesting site anyway, with lots of info, wonder why i never stumbled upon it before.

http://dotnetslackers.com/

BTW SP1 for .net framework 3.5 is now available, you can check the changes in this knowledgebase article.

Asp.net Wiki

2008 February 14
tags:
by ericdotnet

Found out through Scott Hanselman’s Blog that there is now a wiki for asp.net ! Hopefully that will bring together a lot of info that is now scattered around the Net !

http://wiki.asp.net/

VS 2008 and .net 3.5 Released

2007 November 20
by ericdotnet

For those lucky enough to have an MSDN subscription, you can now download Visual Studio 2008 from the Microsoft MSDN site.

Scott Gu’s Blog

I am already playing around with LINQ and asp.net’s new Listview and it’s very nice. Seems to be a lot ’snappier’ than VS2005.