silverlight-4.0

Alternative to Ria Services

Hi I'm looking for another approach than use Ria Services with silverlight. We are using Silverlight 4 and .NET 4.0 Have someone make any nice solution with shared assemblies (maybe linked files so domain logic are spread). And maybe any nice framwork to make communicating with the wcf services in a clean way?? It would be really nice i...

Bandwidth for Silverlight Apps

I have a idea of building sort of a simple online version of Microsoft Visio. The application will be built using silverlight capabilties. People will be able to design flowcharts similar to how they do in Visio and they will be able to collaborate and work simultaneously on the the design. Now, I need to get an idea of the bandwidth s...

Silverlight vs web 2.0

I understand that silverlight has come a long way since its inception, but I have always struggled to find the business need for silverlight. What are the advantages and disadvantages of silverlight 4.0 vs modern html5 and javascript libraries like jQuery or ExtJS? Should i use silverlight or a combination of html5 and javascript for my...

help me understand the method Validator.TryValidateObject()

this is the method definition: public static bool TryValidateObject( Object instance, ValidationContext validationContext, ICollection<ValidationResult> validationResults, bool validateAllProperties ) what i am confused is the validateAllProperties parameter, I understand when it is true-validate all properties. What about when it i...

Validating method arguments with Data Annotation attributes

The "Silverlight Business Application" template bundled with VS2010 / Silverlight 4 uses DataAnnotations on method arguments in its domain service class, which are invoked automagically: public CreateUserStatus CreateUser(RegistrationData user, [Required(ErrorMessageResourceName = "ValidationErrorRequiredField", ErrorMes...

Mef, passing parameters to a module

Hi guys, I'm studying MEF and I'm not able to resolve a problem. I have a main application, called MainMEF, and a simple module, called SimpleModule. This one consists of a single UserControl which is loaded dinamically. When MainMEF starts up, I would be able to pass to the module a reference to main application contained into MainMEF...

Using Silverlight common code base for data intensive web and windows application

Hello. Recently in a conversation, someone suggested me to make use of Silverlight if I am targeting a web client and a windows client for the same application. This will cut down my effort for supporting the contrast in both presentation layers. Mine is a product, that will be deployed in enterprises. Both web and windows clients are d...

Connecting to SQL Server Express in silverlight 4 appl, the db doesn't shows up in Management Studio Express

I'm using SQL Server Express named instance and LinqToSql in my Silverlight 4 application. The database located in the web application App_Data folder. I attached the db via VS2010. The connection string generated by the program automatically, after double clicked on the db file. When I load the solution, I get an error: "The connecti...

Any suggestions for Silverlight book, from fundamentals to version 4?

Hello. I am new to Silverlight. I'd like to use Silverlight 4 in my project. Can someone suggest me a book on Silverlight that can help me learn the technology fundamentals inclusive of Silverlight version 4? I fear that the Silverlight 4 books available in the market right now are incremental (they assume knowledge until Silverlight 3)...

Weird change in behaviour of Attached Properties between Silverlight 3 and Silverlight 4

I've encountered a strange problem while upgrading an application from Silverlight 3.0 to Silverlight 4.0. The XAML below used to work fine but after upgrading no longer works. <xxx:FeatureGrid.Columns> <agDataGrid:AgDataGridColumnCollection> <xxx:FeatureGridTextColumn FieldName="HOUSE_NUM" HeaderContent="Number" /> ...

SL 'Composite' Navigation Application

In a silverlight composite application, is it possible to implement navigation, so that the back and forward buttons would be functional? ...

[Prism-v2] How to passing parameter to constructor when Resolve a View..?

my View constructor: public View1(IRegionManager regionManager, IUnityContainer container, bool myParam) { } How to set myParam when I do Resolve<View1>()? Thank you. ...

How to determine if the user clicked OK or CANCEL when exiting Silverlight?

Based on http://mark.mymonster.nl/2009/02/28/integration-of-browsers-unloading-with-silverlight/ I know when the user closes a browser window containing Silverlight, by use of javascript. This basically creates a popup window, where the user can stay on the page(by clicking CANCEL), or exit the page (by clicking OK). I am interested in ...

Getting hold of a Silverlight Out of Browser Application Id.

I'm trying to launch a SL4 OOB application from the web browser. I'm currently trying to achieve this by associating a file type with sllauncher.exe and then adding the SL4 OOB application id as a parameter. The SL4 OOB application is launched when the specific file type is downloaded from the browser, but in order for me to create an in...

ScrollViewer doesn't fire MouseWheel event while Scrolling

The ScrollViewer's MouseWheel event will fire only when the scrollbar is at the end of it's track (either the top or bottom/left or right). The MouseWheel event does not fire when it's anywhere in between. Does anyone have any clue as to how to capture the scrolling when it's being caused by the mouse wheel? ...

HTTP Error 500.19 - Internal Server Error for silverlight application

Use VS2010 silverlight business application template to createa defaut solution. Change authentication to Windows in Web.config and the code in app.xaml.cs to use windows authentication. Nothing else changed. Then run this app from vs2010 built-in web server, it is fine, I can see the login user info from windws(from a AD domain account)...

Export formatting text in MS Word from Silverlight 4 application

Hello. How i do this? ...

Is there a fix for VS 2008 after the Silverlight 4 windows update?

I installed a windows update for Silverlight on my Win 7 64-bit PC yesterday, and today when I started VS 2008, I got the following error: --------------------------- Microsoft Visual Studio --------------------------- Package Load Failure Package 'Microsoft.VisualStudio.Silverlight.SLPackage, Microsoft.VisualStudio.Silverlight, Vers...

Expression Blend 3, solution not supported

I'm trying to open a silverlight 4 application solution in Expression Blend 3. However, Blend says that the solution is not supported. Is there something I'm missing? I'm following an example in the book Microsoft Silverlight 4 Business Application Development. ...

Silverlight 4 Assembly Sharing Problem

I have a WPF .NET 4.0 class library referencing a Silverlight 4 class library. The SL library compiles fine but when I compile the WPF class library, I get: Error 2 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been ...