What follows is a brief summary of the sessions that I attended at the 2nd overall day of DevWeek (the first day of actual sessions). Reviews of the other days of DevWeek can be seen here:
- Day 1 - Pre-Conference Workshops
- Day 2 - Conference Sessions
- Day 3 - Conference Sessions
- Day 4 - Conference Sessions
- Day 5 - Post-Conference Workshops
First Morning Session at DevWeek Day 2
Topic: Technical Keynote – Windows 8 for application developers
Thoughts: For a lot of reasons, I have not been in a position to play with either Windows 8 or Visual Studio 11. I have both of the Developer previews downloaded but I haven’t installed them. As a result, it was great to see both of these items being used in anger, and Mike Taulty provided a very good overview of how the twos things can be used together.
There were a couple of times when the demonstration didn’t go quite the way that I think Mike wanted it to, but if this in any way flustered him, it wasn’t obvious. The problems that did crop up were nothing major and to be expected with running a Consumer Technical Preview on a prototype device.
A couple interesting links that came out of the session:
Second Morning Session at DevWeek Day 2
**Topic: **ASP.NET MVC: Programming for the real world
You cannot realistically write an ASP.NET MVC controller class without making extensive use of action filters. In ASP.NET MVC, an action filter affects the way in which controller methods execute. An action filter can be used to trap exceptions, authorise access, cache output, and validate requests. This is only the first stage of flexibility, however. In this session, we’ll first see how to create custom filters to perform a variety of custom tasks including compressing the response, adapting to the browser, filling up view dependencies. Up to here, however, filters are only attached to methods statically. The next step consists of defining an infrastructure for you to load filters dynamically thus gaining the ability to toggle certain behaviour on or off on the fly.
**Thoughts: **Having read the description for this session, I was very much looking forward to it. I have never seen a presentation from Dino before, but it has to be said that he is a very good presenter! He is obviously very passionate about the topic, and you can’t help but get swept up in his enthusiasm!
The main topic of this presentation was the use of Action Filters, and how these can be used to make your code more readable (the main point that Dino was trying to push throughout the session).
It was very interesting to see how an Action Filter can be used to intercept:
- The start of the request
- The end of the request
- The start of the response
- The end of the response
and how code could be applied at any of these points. One of the examples that was shown was the inclusion of logging to record how long the request took to execute. Very interesting.
Dino then went on to show how the necessary Action Filter Attributes out of the code file into the configuration file, and then injected into the code. The only problem that I had with this is that it potentially made the code “less” readable. Without looking at the configuration file, in conjunction with the source code, there was no way to see which Action Filters were being applied where.
First Afternoon Session at DevWeek Day 2
Topic: ASP.NET and Visual Studio 11
Thoughts: As mentioned above, I haven’t played with Visual Studio 11, so I was very interested to see the changes that were coming in it. The fact that the session was going to be focused on ASP.NET was a bit of a bonus!
Bottom line, ignoring all the arguments about the colour and icons and whether this is good or bad, the new Visual Studio has some very interesting features! Some of the stand out items for me included:
- Image Thumbnails in the Solution Explorer – very cool!
- The new Preview Tab which brings up the file with a single click in the Solution Explorer
- Matching tag renaming in the Source Editor
- Attribute Code Intellisense
- New Page Inspector which combines F12 Developer Tools type functionality directly in Visual Studio
- Support for HTML 5 Types from the TextBox Server Control
Overall, I really enjoyed this session, not least because Robert is a very good speaker, there are a lot of great features going in this next release of Visual Studio and I am very much looking forward to starting to use it. The fact that you can “round trip” projects between Visual Studio 11 and Visual Studio 2010 (assuming you don’t use any new features in .NET 4.5) will make the transition to this use IDE much easier!
Second Afternoon Session at DevWeek Day 2
Topic: A .NET developer’s guide to WinRT
Thoughts: Having listened to Mike Taulty’s keynote speech around Metro and WinRT, I was hoping to get some more information regarding the innards of developing with it in this session, and I wasn’t disappointed. Dave did a great job of cutting through some the marketing regarding Metro and WinRT and basically told it how it is. This is not to say that he slated Metro or WinRT in any way, that certainly wasn’t the case, but rather, simply told it how it is.
He made is clear that much like it was with Silverlight Development, certain things will not be available when doing Metro Development. This is due to the new .Net Core Profile. For instance, although you will be able to use LINQ to Objects, there is no LINQ to SQL, or LINQ to Entities. This is mainly due to the fact that there is no support for ADO.NET in WinRT.
As with the other talks today, this one was also very good, and it ended a very enjoyable first day of sessions at DevWeek.comments powered by Disqus