Windows 8 Release Preview

Thursday, May 31, 2012

Windows 8 Release Preview (RP) was published and can be downloaded by anyone who want to try this great preview of upcoming OS! More info about it here: Download the version to try from here: For those, who want to grab ISO images links could be found at the following location: (this link also provides the product key to use)   Developers, developers, developers! Updated version version of Visual Studio 2012 Express RC for Windows 8 can be downloaded from the following lcoation:

Microsoft Official HTML5 Course

Thursday, March 15, 2012

During last few months I was co-authoring the Microsoft Official Course (MOC) named “HTML5 programming” with my colleagues at Sela - Noam Kfir and Gil Fink. About a month ago I delivered a first Beta of this course in Redmond, WA and finally the course is scheduled to be published on April 20, 2012. It was a very intensive experience with tight deadlines but we made it and the course is on its way for publishing. A few details about the course: It is three-day instructor-led course. ...

Windows 8 Consumer Preview and Visual Studio 11 Beta – What’s New (Part 1/11)

Wednesday, February 29, 2012

Long awaited Windows 8 Consumer Preview (Win8 CP) just released! It is not come alone, but accompanied with Visual Studio 11 Beta (VS11)! Both products available for download. The links are: Win8 CP download is available here. Visual Studio 11 Express Beta for Windows 8 download available here. So what’s new for developers? First think you will meet right after installing VS11 is facelift. Compare – VS2010 & VS11: VS11 got Metro-ish face lift! The icons are flat and grey, windows got flat look and feel...

Meet me at BUILD

Wednesday, September 7, 2011

BUILD/Windows approaching fast. As previous years with PDC, also this time SELA sends around 20 top experts to BUILD. I will be there also If you want to meet me or someone of other SELA experts to discuss some exciting news I’m sure we are going to get at BUILD (or just say “Hi”) feel free to send me a tweet @DevCorner.   See you at BUILD, Alex

Silverlight Tip: Object Creation via Silverlight.js – IE8 & FireFox tweak

Friday, May 1, 2009

Yesterday, when I arrive to the office my colleague (same one from this post) waited for me at the entry with new question/problem. That’s what I heard: - Hi Alex. I have a problem with my Silverlight application under FireFox – it is not being displayed on page! In IE(7) everything works fine, and in the FF is event not shown… :( - Well – I said – let’s see… I’ve got the sources from the company source server, launched the application on my machine IE(8) and got very “wired” sized application and on...

Silverlight Quick Tip: How to resize window from Silverlight

Sunday, April 26, 2009

One of my colleagues asked me if it is possible to resize the Browser Window from within Silverlight application. Well, my answer was: “everything what is possible to do from JavaScript is possible to do from Silverlight”. Here is sample code how to do it in case someone else is also looking for the solution: if (HtmlPage.BrowserInformation.UserAgent.ToLower().IndexOf("chrome") < 0) { HtmlPage.Window.Invoke("moveTo", new object { 100, 100 }); HtmlPage.Window.Invoke("resizeTo", new object { 250, 250 }); } //else // MessageBox.Show("Why bother? Chrome will not accept this anyway ;)"); * this will not work on Google Chrome probably because of some...

Silverlight Tip: How to Inject and Execute JavaScript Function(s) on-the-fly from Silverlight

Thursday, December 4, 2008

Today I’ve been asked by colleague how to inject and execute JavaScript functionality from Silverlight application to the HTML DOM of hosting page. Well, things are pretty easy. First we need to get JavaScript from somewhere. In colleague's case it was an embedded resource, in my sample I’ll use TextBox to accept the script code. Also I’ll accept function name and parameters from UI. From here we have two approaches: to Eval the function code or to create “Script” element dynamically. First approach is very straightforward: ...

Quick Silverlight Tips: Control Reflection, Control Properties Data Binding, Window Title and Status Bar text (IE only)

Monday, December 1, 2008

Well it was pretty long time since my last post here… I was busy, mostly doing consulting… Now the pressure is eased of alittle, so I hope to write here more.   During this time I heard a couple of questions from clients which were pretty easy to solve but possibly still not obvious. My first tip today will be about “how to produce reflection under text box” and “emulate PropertyBinding” (like it worked at WPF) To produce reflection (in case of TextBox) I built Vertical StackPanel with desired TextBox and TextBlock with applied ScaleTransform....

Quick Silverlight Tip: Creating/Destroying Silverlight 2 Object dynamically

Tuesday, August 5, 2008

One of my clients asked me how to create and show (and then destroy) Silverlight application on the fly. Here is very fast solution, which allows such an object to be created and destroyed. First, we (still) need to have some DIV which will hold the object. Here is my sample page HTML: 1: <body> 2: <!-- Runtime errors from Silverlight will be displayed here. 3: This will contain debugging information and should be removed or hidden when debugging is completed --> ...

Quick Silverlight Tip: Silverlight Events in JavaScript and JavaScript Events in Silverlight

Monday, July 28, 2008

Lately I've been asked couple of times about catching managed events in JavaScript and catching JavaScript events in Silverlight managed code. In fact it is very easy, but seems not so obvious... Here it goes. To catch JavaScript event in Silverlight managed code, all your application need to do is to "attach" to event from some HtmlElement you have on hosting page and define some managed EventHandler to handle the event. Sample page as it was auto generated by Visual Studio 2008, MyApplicaitionTestPage.html. All I added to this test case is HTML button: 1: <input...