Archives de
Tag: Visual Studio

Why blend is for developers ?

Why blend is for developers ?

During the TechDays 2012 conference, I have seen a course about “Blend for designers” from Michel Rousseau. It is now time to go on through this way: Blend is also for ergonomic specialist. Blend is also for developers. How many times I have seen people saying : “I am a developer so I develop the application and give it to the designer” : Without an ergonomic study before, you might create an application inside out, upside down and back-to-front… “I am…

Lire la suite Lire la suite

Single web service for multiple devices (IPhone, Windows Phone, Silverlight, Windows 8)

Single web service for multiple devices (IPhone, Windows Phone, Silverlight, Windows 8)

At Devoteam Luxembourg, our goal was to develop a cross platform application. We have developed a set of application based on a single “web services server”. An IPhone, IPad, Android version with Sencha Touch A Windows Phone 7 native version A Silverlight version A Windows 8 based on winRT version This article will only talk about consuming web services on this 4 versions.  We add some constraints like activating HTTPS for enhancing security, taking care of enhancing speed for mobile…

Lire la suite Lire la suite

Tips and tricks : Silverlight autocompletebox with huge amount of data

Tips and tricks : Silverlight autocompletebox with huge amount of data

This new post will explain the ability to use the autocomplete box with more than 10 000 items in the list. It will result an unpleasant latency… It will freeze your user interface during seconds ! The silverlight solution You just need to add the System.Windows.Control reference. The main page Xaml is like described below : Generate items Here is the little code that generate 12 000 lines and put it to the itemsource : You can run the sample…

Lire la suite Lire la suite

Windows Phone 7 Coding Dojo

Windows Phone 7 Coding Dojo

Here is a video showing how to create a simple but useful Windows Phone 7 application. This application allow Devoteam Luxembourg’s consultant to add and follow their time off requests. This application use web services based on Object Client for SharePoint. We will only see the Blend 4 part and the Visual Studio for windows phone development. I only use MVVM Light (as usual :p) as external framework. I have already done the link between the “enum application state” and…

Lire la suite Lire la suite

Siverlight Architecture Feedback (Part 2/2)

Siverlight Architecture Feedback (Part 2/2)

This article follow the previous one : Part 1   We will now detail much more validation integration in the generated context. Here is a schema that summarize the validation integration. The generated part (left side) is the MVVM DTO, processed from the edmx file. This file will be linked in the model in silverlight side. This part is absolutely not correlated with validation. The other partial class (right side) is added by user and can embed multiple information (extra properties, methods, …) and, in…

Lire la suite Lire la suite

Siverlight Architecture Feedback (Part 1/2)

Siverlight Architecture Feedback (Part 1/2)

Thanks to Devoteam Luxembourg, i am actually setting up a Silverlight architecture but it was not my first practice… I have already setup Silverlight architectures over a service layer. In most cases, i found some great shortcuts, some tips about what can be done and what can”t be done. My brainstorm result will be explained in this paper. Uses cases Since few years, I am practicing Silverlight in a business context. In each cases clients ask us to develop a user…

Lire la suite Lire la suite

Blend 5 and Visual Studio 11 feedback, the Windows 8 development future

Blend 5 and Visual Studio 11 feedback, the Windows 8 development future

Here is a little feedback on Visual Studio 11 & Blend 5… 1 – Visual Studio 11 Visual Studio 11 is provided in the Windows 8 Developer Version. It is provided with some “Metro Application Style” templates. One first thing we can notice is that VS11 is very similar to VS10… Microsoft added usefull features detailed below. I am quite disapointed about Microsoft political point of view about Xaml Language and Html5/JavaScript… Fast file preview You may know that Visual…

Lire la suite Lire la suite

NuGet, the director’s baton for Visual Studio

NuGet, the director’s baton for Visual Studio

I’am actually a .Net developer but “developer” is a stretch of language… We are now integrators as well as developers ! Microsoft feels the difference many times ago and add a new step between integrators and developers. It’s called NuGet. I was creating a new Windows Phone application and, in my disturbed mind, i was wondering if i could create a universal “Windows Phone 7 development starter kit”. Well … After bringing me down to earth, i only installed NuGet. What is NuGet…

Lire la suite Lire la suite

Coding dojo Silverlight

Coding dojo Silverlight

We will create an application for reading CSV from your bank account and, with simple pattern recognition, displaying a chart on the result. In this coding dojo we will see How to setup MVVM with Galasoft MVVM Light. How to use Blend as user interface designer. How MVVM can be applied in a concrete case. How developping quickly and with a relatively clean manner with MVVM. How to use chart of Silverlight toolkit. This humble dojo does not expect to be perfect but it can show…

Lire la suite Lire la suite

Multiple jointures sur Oracle 10g avec NHibernate

Multiple jointures sur Oracle 10g avec NHibernate

Quelques posts parlent d’un bug survenant avec oracle 10g et NHibernate lors d’une jointure multiple. http://forums.oracle.com/forums/thread.jspa?threadID=412019&tstart=0 https://forum.hibernate.org/viewtopic.php?f=1&t=963196&start=0 Survient alors une erreur “ORA-00904”. Une fois le code SQL généré lu, on se rend compte que les jointures suivant une virgule sont alors incapable d’utiliser des valeurs déclarées dans le Select. left outer join “City” city2_ on address1_.City_id=city2_.Id, “Country” country6_ left outer join Provider_Specialities specialiti3_ on provider0_.Id=specialiti3_.Provider_id donc l’utilisation de provider0_.Id dans le second join est invalidé par le “,” du premier…

Lire la suite Lire la suite