Blog Home  Home Feed your aggregator (RSS 2.0)  
What did you learn today?
Phil Denoncourt's Technology Rants
 
 Thursday, May 21, 2009

I had a great time talking about Globalization and Localization for ASP.NET applications last night at the New England ASP.NET User Group.  There are definately a lot of things that you need to be aware of when you're localizing a site.  Thanks to Dean Serrentino for inviting me to speak.  I've uploaded the slides and demo applications below.

ASP.NetGlobalizationAndLocalization.zip (480.36 KB)
Thursday, May 21, 2009 4:54:12 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]   ASP.NET | Development | Speaking Engagements  | 
 Saturday, March 28, 2009

I'm speaking today at the Code Camp in Waltham giving my talk on Speech Recognition using C#.  I've attached the demo files I used.  You can download the content here.

Saturday, March 28, 2009 2:45:36 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Development  | 
 Tuesday, January 06, 2009

The 1st New Hampshire Code Camp is being help Saturday, Feb 28th at Daniel Webster College.  Registration is now open at http://www.thedevcommunity.org/.  We're looking for developers or DBAs to present at this event.  We're also looking for component vendors or recruitment firms to sponsor the event with giveaways, or to help cover food costs. (Contact me - phil@denoncourtassociates.com or Pat Tormey)

I love going to code camps, I always learn a lot about technologies that I don't get to use in my day-to-day life.  It's nice to network with other developers, learn what problems they're running into and how they're solving them.  The manifesto describes it best: By and For the Developer Community, Always Free, No Fluff...

With the economy in apparent decline, a lot of you developers are looking for ways to make yourselves more marketable.  According to ToastMasters International, presentation skills are "crucial to success in the workplace".  Code Camps are a great way to start refining your speaking skills.  Nobody expects a polished speaker.  All we're looking for is someone to show us some code, help facilitate a conversation, or show us something new.  If you get nervous when you speak in front of people and that's deterring you, partner up with a buddy to deliver the talk with you. Presentations should go about an hour, and budget time for dialog/Q&A.

Here's how to register to speak at the NH Code Camp:
1) Create an account at thedevcommunity.org, or sign into your existing one.
2) Complete a Speaker Registry profile
3) On thedevcommunity.org 's home page, click the submit a presentation link next to Code Camp New Hampshire
4) Repeat (as necessary)

Looking forward to seeing you all there...

Tuesday, January 06, 2009 1:35:57 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Development | DotNet | Speaking Engagements  | 
 Thursday, November 06, 2008

I'll be giving a talk on implementing Speech Recognition in .NET this Saturday.  There will be 24 presentations delivered at the code camp.  Register to attend the code camp here.

Adding Speech Recognition to your Application

Since version 3.0, the .NET framework has built in support for speech recognition. It is easy and straightforward to use. You will learn how to use the speech recognition capabilities of .NET. We'll talk about the capabilities of the speech recognition classes. And we talk about best practices and lessons learned.

Thursday, November 06, 2008 4:14:19 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Speaking Engagements  | 
 Wednesday, October 08, 2008

There really is a single instance of a static field per appdomain.  It kind of says this in the C# language reference, but not very explicitly.  This knocked me around a little because I had assumed that there was a single static field per type within an appdomain.  I had a base type that had a dictionary as a static field and assumed that each class that derived from it had its own instance of the static field.  Not so…

Look at the following test code:

using System;
using System.Collections.Generic;
using System.Text; 

namespace ConsoleApplication3
{
    class Program
    {
        static void Main(string[] args)
        {
            baseClass.AStaticValue = 3;
            inheritedClass.AStaticValue = 4;
            Console.WriteLine("baseClass {0}", baseClass.AStaticValue);
            Console.WriteLine("inheritedClass {0}", inheritedClass.AStaticValue);
            Console.ReadLine();
        }
    }
 
    public class baseClass
    {
        public static int AStaticValue = 0;
    }


   
public class inheritedClass : baseClass
    {

    }
  }
 }

I expected the results to be
baseClass 3
inheritedClass 4

Instead, the output is
baseClass 4
inheritedClass 4

So unless you decorate the field with ThreadStatic or ContextStatic attributes, static means just one in an appdomain.  Remember that when you are inheriting from objects that have static fields, there’s only one instance of that static field.

Wednesday, October 08, 2008 8:08:08 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Development | DotNet  | 
 Thursday, July 24, 2008

Jul 24th NOTE: the New Night!

SilverLight with John Papa.. Special INETA Event!

Silverlight enables developers to use their .NET and XAML skills to develop Rich Internet Applications and to build data driven Silverlight applications that communicate with multi-tier architectures.

This session will show how to build Silverlight 2 applications that communicate with and consume REST services and use LINQ to XML to manage XML content, show the various data binding techniques, and show how to use WCF to talk to various middle tier services including custom entity models and the Entity Framework.

 

John Papa is a Microsoft C# MVP, INETA speaker, consultant with ASPSOFT, speaker, author, and trainer who specializes in professional application development with Microsoft technologies including VB, C#, .NET and SQL Server.

 

John has written over 60 articles and authored several books on data access technologies including ASP.NET, WPF, Silverlight, ADO.NET, XML, and SQL Server. He can often be found speaking at industry conferences such as VSLive and DevConnections, and viewed on MSDN Web Casts.

 

John is currently working on his upcoming book titled Data Services with Silverlight 2 by O'Reilly due out in December 2008.

Go to NHDN.com for more information

Thursday, July 24, 2008 3:30:22 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]    | 
 Wednesday, July 23, 2008

Part of the .NET 3.0 release was the System.Speech namespace.  This gives you easy access to powerful speech capabilities.  Text to Speech, Speech Recognition, and Dictation are all part of this library.  I've tried speech recognition every 5 years or so, and it has always worked, but it never allowed me to work faster than just using my keyboard.

As a consultant, I work on a variety of different machines.  Sometimes just my laptop, sometimes my laptop with an external monitor, and other times a dual monitor system.  Pictured below is how I set it up on my laptop. 

Most panels are auto hide so that I can maximize the amount of space to view the code.  Getting to the solution explorer means I have to take my hands off the keyboard, and go to the mouse to select the tab.  There are keyboard shortcuts, but I either don't remember all of them, or they don't work in all types of documents.

Since speech recognition is so easy to use with the system.speech dll, and Visual Studio addins aren't rocket science either, I built an addin that enables speech recognition within Visual Studio.  Basically, the addin maps a list of words, that when recognized, execute a command in the Command Window.  So, when I need to quickly look at the task list, I don't have to remember the keyboard shortcut, or mouse to it.  I just speak "Task List".  When I need the toolbox, I say, "Toolbox".  I didn't get into dictation, because I don't think it is efficient to speak "for space open parenthesis int i space equal space zero semicolon i less than items period count semicolon i plus plus close parenthesis open curly brace..."

I uploaded the source and an installer here on CodePlex.  Because (I think) Visual Studio 2005 only works with addins written in .NET 2.0, this only works for VS 2008.  Try it out and let me know how it works.

 

Wednesday, July 23, 2008 7:13:18 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   DotNet  | 
Copyright © 2010 Phil Denoncourt III. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: