By David Espino.
When we start to build a web application with a right interface its necessary to verify and make sure that we understand every requirement given by the client. For a specific situation of the user interface, the best way to transfer our thinking and understanding with the client is via creating screen prototypes.
In some occasions they contain a lot of controls like lists, combos or grids that are based on “dummy” information. They are made not just for making the screen to project the reality of what is going to be the application but also to let the prototype simulate item common elements of selection and editing. Just like the controls that represent information on...
By David Espino
On several occasions when we want to present screen data on our application, it is necessary to give to it a particular format when it is showed on the screen. The ValueConvertes inside a Silverlight application help us to accomplish this objective. One class of IvalueConverted that is implemented modifies the data that flow to the controls when a Binding is made.
For this example we create a Silverlight application with its own Website.
First, we need a class that is going to help us with our data entity and it’s going to storage the basic data of an order.
publicclassOrder
{
publicintOrderNumber { get; set; }
publicint Items { get; set; }
publicdouble Total...
By David Espino.
In every application that we develop, it is always an excellent practice to validate the entry data of an opt-in form. In common web applications, Visual Studio provides several mechanisms and controls to perform such validations. In the case of Silverlight 4.0 we can find some existing interfaces that allow us to do such validations when developing applications using the MVVM pattern.
Introduction to the MVVM pattern.
This design pattern allows applications to divide them into separate layers and provides additional benefits such as implicit validation, ease of including unit tests and an increase in the reuse of components.
The pattern defines three main parts, th...
By David Espino.
When sending a call to a WCF service from a Silverlight application and the service returns an error, the Silverlight client backs up only a very generic error:
The remote server returns an error: NotFound
This message does not help to know the exact error neither for the user nor the developer. Even more, it is necessary for more security to make a division of the error information: one message for the user and one detailed message for the system administrator or developer.
The first part of the error dedicated to the application administrator consists on writing the exception that the code generates on a detailed way. There are a lot of tools that allows tomake th...
By David Espino
When we create a Silverlight application we should want to apply different themes to our application. Silverlight toolkit provides us with a simple way to achieve this. For this example you need the following prerequisites:
· Silverlight 3.0.
· Silverlight Toolkit. You could download from this link http://silverlight.codeplex.com/Wikipage
· Visual Studio 2008.
· Expression Blend 3.0. This tool is not really needed, but I recommend to use Blend when you are going to do some UI design, is easier and faster than Visual studio for this labors.
First of all, you need to create a Silverlight project with a Web Site.
Then you need to ad...
By David Espino
Silverlight is a great plug-in that enables web programmers / web designers to create rich interface applications. However, it could be nicer to have our own copy of Silverlight application as a local application, maybe have a desktop icon to take a look to an important financial chart from our running business, maybe a local photo album, or any kind of gadget we want.
This is where the “Out of Browser” feature of Silverlight 3.0 comes into play. First we need to create a Silverlight Application project:
With our application created, we right click our Silverlight project and choose “Properties”. In the Silverlight tab, there is a checkbox which enables to the ...
By David Espino
What is Silverlight?
Silverlight is a cross-browser, cross-platform and cross-device browser plug-in that helps companies design, develop and deliver applications and experiences on the Web.
For further information visit:
http://en.wikipedia.org/wiki/Silverlight
What is Sharepoint 2007?
Microsoft Office SharePoint Server 2007 is an integrated suite of server capabilities that can help improve organizational effectiveness by providing comprehensive content management and enterprise search, accelerating shared business processes, and facilitating information-sharing across boundaries for better business insight.
Strong and WeakPoints
Silverlight Strengths ...
By Denisse Zavala
Silverlight implementation is one of the services we promote as a nearshore software development firm.
Silverlight 4 includes a new feature that allows developers build rich applications easier and faster without using third party controls.
One interesting feature is the Drag and Drop functionality. Through the following lines I will show how to implement this functionality, dragging files from the desktop right into the Silverlight application.
1. Add a stack panel where the files will be dropped:
Pay attention to the highlighted StackPanel attributes:
a. AllowDrop is used to determine whether the control can be a drop target.
b. Drop is used t...
As you may know, one of the nearshore software development services we offer is the silverlight platform implementation.
And in this post I will guide you through the process of adding a Silverlight application to your existing ASP.NET website.
The process of adding the Silverlight application to the solution is actually quite simple:
1. On the solution explorer, right click the solution. On the context menu, click on Add and then click on New Project.
2. From the Project Types list in the “Add New Project” dialog, chose Silverlight; then chose the template Silverlight Application. Give a name to the app and then click OK.
On the next dialog, check the “Host the Silverli...
By David E.
Within a Silverlight application, there are basically two ways to implement events related to the Windows Phone 7 Touch Screen: Touch events using the low-level interface and events handling or manipulation.
Touch Events using the low-level interface
Basically these methods revolve around the “Touch” a static event, FrameReported and also a class called TouchPoint which has the following properties:
· Action of the TouchAction type that is an enumeration with Down, Move and Up members.
· Position of the Point Type that corresponds to the position on the top left corner of an element which is known as reference.
· Size of the Size Type represent...
Next >>