i use a nhibernate with ria services and i test my Domain classes in server and it works but when i want to use ria service in silverlight when i want to get a entityset like thise it give me that entityset is empty:
mainpage.xaml.cs:
public MainPage()
{
InitializeComponent();
AppointmentDomainContext context ...
I have been developing a Silverlight WCF RIA Services application dealing with mock financial transactions. To more efficiently send summary data to the client without going overboard with serialized entities I have created a summary class that isn’t in my EDM, and figured out how to serialize and send it over the wire to the SL client ...
In the context of Silverlight RIA using DomainContext and, the code as follows:
private void AddProductButton_Click(object sender, RoutedEventArgs e)
{
var target = (Web.LocatorProduct)((IEditableCollectionView)ProductSource.DataView).AddNew();
target.Locator = LocatorID;
target.Product = NewProduct.Text....
i have an application, in which i have an EntityModel.
i have a DomainService which talks to this EntityModel.
i am using simple LinqToEntitiesDomainService for this application, not .svc extension files.
On Silverlight (client), i am able to get/put the data through this service.
Now my question is:
I want to see the wsdl of hosted RIA...
I've been trying to solve a problem that I really hope someone can help with, or at least point me in the right direction. I've been googling on this for days and just can't quite come up with the answer.
Background:
I'm using RIA Services to handle communication, validation, etc...from a Silverlight 4 app. I have two domains service...
I have a situation in which I will load invalid data. I'm using a DataForm to edit the data and I need to force a validation. The user might not normally edit the fields which are invalid but before I save the entity back I would like to notify the user that they need to be edited. But the validation does not seem to fire unless the p...
Hello,
I'm building a web app and starting to feel the pain developing slick UI features -- I tried iPhone/Android programming and it's so damn simple. Why is it that everyone still settles for the hacked-together tools that comprise web programming, instead of gravitating towards RIAs?
I want to program the app with an RIA but...the m...
I have a silverlight app with a RIA link to a Domain service.
For example I have the following data structure:
User<---Posts
I don't want to expose any service function related to Posts, but I still want I can manipulate it in silverlight.
Now if I build the solution, there is no Posts class generated in silverlight class at all because...
I am writing a business application using silverlight 4 including RIA.
The user can start a batch progress on the server by clicking a button.
On the client side, i want to display the progress. How do i do that?
The first idea i had was to create a job manager which creates a job ticket and the client polls regularly for its status / p...
I've created a new Silverlight application, so I have a web project called "SilverlightOnLineChess.Web" and the Silverlight app called "SilverlightOnlineChess.Client". In this solution I've created a new WCF RIA Services class library called "SilverlightOnlineChess.Data", and in doing so it creates the associated web project called "Silv...
Ive posted another thread regarding refreshing a silverlight listbox - In the meantime Ive become slightly more familiar with the issue. It has to do with implementing the ObservableCollection interface.
Im using RIA services to populate a listbox with a collection of type ObservableCollection. The problem is refreshing the Items once ...
Hi guys;
I have seen web applications that have desktop look and feel (e.g those done with flex or extgwt) demo. I have also seen web applications (rich with ajax) that have web look and feel - e.g gmail . My questions is: which ones are more usable? and which ones are the future. I am not talking of websites here but applications, thin...
I'm fairly new to Silverlight and RIA. However, we're developing an app with a SL frontend using WCF/RIA to connect to our service layer. We're using the mvvm pattern so that may play into this as well.
I have a particular dataform where I use commanding to hook the EditEnding event of the dataform. In EditEnding, I call my Service to...
Currently I have a working Silverlight application that uses .Net RIA Services.
It's structure:
Client-side
Application.Client.UI.dll (Xamls and
basic UI stuff)
Application.Client.BL.dll (Contains the Link to RIA and most of the business logic)
Server-side
Application.Server.Data.dll (Server-side dll that holds the Entity-model a...
I like Silverlight because of the following, in brief:
-declarative GUI language (XAML)
-data and command binding
-GUI designer
-MVVM pattern
-strong typed language.
But Silverlight isn't available everywhere. I'd like to investigate alternatives which doesn't involve any browser plugin. Basically javascript frameworks with a compiler t...
I just started learning Silverlight by walking through the labs posted on Channel9. When I tried to explore a little bit I found that my queries were not working as I thought they would.
To recreate what I have done you would need to create a new Silverlight Business application, create a data entity that is pointed to the Adventurewor...
Hi,
All i want to do is enter a term in a search box, click a button and then call a custom method in my domain service that will just return the records I want.
As it currently stands I've got a grid on the screen bringing back all the rows. Any Ideas?
...
I'm using custom authentication, works fine. When I try to do an insert from another part of my code I get a DomainOperationException error in my Silverlight App. I traced it back to a SQL Server (2k5) error which is Login Failed for XXX\XXX [Client: ].
The web server and db server are different machines, same domain. I've tried a do...
Hi All,
I’m using Silverlight4 and Ria Service :
Imaging we have a table (called "MyTable") with 3 records ( 1 , 2 , 3 ) , I’ve just written the following codes somewhere in my application:
CurrentItem = 1;
MyContext.MyTables.Delete(CurrentItem);
CurrentItem = 2;
MyContext.MyTables.Delete(CurrentItem);
For some reasons, before hi...
I understand that jsonp is a technique to get around the same origin policy. You basically refer to your json serving server endpoint in a script tag, because script tags are exempt from the SO policy.
My question is: Assuming a server has an endpoint that serves up json, are there any modifications necessary on the server to make use...