# Monday, June 01, 2009

I recently read the book ASP.NET MVC Quickly from Maarten Balliauw, published by PACKT Publishing. It’s been one of those few books that I read from cover to cover. Not only because the subject interested me but also because it shows in about 190+ pages an introduction to this new technology from Microsoft. It was clear that the person who wrote it knows quite a lot about the subject and that shows in the book. I really appreciated Appendix A and C where Maarten discusses a sample application he created: CarTrackr.

aspnetmvcquickly

 

Chapters 1 & 2 provide some quick introductions as to how the architecture looks like and why you would use it over normal ASP.NET webforms. Provided is a “litmus” test to see whether to go for MVC or Webforms and discusses the advantages of both. Chapter 2 explains what’s in the box when you create a new ASP.NET MVC application with Visual Studio. Also a first small application’s being built with ViewData and strong typed ViewData.

Chapter 3 introduces you to a simple application, shows how to deal with fileuploads in MVC, simple validation and the creation of a custom ModelBinder attribute.

Chapter 4 covers the ASP.NET MVC request life cycle. Yes there’s a life cycle but not similar to the ASP.NET Page Life Cycle most people got to know during the last years. After that it proceeds with a more in depth look at the model and validation on such a model. After that an in depth look at controllers, actionresult types and how to handle unknown controller actions. Master pages and Partial views (.ascx) are covered. Those last are only briefly touched and I found that a bit of a pity as these are important concepts. Especially the lack of nester master pages in this story was something I missed.

Chapter 5 is totally dedicated to routing. A very important concept in the whole ASP.NET MVC technology stack (and ASP.NET Dynamic Data and also possible to use with normal webforms). Also a quick explanation on how to integrate both ASP.NET and ASP.NET MVC together in the same project routing wise.

Chapter 6 shows you an overview on how to customize the framework and to even build a small custom viewengine. Also the making of a custom ActionFilter gets discussed.

Chapter 7 shows how to use the standard membership, session state, … that we all know from webforms in ASP.NET MVC. After all, it’s built on top of normal ASP.NET so they can share a great deal of the standard technology. Also is shown how to integrate both technology stacks in the same project. This can be interesting food for thought when people want to gradually upgrade to MVC. Also a nice trick to build views at compile time. Slowing the process down but can safe time in finding out the hard way that you forgot a ) or something and the whole thing explodes in your face.

The next chapter tells us more about AJAX. I had hoped to see this chapter to be longer but it just gives a quick overview. The fact that both ASP.NET AJAX and jQuery (even some of the ui components) are discussed is a plus. I’m a big fan of the latter myself.

Then chapter 9’s all about testing. Also mocking’s discussed. Since ASP.NET MVC is also considered to be way better than webforms to be tested (TDD and such) this is an interesting chapter.

The last chapter is all about deployment; A lot of resources seem to be forgetting about this but I liked the fact that this book covers it. Also on older versions of IIS than 7.

As already stated above, I liked appendix A and C. They cover an application built with the technology which is downloadable on codeplex. Appendix C provides an overview of very interesting resources about the topic.

Conclusion: it’s a nice book that quickly gets a developer into the terms of ASP.NET MVC, covers quite a lot of ground and touches the interesting parts of the technology. Some parts I would’ve loved to see a bit deepened out, especially the parts about the master pages and partial views as well ajax. On the other hand I read it from cover to cover and that certainly means something.

Grz, Kris.

Monday, June 01, 2009 9:06:19 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, May 18, 2009

Just noticed that Visual studio 2010 and .NET framework 4.0 Beta 1 shipped. This is great news as that means that people can download it and play around with but. More important though is that people can also provide feedback to Microsoft and make sure that unnoticed things might get kicked out before going RTW.

Also check out the Product information page.

Grz, Kris.

Monday, May 18, 2009 7:29:49 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
# Thursday, May 14, 2009

Just saw on Twitter that there’s a new version of the ASP.NET AJAX Control toolkit available on codeplex. There are 3 new controls available:

  • HTMLEditor: The HTMLEditor control allows you to easily create and edit HTML content. You can edit in design mode, as a rich text editor, or in source view to edit the HTML markup directly. HTMLEditor demonstration.
  • ComboBox: The ComboBox control provides a DropDownList of items, combined with TextBox. Different modes determine the interplay between the text entry and the list of items. ComboBox demonstration.
  • ColorPicker: The ColorPicker Control Extender can be attached to any ASP.NET TextBox control. It provides client-side color-picking functionality with UI in a popup control. ColorPicker demonstration.

