Earlier this week I participate in the Ask The Expert booth with other Montreal MVPs at the Heroes happen here Microsoft show.

I was a bit ill but that was pretty fun and I got lots of questions on:

  • Visual Studio 2008
  • Expression
  • Silverlight
  • LINQ
  • AJAX

And I learnt about the poor support of classic ASP in VS2008 and Expression…

Montreal’s crew:

Bertrand, me, Etienne Tremblay and Mario Cardinal

Thanks to Guy Barrette and Jean-Luc David for the pictures. 

This month I was a guest at the Visual Studio Talk Show, a well known french .NET podcast here in Quebec.

We talked (in french…) about all the announcements (mainly IE8 and Silverlight) made at MIX this year, so in case you need a recap of this show…

Les nouveautés de la conférence MIX 2008:

Technorati Tags: ,,

Here are the slides and demos of both of my french sessions: “Expression softwares” and “Silverlight”.
Expression session was live only demos, but you’ll find the samples I used for Silverlight :
– Expression Encoder output
– ASP.NET Future Control
– Web Service
– OpenFileDialog
– Isolated Storage
Note that you need VS2008 beta 2 and Microsoft Silverlight Alpha Tools for Visual Studio 2008 Beta

Download the file:

Thanks to all attendees!

Code Camp Montreal

The second Code Camp Montreal is very soon!!!

–> www.codecampmontreal.com

What you need to know :

  • it is Saturday October 27th in Montreal
  • it is free!
  • it will be great!!

A whole day with 17 sessions in 4 rooms.
You can have a look at the sessions list and the speakers list.
Note that registration is free but mandatory, be quick!

I will present 2 sessions (in french):

  • Introduction à la suite de produits Expression
  • Introduction à Silverlight

See you there !

My talk on Silverlight

Visual Studio Talk Show

I was quiet on the blog this summer, nice vacations and… professional change as I now run my own business as a freelance in .NET technologies (Montreal area, Qc, Canada).

Also late this summer I did a podcast on Silverlight. Unfortunately for most of my readers… it is in french (my mother tongue) you can download it there :

And for the last news I’ll be a speaker at CodeCamp Montréal in october to show… Silverlight!

Silverlight presentation material


Recently I was looking for Silverlight powerpoint to download in order to give a presentation in my company. Here are some nice content I found :


Scott Guthrie (obviously) did some talks during the year and is kind enough to share his slides :




Tim Sneath provides 2 great presentations, one for Silverlight 1.0 and the other for Silverlight 1.1 :


Well done!

I am currently teaching an ASP.NET 2.0 course in Quebec city. I like it because each time I give a training I learn something (and so do my trainees I hope…). This time I learnt something new about the ViewState.

When ViewState in your page become very large it can be a problem as some firewalls and proxies will prevent access to pages containing such huge ViewState sizes. For this purpose ASP.NET 2.0 introduces the ViewState Chunking mechanism. But the first thing I would say is if your ViewState is that big ask yourself why, and the way to optimize (maybe disabling?) it.

So ASP.NET 2.0 enables to split the ViewState's single hidden field into several using the MaxPageStateFieldLength property in the web.config section. This indicates the maximum bytes size allowed for one viewstate hidden field. If the real size exceeds the value then viewstate is splitted in multiple fields. By default, the attribute is set to -1 which means that no maximum size is defined.

Sample ViewState before: 
<input type=“hidden” name=“__VIEWSTATE” id=“__VIEWSTATE”

Then set in web.config:
<pages maxPageStateFieldLength=“40”>

Sample ViewState After :
<input type=“hidden” name=“__VIEWSTATEFIELDCOUNT” id=“__VIEWSTATEFIELDCOUNT”
value=“3” />
<input type=“hidden” name=“__VIEWSTATE”
id=“__VIEWSTATE” value=“/wEPDwUKLTk2Njk3OTQxNg9kFgICAw9kFgICCQ88” />
<input type=“hidden” name=“__VIEWSTATE1”
id=“__VIEWSTATE1” value=“KwANAGQYAQUJR3JpZFZpZXcxD2dk4sjERFfnDXV/” />
<input type=“hidden” name=“__VIEWSTATE2”
id=“__VIEWSTATE2” value=“hMFGAL10HQUnZbk=” />

Please note THIS IS NOT a way to optimize ViewState size!! This is a way to fix a possible technical problem with huge ViewState size and firewall.