Hi guys.
I'm recently want to develop an application for my company. I've checked the Silverlight 4.0 and WCF RIA Services. Its really amazing and I got tempted to use these services for our application. But I have a couple of questions:
Is there any ways to prevent unauthorized users not to be able to connect to the service and enumer...
It seems that the large majority of tutorials, samples and in fact out of the box templates guide devlopers new to RIA Services towards building a simple CRUD / table editor app.
I realize that CRUD is simple to communicate and gets a big round of applause but I can't believe that real line of business applications are all that simple.
...
[Disclaimer: I'm ASP.NET MVC Developer]
Hi,
I'm looking for some best practices with implementing MVVM pattern with WCF RIA in Silverlight 4.
I'm not looking to use MEF of IoC for locating my ViewModels. What I would like to know is how to apply MVVM pattern with Silverlight 4 and WCF RIA.
I don't want to use other stuff like Prism...
I have an existing WCF RIA project built on the Release Candidate; I'm now moving to the Release version & have discovered many changes. David Scruggs made the following comment on his (MSDN) blog:
"If you’ve written anything in
SIlverlight 4 RIA Services, you’ll
need to rewrite it. There has been a
lot of refactoring and nam...
I am new to WCF and WCF derived services.
I am using VS 2010, silverlight 4, ria services 4.
Recently I created plain WCF REST services (no RIA, no SOAP) with my endpoint (using wsHttpBinging):
<endpoint address="" behaviorConfiguration="wsBehavior" binding="wsHttpBinding" bindingConfiguration="wsbinding" contract="WcfSer...
How to send Points from below Result class with RIA services ?
I've tried what's written below but it doesn't work.
(Only one Point is sent from Points collection !?)
public class Result
{
[KeyAttribute]
public double Key {get;set;}
[Include]
[AssociationAttribute("AssociationName", "Key", "Key")]
public List<Point>...
I've been following the walkthrough for creating your first WCF RIA Services Application from Microsoft and have encountered a problem when trying to edit and update data using the SubmitChanges() method of the Data Context.
The table being updated has an Identity Specification set in SQL Server 2008 on the 'CourseID' column. However t...
I've used WCF RIA services with Entity Framework to build a simple application which can display and updates data about school courses. This was done by following the Microsoft tutorials. Now I would like to have a chart which shows a count for how many courses are on a key stage.
Example:
Key Stage 3 - 20 courses
Key Stage 4 - 32 co...
I configure the DomainDataSource to execute a particular server side method by setting the Query property. If I then make changes to the retrieved data, and call SubmitChanges the control somehow knows the correct method to call. (UpdateEmployee for example) Where is the name of the update method set, or it is simply inferred by some s...
Hi! I've created a WCF RIA Service that I'd like to use with a WPF application. I've added several System.ComponentModel.DataAnnotations validation rules on the entities meta-data, all which work great on the server when I call .SubmitChanges(changeSet) from the client. I'd also like to validate my entities on the client side before I...
I have a functioning SL4 application (VS2010, SL4, WCF RIA, hosted on my dev box using Cassini, 64-bit Windows 7). Inside the ClientBin directory I have an .svc file that describes my service:
<% @ServiceHost Service="MyApp.Services.MyServiceFactory="System.ServiceModel.DomainServices.Hosting.DomainServiceHostFactory" %>
When I brows...
I've got an MVC 2 App with an RIA Services link to a Silverlight Application. The public facing portion of my site will be strictly MVC/HTML, but the administive portion will be silverlight (hosted in an MVC view page with data coming from RIA Services). On my development machine, all is well, but when I deploy to Discount ASP servers,...
I've been playing around lately with Entity Framework, WCF RIA Services, and Silverlight 4. I'm impressed by how rapidly you can develop an application with these tools, and you get a lot "for free", such as the Silverlight UI automatically knowing about certain validations that are included as DataAnnotations on the EF model. However,...
I am using following markup on Silverlight page:
<Grid x:Name="lytEmpForm" Margin="8">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<Colum...
I have a RIA service methods which return quite a large amount of (binary) data to my silverlight application. The methods themselves (database access etc) complete quickly, but since I upgraded to v1.0 from the RC2 I've been experiencing timeouts, even when I limit the data returned to the smallest objects. Debug shows the method return...
Using the Business Application template from the brand new released RIA Services, you can see lots of examples using the data grid on top of a DomainDataSource in combination with a DataPager. The properties PageSize and LoadSize can be used to adjust the amount of data to be displayed in one page and the data that is prefetched in the b...
Hi
in my app, I used WCF Services for load data from SQL DB then in Completed Event Handler of my ServiceClient write this code:
void svc_GetOrdersCompleted(object sender, GetOrdersCompletedEventArgs e)
{
if (e.Error == null)
{
dgOrders.ItemsSource = e.Result;
txtStatus.Text = "";
}
else
txtSta...
Hi.
Is there any way to have a datagrid listen to the database and automatically update the data if the database data is changed? I use a SQL Server database.
I'd like to use Linq-2-SQL if possible
thx in advance :D
...
Hi,
I am developing a Silverlight application with WCF RIA Serivces. now I want to deploy the WCF service on different server and expose services as .svc files. I have used WCF class Library but not able to find how can we deploy Services on the seperate server.
Thanks,
Sharad Rastogi
...
Hi,
I have a WCF Data Service for which I have a custom URL Rewriter so the real url is not visible and I can add special elements in the path for customizing it.
For example:
http://localhost/Data/ABCD.odata/
Maps to:
http://localhost/Data/OneData.svc/
This almost works except that the service is publishing back in the response XML ...