HttpWebRequest + Silverlight 1.1 + WCF
i have asp.net server using wcf web services want call silverlight 1.1 application.
i can standard winforms application using httpwebrequest.
can javascript using activex objects.
life of me can't figure out how working in silverlight 1.1.
1 important part code needs dynamic, must able call adhoc service , method on server should choose.
easy enough javascript or httpwebrequest.
i don't want have write comms part of 1.1 project in javascipt :/
the "any server" bit going in trouble sl right now. sl has same limitations ajax - no cross domain calls allowed in current version. definition of constitutes domain strict, too.
similarly, silverlight 1.1 alpha must use json endpoints. (support soap has been announced future versions.) i assume since make calls via javascript, doing - or activex controls using soap endpoints.
what have tried date, , problems did run into?
on dynamic bit, if services have arbitrary methods , paramters, you'll need @ code service reference generates , duplicate in own code, putting in logic plug in appropriate parameters needed, , handle return types. can tall order.
pete
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment