A Silverlight 4 client needs to show read-only data. This data will come from an existing third-party product (an API exposed as web services or simply a dll).
What's the simplest way to expose this data from the server so the SL client can consume it. I will have a service wrapper around the third-party API, however, I'm not sure what ...
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...
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...
Does using asp.net authentication in the Silverlight Business Application template automatically imply that I need to host the Silverlight applications page (html file) on an IIS server, or can I use apache?
Does using WCF RIA Services in a Silverlight Application automatically imply that I need to host the Silverlight applications page...
I would like to be able to load several RIA entitysets in a single call without chaining/nesting several small LoadOperations together so that they load sequentially.
I have several pages that have a number of comboboxes on them. These comboboxes are populated with static values from a database (for example status values).
Right now I ...
Hi
I've built an authentication service in RIA that inherits from DomainService and IAuthenticate.
The problem is following:
When LoginOperation fails (loginOperation.LoginSuccess is false) due to wrong credentials, everything is ok and it is reported to the user.
However, when login succeeds, I get throw a really weird exception:
{...
Hi,
I'm currently creating an registration application that will register records into different entities in my database. The whole solution is built in SL4, MVVM, Entity Framework and using WCF RIA Services. I have a heap of different views and viewmodels, all containing different types of input controls and bound controls (textboxes, ...
What is the defference between the WCF Service , WCF Ria Services and the data servics.
...
I have created a RIA services class library project and things are not going as I expected. The problem is that when I add domain service classes to the server project, the corresponding domain context classes are not generated on the client project.
I start by creating a new project of type WCF RIA services class library. The generated...
This may be a really dumb question but I figure why not...
I am using RIA Services with Entity Framework as the back end. I have some places in my app where I accept user input and directly ask RIA Services (and in turn EF and in turn my database) questions using their data. Do any of these layers help prevent security issues or should ...
Is it possible to customize the parameters of a WCF RIA Services endpoint? Specifically, I would like to create a custom binding for the endpoint and increase the maxReceivedMessageSize to allow sending the contents of a file that is a few megabytes in size.
I've tried meddling in the web.config, but I'm getting the following error:
...
Hi,
Just doing some work with RIA services and I see in the MSDN documentation that neither it or any parents up its' hierarchy implement IDisposable. I'm wondering what the design decision was for this...as DomainContext is a stateful resource, wouldn't it be nice to have a Dispose() to release it when done ?
Thanks,
Scott
...
I'm doing unit testing for our WCF RIA services, which have RequiresRole or RequiresAuthentication attributes attached to them. I've been able to test the Update, Insert, and Delete methods to ensure the attributes are properly set. This is done by mocking a IServiceProvider, creating a DomainServiceContext with that provider and the cor...
I want (have) to write a Silverlight and (or) ASP.NET based webapplication with SAP in the backend (in other words, the datasource is no classical database) . The usage of Silverlight and ASP.NET is a precondition.
Is it possible to use the WCF RIA Services (and Silverlight) where the data-source are RFCs from SAP ? Makes this sense ? If...
Since Silverlight 4 Microsoft recommends the usage WCF RIA services for business applications. Are there Silverlight scenarios, where the WCF RIA serives should no be used and plain WCF services or webservices or other techniques are the better choice ?
...
Makes it sense to use ASP.NET applications (or applications which are a micture of ASP.NET and Silverlight) together with WCF RIA Services ?
...
Our architecture is currently in this way (in .NET 2.0):
Data/entity classes are non-serializable
lots of code in getters/setters in several properties of entity classes (core business validations/business data refresh etc.)
logic behind getters/setters would also access database.
modifying a value in a setter would reflect several oth...
Makes it sense to use ASP.NET togehter with WCF RIA Services or WCF Data Services ? Or are these technologies/frameworks only proper for Silverlight primarily ?
...
For which applications or development scenarios the usage of WCF Data Services makes sense and when other technolgies are the better choice (for example WCF RIA Services, ADO Entity Framework, classical ADO.NET, simple services or whatever) ?
...
Hi All,
I am working on a sample project using SL 3 and WCF RIA Services. I have a TeleCallLog page, Here I am using Dataform for CRUD operations. I want to provide separate interface for add new Employee(I am using Autocompletetextbox to show the history of callers).
Is there any possible way to get the NewItem from Dataform and the...