Hi all.
I'm using SL 4 beta and my app needs to do a lot of small http requests to the server.
I believe that when exceeding the number of allowed concurrent requests, the subsequent requests are put in a queue.
I am also aware that SL 4 has both a http browser stack and a http client stack, with both different limit in terms of the num...
I would like to add some controls to the SketchFlow player. For example, I would like to add a combo box with a list of values for a specific variable, and selecting a value will make a specific screen/state show up in the SketchFlow player canvas. Is this possible? I have seen that using the PlayerContext allows access to some controls/...
I have a list of objects in a model. I wish to show elements of the DTO's in the list in my AccordianItem panels. The model is like this:
public class MyModel
{
public List<AnimalDTO> Items { get; set; }
public MyModel()
{
Items = new List<AnimalDTO>
{
new AnimalDTO...
I want to make a Silverlight application in Expression Blend because of the rich UI and navigation of Blend. But I want to store the Silverlight application in an ASP.NET MVC web project. When I try to make a new Silverlight application, the default web application is an ASP.NET Web application (or web site, if I'm wrong). Can I make a s...
I have Visual Studio 2010 beta 2 installed and Expression Blend Preview for .NET 4. When I began to debug it, it asked me to install Silverlight 4.0 beta. So now I am wondering if people who are going to view my application need to install Silverlight 4.0 instead of Silverlight 3.5. If so, how can I downgrade from 4.0 to 3.5?
...
I have a code library that makes heavy use of XPathNavigator to parse some specific xml document. The xml document is cross-referenced, meaning that an element can reference another which has not yet been encountered during parsing:
<ElementA ...>
<DependentElementX id="1234">
</ElementA>
<ElementX id="1234" .../>
The document do...
Hello,
I have a WCF service that is returning a lot of data. I want to compress that information so I thought that using BinaryEncoding would be appropriate.
Currently, I have a binding setup in my web.config as follows:
<binding name="myCustomBinding" closeTimeout="00:05:00" openTimeout="00:05:00"
receiveTimeout="00:05:00" sendTime...
I am making a flash card application. It shows the question and then a textbox for user input, all wrapped in a border or rectangle. So what I want is an animation that "flips" the rectangle or border upside-down and then their is text on the "back". Also, I want my application to APPEAR transition from one card to another by "flying off...
We have a WEb Service named, let's say Foo.
So there is a Foo.svc file and a code behind Foo.svc.cs.
We add a silverlight project and wish to use the Foo.svc services so we add a Service Reference and call it's namespace FooBar.
This creates the following files :
Reference.cs
Reference.svcmap
Foo.xsd
Foo.disco
configuration.svcinfo
...
I want to use Services(WCF/RIA /Web) to take data from Entity Data Model class (maybe NHibernate class) and prepared it special for View layer binding.
I have few Silverlight page, so should I create for each page separate service class ? Or create one interface and all method will implement it in one service class?
Do You have some ad...
I have a silverlight app.
When I develop I have it pick up its data from a local URL:
http://localhost/theapp/data/...
however, when it is online, I want it to pick up its data from an online URL:
http://www.tanguay.info/...
Currently I have a variable which I switch before I compile and upload:
bool silverlightAppIsLive = ...
I'm trying to create a templated silverlight control that has a simple animation (swap a few color properties).
An example would be a control that is similar to the 'questions' menu item in stackoverflow. So the consumer of the control can specify the background color and the background color for the mouseover event.
I've run into th...
byte[] imageBytes = Convert.FromBase64String(base64String);
MemoryStream ms = new MemoryStream(imageBytes, 0,
imageBytes.Length);
How will I determine its file size of an image?
...
Is there a way just like multidatatrigger behavior of WPF also implemented in Silverlight 4.0?
OR
Another workaround which behaves like multidatatrigger?
...
Is it possible to use deepEarth with sql server 2008 spatial, or is there aney other open-source mapping solutions for Silverlight and sql server 2008.
Tanks for any thought on this.
...
I'm kind of disappointed at Ria Services.
I like to work in a domain driven design way, so for example if I'm working with an invoicing system I have an object invoice which will have all methods on it to for example calculate total price from its invoice rows.
public decimal Amount
{
get {return Entries.Sum(x => x.Amount);}
}
I ...
I'd like to know how I can assign in XAML a dependency property of type Type in Silverlight since the markup extension {x:Type} does not exist ?
Thanks,
...
In order to define column sorting the SortMemberPath can be used. But how can I define that this column shall be sorted descending?
...
I am trying to create an attached behavior that can be applied to a Silverlight ComboBox.
My behavior is this:
using System.Windows.Controls;
using System.Windows;
using System.Windows.Controls.Primitives;
namespace AttachedBehaviours
{
public class ConfirmChangeBehaviour
{
public static bool GetConfirmChange(Selecto...
I have a collection of elements, each one with a name and a subcollection of image blobs.
I want to display an Accordion, with each item representing each of the MainElements. inside each element, I display the images in the subcollecion of said MainElement.
The Accordion gets resized by the user, so I use a wrappanel for presenting the ...