Be sure to also check out the new videos dedicated for these controls and their new tutorials.

There’s also now a new tutorial available on Creating a Custom AJAX Control Toolkit Control Extender. Be sure to check it out.

Grz, Kris.

Thursday, May 14, 2009 8:13:35 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, April 28, 2009

Just read on twitter that Glimmer got out today.

Taken from the release announcement:

Glimmer: a jQuery Interactive Design Tool is a prototype from the Mix Online Labs which makes jQuery accessible through a visual tool. The objective for Glimmer is pretty simple: to enable the power of jQuery through an interactive design surface. If jQuery is the "write less, do more” JavaScript library, then Glimmer is the “write none, do more” jQuery design tool. Glimmer has three core audiences: power users, designers and developers.

Get Microsoft Silverlight

This is a video overview of the features.

The team behind it had extensibility in mind so it’s possible to create custom wizards yourself. There are samples available and another great thing: the source code’s going to be available on codeplex! According to the video it’s already there but when I did a quick search I didn’t get a result yet.

Update: perhaps the video was wrong as when I downloaded the bits I noticed that there was also a download link to the source on code.msdn.microsoft.com.

I just downloaded and installed it and gave it a test spin. It looks pretty good. I hope to give a more deep dive testing next weekend.

Grz, Kris.

Glimmer | jQuery | MIX | Tools
Tuesday, April 28, 2009 8:15:34 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, April 17, 2009

Last year it was only a half day but apparently this year it’s going to be a full blown day of content by several of Belgian user groups. Keep June 25th reserved for this day.

Read more about it here as long as the new site’s not up and running: http://www.communityday.be/CD/.

Grz, Kris.

Friday, April 17, 2009 9:55:48 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, April 15, 2009

Grab your copy here.

illustratedcsharp

Grz, Kris.

Books | Downloads | Free
Wednesday, April 15, 2009 1:36:28 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [2]  | 
# Sunday, April 12, 2009

Taken from the download site:

SQL Server 2008 Service Pack 1 (SP1) is now available. You can use these packages to upgrade any SQL Server 2008 edition.
Note:We remain committed to our plans to keep service packs contained, focusing on essential updates only, primarily a Roll-up of Cumulative Update 1 to 3, Quick Fix Engineering (QFE) updates, as well as fixes to issues reported through the SQL Server community. While keeping product changes contained, we have made significant investments to ease deployment and management of Service Packs:

  • Slipstream – You are now able to integrate the base installation with service packs (or Hotfixes) and install in a single step.
  • Service Pack Uninstall – You are now able to uninstall only the Service Pack (without removing the whole instance)
  • Report Builder 2.0 Click Once capability

Download it here.

Grz, Kris.

Sunday, April 12, 2009 7:05:17 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, April 04, 2009

Wow, it seems I’ve been busy lately. First becoming an ASP Insider, then got my MVP renewed and today I breached as the first person ever the mythical barrier of 100.000 recognition points on the ASP.NET forums.

Capture

Grz, Kris.

Saturday, April 04, 2009 3:02:37 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [4]  | 
# Wednesday, April 01, 2009

Got the mail today with the great news that I’m renewed as an MVP for the year 2009. I must say, a week after hearing that I became an ASP Insider this is also very good news. I also got the news that my colleague Marc Gregoire, one of the 3 colleagues I went to the MVP summit with, also got renewed. So also my congratulations go to him.

Grz, Kris.

Wednesday, April 01, 2009 4:45:20 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [2]  | 
# Tuesday, March 31, 2009

I got the message from Microsoft that I’ve been added to the ASP Insiders crew. This is a great reward from Microsoft towards certain people. Like Scott Guthrie described it:

The ASPInsiders team spends countless hours answering questions and giving guidance to other ASP.NET developers, as well as providing feedback and direction on new features for future ASP.NET releases. Their work and contributions are invaluable.

I’m very excited and honored by having this reward as it shows the recognition from Microsoft towards my continuous support towards members on the ASP.NET forums. The benefit for members are that I’m in more direct contact with the ASP.NET team itself being able to provide feedback and make suggestions about things I noticed either as a question on the forums or from personal experience. This can result in having Microsoft to create even better products for their customers.

ASPInsider-LOGO(5_2X2)

Grz, Kris.

Tuesday, March 31, 2009 12:06:57 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [6]  |