This edition of the DevDays was totally in the light of XAML, WPF (Windows Presentation Foundation), WCP (Windows Communication Foundation) and last but not least: Silverlight. The last few editions where always about new technology, this year Microsoft tried to listen to the community.  With the result that they also put in some sessions on todays technology and how to make good use of it. Think AJAX, Asynchronous ASP.Net Pages and Web Services.

In the Keynote we saw Scott Guthrie who showed us Silverlight and Microsoft Expression.
We saw an application called: 'Top Banana', which is a video editing application in the browser. It is impressive technology, I know we already have Flash, but Silverlight integrates the .NET framework and supports ASP.NET AJAX. I don't know if you ever worked with Flash and .NET (through remoting and actionscript), than I think you can appreciate this integration.

I saw a lot of WPF and WCF. I see the advantages a lot can be daone declarative through XAML.
In WPF the UI (User Interface) can be made in XAML and a lot can be nested (a button can contain a movie, or a listbox etc.). Your own objects can be accessed in XAML if you addd your own namespace in the root element of the XAML Document:
xmlns:u="clr-namespace:NAMESPACE"
If you want to try you can use 'Visual Studio ORCAS', which in the future will be 'Visual studio 2008', but if you want to use a more 'drag and drop' approach building a UI, use 'Blend'. If you really want to know more go here: http://wpf.netfx3.com/. Animations are supported in XAML, this means declaritive animations! Databinding support, WPF supports databinding.


XBAP
I heard about XAML Browser Applications(XBAPs), are WPF applications you can run in the browser, these apps are deployed using the 'Click once' deployment technique.
The advantages are:

  • Are not installed  
     – No Start Menu or Add/Remove Programs presence  
     – Use ClickOnce for deployment  
  • Run in the browser  
     – Familiarity of web browsing  
  • Are “online only” apps  
     – Require access to the  
     deployment location  
     – Always latest version  
  • Run in a security sandbox  
     – Have no security or installation prompt  


These Devdays, I became a great fan of Mark miller, he works with Devexpress and I think Coderush is an app he worked on.
He is a great performer with something to tell, this guy keeps your interest the whole session. The first day I attended his 'Rockin' & Rollin' with WCF and WPF' session, he built an Airhockey client-server App with WPF and WCF. He showed a lot about how this app is built and he also entertained the audience real well. The second day the last session I attended was Mark Miller's 'The Science of a Great UI' session. He really had a big audience, a lot of people wanted to see this session. Unless the blue screen of death it was a interesting and entertaining session.
I had a great time.


Henry Cordes
My thoughts exactly...


Developer Days 2007

Published 5/27/2007 by Henry

Developer days 2007 banner

DevDays

are 13 & 14 june in Amsterdam again, I must say I am looking forward to this event.
This year I will attend with my co-workers and I'm looking forward to the session on WCF (Windows Communication Foundation) en WPF (Windows Presentation Foundation). I have not played around with as much as I wanted to.
Ofcourse I am interested in AJAX developments, LINQ and what is new in .NET Framework 3.0 (ORCA)?


Henry Cordes
My thoughts exactly...

Wallpaper: C# Programmers do it better

Published 4/6/2007 by Henry in C# | Fun
Tags: ,

Today I had a creative urge, so I made a wallpaper with the subject C#.
This is the wallpaper:

pdb_small.jpg
Programmers(C#)

Feel free to take and use.


Henry Cordes
My thoughts exactly...

 


Visual Studio 2005 Web Application Project
While doing a migration from .Net 1.1 to .Net 2.0 for an ASP.NET application i stumbled on the problem of the difference between the 1.1 Web Projects (.csproj) model and the 2.0 'folder' model.
When you have a big solution with multiple projects, sometimes you only want to reference the projects or dll's directly.
In 2.0 everything inside the root folder (except the files with the extension '.exclude') is part of the project. Referenced projects result in dll's in the bin folder.
So the referenced dll's inside the application's bin folder will be placed in SourceSafe, which is not the behaviour we want, because we only want the source to be 'safe'. The bin folder was never included in the files to be placed into Soursesafe's database in my opinion.

To the rescue came the VS 2005 Web application Project. It seems the people at Microsoft also stumbled on the  same problem and this 'new' project type uses the same conceptual web project approach as VS 2003 (a project file based structure where all code in the project is compiled into a single assembly) but with all the new features of VS 2005 (refactoring, class diagrams, test development, generics, etc).
I think the possibility to use everything inside the root folder is oke for some projects, but not for all. So in my opinion the 2003 should be default and the one folder type optional.
You can downoad the msi here.
Tutorials on how to use this project can be found here (Scott Guthrie).

Visual Studio 2005 Web Deployment Projects
Now when we want to make an installer to install a Web Application the Websetup project is provided, but if we want to use the new pre-compiled dll structure we cannot directly include this in our solution.
First we must 'Publish' the application (website) and link the output to our Websetup project.
For this problem Microsoft already provides another 'new' ProjectType the Web Deployment Project.

From a Web application we can make a Deployment project for this Web application, and set a lot of extra properties (like using pre-compiled dll's) make one or more assemblies, etc.
It is nothing more than an XML file and we can directly change and tune it. If you need more indepth information visit Scott Guthrie's blog.


Henry Cordes
My thoughts exactly...


Validation Application Block

Published 11/29/2006 by Henry in EntLib
Tags:

As I am a subscriber to the Patterns and Practices newsletter, it came to my attention that the Enterprise library will be extended with a new Application Block:
The Validation Application Block.

the first thing that sprung into mind was that the Enterprise Library is growing more and more to an adult stage in it's life, when the team has time to make a validation App Block, the rest of the Library must be performing pretty good!
Not that I think Validation isn't important, but I figure there are other aspects of Enterprise Development that need attention before you think about Validation.

Still I immediately see the pro's. I remember an interview with architects from a very technical company (robot steering), about 6 months ago. They boasted about the classes they made to make their apps connect to SQL Server as well as to Oracle. When I mentioned the Enterprise Library, where one of the first features was just that.
I mean, why invent the wheel, when there is the Enterprise Library?

The point I am trying to make is, "Guys there is going to be a Validation Application block in EntLib!".

The possibilities are, to define validation rules through .config XML files (configuration files), that can be edited etc. through the Enterprise library Configuration Console.
And you can do the defining of the validation rules in code, which ofcourse automatically provides encapsulation and the certainty the rules are not going to change unless there is a code change (or a new release).
In Tom Hollanders blog everything is revealed


Henry Cordes
My thoughts exactly...