October 2007 - Posts

A question I had on top of my head:
When you install Silverlight, is it installed automatically on every browser available on your machine or is it per browser like Flash installation ?

The answer is:
"When you install Silverlight, it installs itself for both Firefox and IE on Windows, and both Safari and Firefox on Mac, regardless of what browsers you currently having running or installed."
Thanks to Daniel Harvey from the silverlight.net forums.

 

Posted by pluginbaby | with no comments
Filed under:

Back to some real content here!

Maybe you already know about this, but as I still often see static method like GetColorFromHTML() in companies static class, it could be a good reminder.

The idea is when you want to set a color in code, like GridView1.ForeColor = "#FFCC66", but this do not work because the property is of type System.Drawing.Color.

You don't need to create a convert method as there is already such a method in the Framework, but the location is not obvious.
First I would have checked for System.Drawing.Color.FromHTML() as there is already a System.Drawing.Color.FromArgb(), but no, it is not there. Instead you have to look in System.Drawing.ColorTranslator.

Convert a RGB color to System.Drawing.Color:

C#:
System.Drawing.Color col = System.Drawing.ColorTranslator.FromHtml("#FFCC66");

VB:
Dim col As System.Drawing.Color = System.Drawing.ColorTranslator.FromHtml("#FFCC66")

 

Convert a System.Drawing.Color to RGB string:

C#:
String sHtmlColor = System.Drawing.ColorTranslator.ToHtml(col);

VB:
Dim sHtmlColor As String = System.Drawing.ColorTranslator.ToHtml(col)

Posted by pluginbaby | 1 comment(s)
Filed under: ,

RunAtServer Consulting Montreal

As you may know I am a partner of RunAtServer Consulting, a company based in Montreal and highly specialized in Microsoft web technologies such as ASP.NET and AJAX, as well as Silverlight and Expression. We are deeply involved in local .NET communities and love to share knowledge in conferences and trainings.

Are you a passionate ASP.NET developer ? please come check our careers page and the opportunity to join our vibrant team!

Here are the slides and demos of both of my french sessions: "Expression softwares" and "Silverlight".
Expression session was live only demos, but you'll find the samples I used for Silverlight :
- Expression Encoder output
- ASP.NET Future <asp:Media> Control
- Web Service
- OpenFileDialog
- Isolated Storage
Note that you need VS2008 beta 2 and Microsoft Silverlight Alpha Tools for Visual Studio 2008 Beta

Download the file:

Thanks to all attendees!

Code Camp Montreal

Come to my session at Code Camp Montréal this Saturday and get a chance to win one of these 3 boxes !!!
(thanks to Paul Laberge at Microsoft!)

Expression box

"Introduction à la suite de produits Expression"
Marriott Château Champlain à Montréal - Salle Viger A - 10:30am, it is free!!

See you there!

Expression Design

Here is a link to some Expression Design tutorials on the Microsoft Expression Team blog :

http://blogs.msdn.com/expression/pages/samples-and-tutorials-gallery-expression-design.aspx

Posted by pluginbaby | with no comments
Filed under:

Code Camp Montreal

The second Code Camp Montreal is very soon!!!

--> www.codecampmontreal.com

What you need to know :

  • it is Saturday October 27th in Montreal
  • it is free!
  • it will be great!!

A whole day with 17 sessions in 4 rooms.
You can have a look at the sessions list and the speakers list.
Note that registration is free but mandatory, be quick!

I will present 2 sessions (in french):

  • Introduction à la suite de produits Expression
  • Introduction à Silverlight

See you there !

The Real Development Reloaded Tour will be in Montreal on October 18.

I had the chance to review the content of this event, lots of good tips and tricks will be shown, and I am sure you will learn something new, even if like me you do ASP.NET since you are born (almost!).
This tour focus on today's technologies, the ones you use on your day to day job as a web developer. So don't miss this chance to consolidate your knowledge, feel more confident on ASP.NET, AJAX, and learn about the best tools for your browser!

 

realDEVELOPMENT_07 tour is coming to a Canadian city near you. This half-day event is your chance to get a closer look at the technologies you use to create real web applications.

In the sessions, you’ll learn how to use:

  • Visual Studio® development system to debug and trace your web application
  • Third party tools and utilities such as the Internet Explorer® internet browser Readiness Toolkit, Developer Toolbar, and Fiddler
  • the Enterprise Library to implement best practices
  • ASP.NET AJAX to create more immersive and interactive experiences

Link for Montreal registration:
MONTREAL - OCT 18, 2007 (8:30 AM - 12 NOON)

For other dates and cities, read this post.

A new Live Service is available since September: Live Translator.
http://translator.live.com

The first thing I noticed is the translation is far from perfect (Okay it is beta...).

I like the web page translator : you can change the layout (side by side, top/bottom, hover), when you select some text, it highlights the translated part, and as you browse the pages are automatically translated.

Did a test on my blog, that is so funny!

  • Recent posts -> Poteaux récents
  • I'm NOT a poor lonesome ASP.NET Developer -> Je ne suis pas des pauvres seuls Réalisateur d'ASP.NET !!!??

 

Note the "Computer-related content" checkbox, again I did a quick test, from English to French, with Computer-related content checked :

Original:
Mashups are created by dragging in and connecting ‘blocks’ which produce an output. Blocks are modules that connect to various web services API’s, and even today there are dozens of different blocks that work with a whole variety of different web services.

Tranlated:
Mashups sont créées en faisant glisser et de la connexion « blocs » qui produisent une sortie. Les blocs sont les modules qui se connectent à plusieurs services Web API de, et encore aujourd'hui il existe des dizaines de différents blocs qui fonctionnent avec une gamme ensemble de services Web différents.

=|> Oh shit!

Conclusion: It does the job, but not very impressive yet, mostly from English to X and it is not even AJAX!!!

Can't wait for the new Zune 80 ??

Here is a tutorial on how to boost your Zune 30GB with a 80GB hard drive :
http://www.zunescene.com/80gb-zune/

Posted by pluginbaby | with no comments
Filed under: ,
More Posts Next page »