Guy Barrette, Microsoft, Regional Director, Montreal, Canada, Visual Studio, .NET Expertise Guy Barrette

Guy Barrette

Microsoft Regional Director, Montreal, Canada
Canucks at PDC
A Facebook group was created to help Canadians meet, exchange and connect at PDC 2008.

www.CanucksAtPDC.com

Posted: Oct 09 2008, 07:25 PM by guybarrette | with no comments
Filed under:
The breakpoint will not currently be hit

I was hit with the dreadful "The breakpoint will not currently be hit" problem this week.  Searching the Web, looks like it is a common problem both with VS 2005 and 2008 however, it was the first time I experienced it.

The symptom
You have a solution with a client project and a Web or WCF project.  You place breakpoints in both projects so you can step thru the code on both side.  You break in your client code but you can’t jump in the Web/WCF code.  When you look at the Web/WCF breakpoint while debugging, the red dot displays an exclamation mark and this message: "The breakpoint will not currently be hit".

 BreakpointWillNotCurrentlyBeHit.jpg

The solution
Looks like there are many solutions to the problem.  Here’s what I did:

  • Checked that VS was not in release mode.  Nope, I was in debug mode.
  • Deleted the \bin\debug folders.  No good.
  • Deleted both the \bin\debug and \obj folders.  No good.
  • Deleted all source code and retrieved everything from source control.  No good.
    Out of three developers, I was the only one with the problem so I checked if my VS debugging settings were changed.  Nope, we all had the same settings.
  • Tried to reset my settings anyway with devenv /resetsettings.  No good.
  • Started a new solution with a simple WCF project and a Console app client.  No good, same problem so it's really VS, not the code.
  • Tried a VS repair.  No good.
  • Uninstalled and reinstalled VS completely.  Bingo, it worked!

The problem
I have absolutely no clue.  Anyone has an idea on why this problem happens?

Posted: Oct 08 2008, 12:33 PM by guybarrette | with no comments
Filed under:
ADO.NET Data Services - Resources
I presented an ADO.NET Data Services overview at the Montreal .NET Community this week.  You can download my PowerPoint presentation here:
http://www.dotnetmontreal.com/dnn/LinkClick.aspx?fileticket=tK%2fmGnVF8%2bs%3d&tabid=73&mid=411&language=fr-CA

Here are a few good resources to get you started:

Team blog
http://blogs.msdn.com/astoriateam/

Overview
http://msdn.microsoft.com/en-us/library/cc956153.aspx

Using
http://msdn.microsoft.com/en-us/library/cc907912.aspx

How to videos
http://msdn.microsoft.com/en-us/data/cc300162.aspx

Posted: Oct 08 2008, 07:15 AM by guybarrette | with no comments
Filed under:
Communauté .NET Montréal Next Meeting: ASP.NET Dynamic Data and ADO.NET Data Services

www.dotnetmontreal.com

Date: Lundi 6 octobre, 18h15
Sujets: ASP.NET Dynamic Data et ADO.NET Data Services
Conférenciers: Éric Moreau et Guy Barrette

Le SP1 du Framework .NET 3.5 nous apporte un lot de nouvelles technologies.  Parmi celles-ci, on retrouve ASP.NET Dynamic Data qui permet aux développeurs de livrer des applications Web centrées sur les données de façon très rapide et ce, sans écrire de code.  Parfait pour les pages de style gestion de données pour alimenter un site.  ADO.NET Data Services offre quand à lui des services permettant d’exposer et de manipuler les données sur le Web via REST.  Parfait pour alimenter en données des applications AJAX ou de style RIA.

Posted: Oct 05 2008, 01:03 PM by guybarrette | with no comments
Filed under:
Mario Cardinal on ARCast.TV: Layer Module Injection Pattern
My good friend Mario Cardinal was interviewed on ARCast.TV about the Layer Module Injection pattern while he was at TechEd Developers 2008 in Orlando.  This is topic Mario's has been working on for a while now.

Nice work Mario!


ARCast.TV - Mario Cardinal on Layer Module Injection

Layer Module Injection is a new pattern to enforce separation of concerns between domain logic and infrastructure services. Mario Cardinal and Joe Shirey will explain why to use abstract classes and interfaces as a means to reduce dependency surface. Mario and Joe will discuss the techniques of dependency injection and inversion of control to reduce the coupling between classes. In the same way, they will discuss benefits to modularize and decouple with layers using namespaces. The goal is to explain a new approach to simplify managing dependencies between the modules which compose a program. At the end of this discussion you will understand why architects worry so much about coupling, cohesion and separation of concerns.

Posted: Oct 05 2008, 10:59 AM by guybarrette | with no comments
Filed under:
Visual Studio Talk Show #83 is now online (French)
Accueil

http://www.visualstudiotalkshow.com

Guillaume Belmas: Team System Work Items

Nous discutons avec Guillaume Belmas des items de travail (work item) avec la plate forme Visual studio Team System. Entre autres, nous discutons en quoi les items de travail sont au coeur de la maîtrise du cycle de développement logiciel.

Guillaume Belmas possède une expérience de 6 ans dans le monde du service et est actuellement Architecte Logiciel chez Exakis. Gagnant en 2004 de la compétion mondial Imagine Cup dans la catégorie "Software Design", sa carrière se concentre principalement sur des problématiques d'architectures distribuées et sur l'industrialisation des développements. L’ALM et les Software Factories font parties de son quotidien et il travaille sur ces sujets avec plusieurs clients. Guillaume est d’ailleurs à ce titre Leader Technique de l'offre Team System et Industrialisation chez Exakis et anime de nombreux séminaires pour le compte de Microsoft France. Nommé MVP depuis 2004 sur la technologie C# puis sur Team System, il participe aussi depuis 2006 en tant que capitaine de la catégorie Software Design au concours Imagine Cup (organisé par Microsoft).

Télécharger l'émission

Si vous désirez un accès direct au fichier audio en format MP3 ou Windows Media (WMA), nous vous invitons à télécharger le fichier en utilisant un des boutons ci-dessous.

         

Si vous désirez utiliser le feed RSS pour télécharger l'émission, nous vous invitons à vous abonnez en utilisant le bouton ci-dessous.

Si vous désirez utiliser le répertoire iTunes Podcast pour télécharger l'émission, nous vous encourageons à vous abonnez en utilisant le bouton ci-dessous.



Posted: Oct 05 2008, 10:29 AM by guybarrette | with no comments
Filed under:
Visual Studio 2010 First Previews

Microsoft has published some information about Visual Studio 2010 and the .NET Framework 4.0 today.

http://www.microsoft.com/presspass/press/2008/sep08/09-29VS10PR.mspx

http://msdn.microsoft.com/en-us/vstudio/products/cc948977.aspx

Visual Studio Team System 2010 Week on Channel 9:
http://channel9.msdn.com/posts/VisualStudio/Visual-Studio-Team-System-2010-Week-on-Channel-9/

Posted: Sep 29 2008, 12:37 PM by guybarrette | with no comments
Filed under:
Visual Studio Talk Show #82 is now online (French)
Accueil
http://www.visualstudiotalkshow.com

James Lapalme: Le Web sémantique

Nous discutons avec James Lapalme du Web sémantique. Le Web sémantique désigne un ensemble de technologies visant à rendre le contenu des ressources du World Wide Web accessible et utilisable par les programmes et agents logiciels, grâce à un système de métadonnées formelles.

James Lapalme est architecte d’entreprise chez Investissement PSP. Il travaille depuis 2001 avec le concept d'ontologie et de «Domain-Specific Language» (DSL). Il possède une connaissance large et approfondie des technologies OO et du génie logiciel. Il compte à son actif plusieurs publications dans des conférences internationales IEEE/ACM. De plus, il est un candidat au PhD en informatique à l’Université de Montréal. A ce titre, il a été invité à présenter sa recherche lors de conférences internationales, notamment le Lang.Net 2006 Symposium chez Microsoft à Redmond.

Télécharger l'émission

Si vous désirez un accès direct au fichier audio en format MP3 ou Windows Media (WMA), nous vous invitons à télécharger le fichier en utilisant un des boutons ci-dessous.

         

Si vous désirez utiliser le feed RSS pour télécharger l'émission, nous vous invitons à vous abonnez en utilisant le bouton ci-dessous.

Si vous désirez utiliser le répertoire iTunes Podcast pour télécharger l'émission, nous vous encourageons à vous abonnez en utilisant le bouton ci-dessous.



Posted: Sep 29 2008, 07:33 AM by guybarrette | with no comments
Filed under:
Microsoft to ship and support jQuery
ScottGu announced yesterday that Microsoft will ship and support jQuery, a fantastic Javascript library.

Read all about it here:
ScottGu
ScottHa
jQuery Announcement
Bertrand Le Roy


Posted: Sep 29 2008, 07:10 AM by guybarrette | with no comments
Filed under:
Acer Aspire One First Impressions
I grabbed an Acer Aspire One this weekend.  The Windows XP model was on sale at FutureShop for $299.




Here are some random first impressions:

  • The form factor is very cool.  Not too small but very light.
  • FutureShop (Canadian reseller) only sells models with bilingual (English or French) keyboards.
  • The Canadian models allow you to select XP in English or French.
  • The whole setup process takes less then an hour (didn't timed it).
  • The color choice I had was between sapphire blue and sapphire blue.
  • Sapphire blue is a fingerprint magnet.
  • The power supply is very tiny.
  • Deinstalled Office Student 2007 trial and Mcafee.
  • Installed Free AVG, Spyware Doctor and Picassa (both from Google Pack).
  • I had an old 5.25" external USB enclosure so I stuffed in there a DVD drive to install Office Ultimate 2007 and Visual Studio Team Suite.
  • Installed SQL Server Express 2008.
  • Some dialog boxes have a height of 600 pixels.
  • Copied some files to the netbook using an external 2.5" USB drive.
  • Wifi works without problems.
  • External VGA can output more then 1024x600 if the netbook screen is disabled.  The driver can go up 2048x1536 however I wouldn't dare go as high.  I tested it with an output of 1280x800.  Nice!
  • If you want to use it as a presentation machine, you must have a podium like setup where you see the output from an external monitor and the projector.
  • XP boots fast.
  • A fresh boot leaves me with 500MB free memory.  Shocking!
  • Visual Studio takes about 8 seconds to start.
I see me using it when:
  • Doing presentations that don't require a virtual machine or not CPU intense.
  • On a plane to watch a movie or work on a document or presentation.
  • As a photo viewer when I go see family and friends.
  • Bringing a laptop with me just in case.
  • Bringing a backup presentation machine.
  • On vacations to dump the daily pictures.
Posted: Sep 28 2008, 04:14 PM by guybarrette | with no comments
Filed under:
More Posts Next page »