silverlight-5.0

Silverlight 5 Backward Compatibility

对着背影说爱祢 提交于 2020-01-01 09:18:18
问题 I have a Silverlight application developed with version 4.0. I tried running it with Silverlight 5 client and everything seems to be fine up to now. But I am wondering; if my users installs Silverlight 5 for client, is it sure my application will still work well? Do I have to run all my Test Cases again? If anyone notices something that has been broke between versions, please list it here! :) Thanks 回答1: There's little evidence around the internet at the moment, other than that published by

Where does business logic sit in MVVM?

馋奶兔 提交于 2019-12-30 04:31:49
问题 I am used to developing with N-Tier architecture, i.e. Data Access Layer, Business Logic Layer, etc Can anyone provide any advice or links about the best location for my business logic? Do I put all of this into classes within the Models folder of my Silverlight application? Paul 回答1: Business logic, as well as the data, is typically part of the Model layer in MVVM. The View is the visuals, and the ViewModel is the "glue" that lets you work with the business specific logic and data. Anything

Load Operation failed for query 'Login'. The remote server returned an error: NotFound

与世无争的帅哥 提交于 2019-12-25 02:17:16
问题 I'm working with Siverlight 5.0, RIA Services and Entity framework in my project. When I deploy the application using VS, the application runs fine. However, when I use a web deployment project to publish the application, the first call to a RIA services service on the same system fails. An error similar to this is produced: Load Operation failed for query 'Login'. The remote server returned an error: NotFound I guess, the last message is not enough to get the concrete error. Suggest me what

Can a SilverLight component instantiate a registration-free COM-visible .NET object

↘锁芯ラ 提交于 2019-12-25 01:44:31
问题 We are trying to load in SilverLight 5.0 component running in IE a COM-visible .NET object registration-free using the activation context API. http://msdn.microsoft.com/en-us/library/ms973913.aspx The SilverLight component is runnning as a trusted application in the browser as described in http://msdn.microsoft.com/en-us/library/gg192793(v=vs.95).aspx. The object can be loaded in a stand-alone test application using the activation context API so the manifest is properly formed. In SiverLight

Silverlight 5 printing garbled Reports

可紊 提交于 2019-12-25 01:34:38
问题 I am using a C1ReportViewer control, and have already posted a question on the C1 forums, however i thought i would post here as well to see if anyone had run across a similar issue. The control uses the generic silverlight PrintDocument() method. When printing a Crystal Report from this control in Silverlight 5 sometimes the report prints out garbled, meaning different sized text, tapered lines and generally out of position. It also rarely prints the entire report. I have narrowed the issue

Entity Framework : Set MySQL custom environment variables

可紊 提交于 2019-12-24 22:32:21
问题 I have an issue with Entity Framework 5.0. I'm working with Silverlight 5 and MySQL 5.6 too. I need to set an environment MySQL variable before each connexion to the MySQL server. E.g SET @my_var = 'test'; Under Mysql I don't have any issues. The following raises an EntityFrameworkException (syntax error near '@'). this.ObjectContext.CreateQuery<object>(" SET @my_var = 'test' "); OR this.ObjectContext.CreateQuery<object>(" CALL set_my_var('test') "); This last method raises a MySQLException

Https and http Image URL Not loading in silverlight

◇◆丶佛笑我妖孽 提交于 2019-12-24 11:04:57
问题 in my silverlight application i have two image tags one is with http image url and other one is https image url in local system the http enabled image url is loading but the https image url is not loading. when i host the application in https enabled site, it displays the https enabled image url but not displaying the http enabled imageurl how to handle this issue. my client access policy : <?xml version="1.0" encoding="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from http

Silverlight toolkit breaks silverlight 5 application

微笑、不失礼 提交于 2019-12-24 09:58:52
问题 I am upgrading a Silverlight 4 application to Silverlight 5. I ran the application after changing the Target Silverlight Version to Silverlight 5 (Visual Studio 2010) and received the following error before the application loaded: Unhandled Error in Silverlight Application Code: 2110 Category: InitializeError Message: AG_E_UNKNOWN_ERROR I was unable to track down the issue using the visual studio debugger so I thought it might be an issue with the references. I noticed most of the core

Caliburn.Micro Conductor: Trigger/Action firing more than exptected

拥有回忆 提交于 2019-12-24 06:58:08
问题 I'm trying to put together a very simple example app, but it is not working as intented. Here is the scenario: Caliburn.Micro, MVVM, Silverlight 5.0 - simple Conductor example from https://caliburnmicro.codeplex.com/wikipage?title=Screens%2c%20Conductors%20and%20Composition&referringTitle=Documentation (Simple Navigation) I just put together a live example: https://db.tt/kTIjKvRx -> hit enter in textbox (messagebox displays 1x) -> go to master and go back to login -> hit enter in textbox

Cannot add any control on the workspace [Catastrophic failure]

天涯浪子 提交于 2019-12-24 06:36:14
问题 There is a problem with my developer machine when I created a project on Silverlight. At the moment I add a control on the grid it shows an exception and the layout is destroyed. Here are the steps to replicate the problem. Create New Silverlight Application Uncheck Host the Silverlight application in a new Web site Choose Silverlight Version: Silverlight 5 and it successfully creates blank project file When I tried to add this code inside Grid <Button Content="Button" HorizontalAlignment=