[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Silverlight, RIA, Progress

Hi there
I am new to Silverlight, RIA development and I do like to get a feedback to the client for long running processes running on the DomainService...
How to do this?

do I have to poll the Domainservicecontext as context.GetCurrentProgress(); or is it possible to make events on the domainservice. But how?

How can i make a simple method in the domainservice as
public int GetValue()
{
 return 1;
}

I do like to return only an int or a boolean or a custom object...
0
Wangor
Asked:
Wangor
1 Solution
 
Anil GolamariCommented:
Do you want to write a wcf service which will pull back data from database and then you want it to display on from end. If you just want to build a service

http://www.dotnetspark.com/kb/652-7-simple-steps-to-connect-sql-server-using.aspx  ( Front end is Silver Light)

http://www.codeproject.com/KB/WCF/LinqWcfService.aspx

Check the above link which should give you good amount of information and also sample code to build a simple getmethod. Hope it helps you
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now