WCF Web Service and Silverlight


i have few questions wcf web services , silverlight.
 
a) true if silverlight application uses wcf web service must wcf silverlight enabled web service?
b) true wcf silverlight enabled web service must hosted in iis?
c) if wcf silverlight enabled web service not have hosted in iis can hosted in self-hosting application?
d) aspnetcompabilitymode have enabled wcf silverlight enabled web services work?
 
i have read on cannot seem concrete answers these questions.
 
thanks
ian

a) no.  can use wcf service supports of supported protocols listed on page

http://msdn.microsoft.com/en-us/library/dd470110(vs.95).aspx the silverlight enabled wcf service template makes easy create compatible service.

 

b) if silverlight app calls service different domain then app looks crossdomain.xml or clientaccesspolicy.xml file give silverlight app permission to use service.  difficult work windows service for example.

http://www.dotnetcurry.com/showarticle.aspx?id=208&aspxautodetectcookiesupport=1

you keep in mind silverlight apps run on client service use must be accessable on internet (or network corporate networks) for silverlight app able use it. 



Silverlight  >  Accessing Web Services with Silverlight



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........