April on Israel Dot Net Developers User Group

יום שלישי, אפריל 17, 2012

This week we are helding our annual monthly session. It’s a bit odd, but Erez Pedro and myself are going to be the speakers . The session name is “Developers Are from Mars, Designers Are from Venus” it has 2 parts, one by Erez an amazing designer and UX expert targeted to designers and myself targeting developers. Our goal is the same, narrow the gap between the two group especially when doing XAML work. If you are a developer, I’m going to talk about the MVVM pattern, and it this session focus, why is it good...
one comment

How to implement communication between Silverlight and the HTML host.

יום ראשון, ינואר 29, 2012

A question about intercommunication between Silverlight and the HTML host has been asked in the Israeli MSDN forum. Since I’ve already implemented it once in a project, I believe I can extract the great info already exist in the MSDN documentation to a more direct how-to. Let’s begin. Create a class called JavaScriptBridge Each method that you would like to be exposed to the HTML host, thus be possible to get called by JavaScript you adorn with attribute. public void...

“Hacking” through Prism regions (or when to cross the lines with Prism)

יום שלישי, יולי 19, 2011

If you’ve been following this blog long enough, you should know I’m an avid prism fan. Most of my projects I am making use of Prism or Composite Application Guidance. This is not a post for learning Prism, but to provide a solution, not so straight-forward for a rather straight-forward problem. I must add that that rarely I had had been pushed to extreme solutions such as I show you here. For most scenarios you are pretty much good with the default behaviors. In my scenario I’ve been using a control as a region. This control...

Wrapping up MIX11 (Part 2)

יום רביעי, אפריל 20, 2011

In Part 1, I’ve placed down the background for this post series, I’ve written down my feelings towards the session at MIX, but what about the Keynotes? Keynotes In this MIX we had 2 keynotes, one was concentrated around IE10 and HTML5, the other was about Windows Phone 7, Silverlight and Kinect. It’s very easy to compare them, the first one was non-imaginative, bothersome and at times offending, while the other one was direct, happy and fun. Before really trashing the first keynote, I want to say that it...
one comment

How to Develop MVVM Silverlight applications with Prism

יום ראשון, אוקטובר 24, 2010

I’ve got some criticism from Alex Golesh in a comment on one of my latest Posts (Managing Silverlight resources contained in external assemblies), First I would like to thank him for taking his time and writing this comment, I would like to reply him with this post. First let’s see Alex’s Comment: I have to comment it, because the code lead to bad practice... First, it heavily assumes you have all you assemblies in single XAP package - which is a bad practice for "heavy" Silverlight applications and especially real MVVM...

Open-Generics Support in MEF– Building a simple sample

יום שישי, אוקטובר 22, 2010

A year ago, A controversy arisen in the community when it was discovered that MEF is not going to support Open-Generics out of the box. (Here, Here and finally Here) For those of you who don’t know what is Open-Generics. Consider the following scenario with Unity (which do support Open-Generics): internal class UnityRunner {     IUnityContainer container = new UnityContainer();     public UnityRunner()     {         container.RegisterType(typeof (IRepository<>), typeof (Repository<>));         Repository = container.Resolve<IRepository<Customer>>();...

Porting Windows Phone 7’s Panorama Control to Silverlight 4

יום חמישי, אוקטובר 21, 2010

One of the first things that really caught my eyes in WP7 is the nice looking Panorama control. You may checkout its functionality here: Windows Phone 7 Panorama Control display. I was rather disappointed that this control is available out-of-the-box for WP7 only. But let’s not let that small fact break our spirit! I’ve downloaded the soon to be deprecated Panorama and Pivot controls code from this codeplex site : http://phone.codeplex.com/ (and this is where I must insert a big “Thank” for Stephane for his great work). While most of the Silverlight...

MIX 10K challenge, Learn How I did my Silverlight App. Part 2

יום שלישי, דצמבר 23, 2008

In Part 1, we’ve discussed how the Layout was done, and we finished designing our XAML. Now let’s see what is going on beyond the scenes. We will define two helper classes that will help us manage the data in our App. Function class got: Name : Will be shown inside the ComboBox. Params: List of Param class, will be used to persist data into the function. Run: a Func<double, double> type property, contains a lambda expression representing the mathematical function to be...
no comments

MIX 10K challenge, Learn How I did my Silverlight App. Part 1

My esteemed colleague Alex Golesh  sent me a request to rate his app on the MIX 10k competition, I wasn’t aware of this competition, but I immediately decided that I want in. The rules are simple, do anything you want on Silverlight or XBAP but you mustn’t exceed 10kb of code and resources. After some thinking I’ve decided I want to create a mathematical function plotter, you can find such on sites like www.Mathway.com. So Now before you continue reading and learning how I put it together, play with my app, discover all the features, try...
no comments

#devacademy3. Live blogging : Building Twitter Silverlight App

יום שני, דצמבר 15, 2008

Guy have produced a well structured lecture. Managed it with high precision and very well timing, never slowing on it's own, just the proxy slowed his pace, and in those times it felt like he didn't have really nothing more to say out of his well practiced script. Furthermore, I felt a little bit like watching a screencast, but it is a very minor rant For his benefit He managed both to introduce the technology for newbies and delivering a worthy app. That for really the content, the rest for me was Twitter madness. Watching our twitts on the...
no comments