Screencast: A ‘Hello World’ Example of .NET Reflection in Action

As part of my presentation at the October 2009 London .NET User Group event on .NET Attributes and Reflection (see: ) i did a walkthrough on how to use .NET reflection.

This demonstration walks you through the source code of creating a late-bound instance of a class from an assembly that was instantiated using reflection methods.  Once we have the instance of the class created we use reflection again to call one of its methods.

Click this link to view the screencast recording from the presentation:

I do not yet have the source code available to download because doesn’t allow me to post a .zip file.  Once I find another location to post it, I will share the link.  In the meantime feel free to contact me for it.



Screencast: Redgate .NET Reflector Demo From My Last Presentation

In a follow up to my last post, I talked about Redgate’s .NET Reflector during my presentation at the London .NET User Group event last week (see: )

I recorded the entire presentation using Camtasia Studio, but here is just a snippet from the presentation. A small piece about Redgate .NET Reflector and a little demo on how to use it and how it works.

Check out the screencast here:

The volume is a little low at the beginning because I was using my laptop mic as the audio input and I had walked away from the laptop while presenting the slide.  Once I got into the demo, I was right at my laptop so the audio quality is much better.


My Talk Titled, “.NET Attributes and Reflection – what a developer needs to know……”

On October 19, 2009, the first official meeting of the London .NET User Group met at Fanshawe College.  There were at least 45 people attending!  Great job Tony

Including my presentation, we also had a presentation on ASP.NET MVC and the featured presentation by Rob Labbe from Microsoft (security consultant from the ACE team) on Web Threats and how to Mitigate them.  Rob is a fantastic speaker and really captivated the audience. 

My presentation ran about 22 minutes including a couple of Q and A’s.  Here’s the link to the PowerPoint as well as the source code I used for the live example of .NET reflection in action.

Here are the live recordings (screencasts) of the 2 demos I did during the presentation:

Using .NET Reflection In Code Demo

Redgate .NET Reflector Demo

Here’s a link to the write up of the event on the user group home page.  It includes a few pictures as well.

Hmm – well I was about to upload the .zip file for the source code of the reflection example I walked through as part of the presentation, but unfortunately doesn’t allow me to upload zip files.  :(  I’ll try and figure out an alternative place to upload them.  If anyone wants them in the meantime just let me know and I’’ll arrange to send the samples to you.

Also, as of today I’ve joined the Executive Committee for the London .NET User Group.  I’m looking forward to it!

How to use the PropertyGrid control in Visual Studio.NET: Webcast

A little while ago I was thinking about how useful it would be to add a Property Grid to an application, so I started researching how you could do it. I was pleasantly surprised when I found the PropertyGrid .NET control from Microsoft. It may not be in your Windows Forms Toolbox by default, but you can add it to your toolbox pretty easily.

Basically you bind the control to an instance of a class and basically the Property Grid UI element will display the public properties in the grid. The really nice thing about this is that it will look at your data types and implement the right type of input box. For example, if the data type of one of your properties is ‘Color’ then the input for that property on the property grid will be the drop down color selector. Because the PropertyGrid control is directly bound to a class, your class can still contain any business logic that you wish in the class. There are custom attributes you can provide to specify the category for properties and description, etc.

Check out the webcast I created.  It will give you a quick overview of how to use the control and implement it in an application. 

I’m pleased that I was able to improve the audio quality for this webcast over my previous webcast I created with Camtasia Studio.  From a personal and professional development perspective, it’s really helping me focus on what it takes to effectively deliver training material to an audience.

Here’s the link.  I welcome any feedback:

It’s about 6 minutes long…

OneNote 2007 Introduction, The Webcast….

Finally, I’ve had a few hours to finish my webcast on OneNote 2007. It’s meant to be an introduction to the application and give the audience a feel for how it’s used and what it can be used for. I created a demo personal introduction video, created with Camtasia Studio, last month, but decided to go against the introduction video in the final version as I didn’t feel it added a tremendous value in this particular project. However, it was a solid personal exercise for me to speak on film and I got some great feedback. (Plus, I need to get a serious hair cut, and so I shouldn’t appear on any sort of moving film right now (that’s *supposed* to be humour) – I would have had to re-film….)

Although I have done several live webcasts in the past, this is my first dabble at an offline webcast and my first dabble with Camtasia Studio….

I welcome any comments, questions, or constructive criticism.