I know LINQ is not supported in Silverlight 1.1a, and I really hope that it does in 1.1b, I am not able to use XML support in (exculsive to) VB 9 by importing XML schema and playing around with the XML.
Second, why can't I include a web reference to a nasmx service inside my solution? I get an error when i try to refer my service saying "only silverlight projects can be referenced", I dont remember where but I have seen a demo where you can get data from a
service inside your solution. Does any one have any idea if Silverlight 1.1b wud support this?
I used LINQ in C# with Silverlight 1.1 alpha. I didn't go against XML, just other objects. Steve did a bunch of that in the project back in July as well so it has been there for a while, at least when using C#.
As to your second question: Yes, you need to add a web reference to a web service that is marked as a [ScriptService]. That attribute makes it return everything in JSON format instead of SOAP. Take a look at the quickstarts under "Learn" above for examples
of how to do that. The service basically needs to be an AJAX service (JSON). Microsoft has said that they will support SOAP in a future release of 1.1 (alpha/beta/rtm)
Pete
Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
The official Silverlight shows that LINQ will be supported in Silverlight. Regarding web service, please check this excellent post by Peter Kellner about integrating web services with Silverlight
Cass
Contributor
3157 Points
654 Posts
XML in Silverlight
Nov 13, 2007 01:48 PM | LINK
I know LINQ is not supported in Silverlight 1.1a, and I really hope that it does in 1.1b, I am not able to use XML support in (exculsive to) VB 9 by importing XML schema and playing around with the XML.
Second, why can't I include a web reference to a nasmx service inside my solution? I get an error when i try to refer my service saying "only silverlight projects can be referenced", I dont remember where but I have seen a demo where you can get data from a service inside your solution. Does any one have any idea if Silverlight 1.1b wud support this?
silverlight vb linq XML Web service
Imran Shaik - Vectorform
Old Blog | Silverlight 2.0 Quintessential Rambling |My Feed
Psychlist1972
Contributor
6802 Points
1079 Posts
Microsoft
Moderator
Re: XML in Silverlight
Nov 13, 2007 04:10 PM | LINK
Hi Cass
I used LINQ in C# with Silverlight 1.1 alpha. I didn't go against XML, just other objects. Steve did a bunch of that in the project back in July as well so it has been there for a while, at least when using C#.
As to your second question: Yes, you need to add a web reference to a web service that is marked as a [ScriptService]. That attribute makes it return everything in JSON format instead of SOAP. Take a look at the quickstarts under "Learn" above for examples of how to do that. The service basically needs to be an AJAX service (JSON). Microsoft has said that they will support SOAP in a future release of 1.1 (alpha/beta/rtm)
Pete
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
y_makram
Contributor
6952 Points
1353 Posts
Re: XML in Silverlight
Nov 13, 2007 04:21 PM | LINK
The official Silverlight shows that LINQ will be supported in Silverlight. Regarding web service, please check this excellent post by Peter Kellner about integrating web services with Silverlight
http://peterkellner.net/2007/06/18/silverlightdebugwebservicedotnet/
Yasser Makram
Independent Consultant
http://www.silverlightrecipes.com
_____
Dont forget to click "Mark as Answer" on the post that helped you.
Cass
Contributor
3157 Points
654 Posts
Re: Re: XML in Silverlight
Nov 13, 2007 04:27 PM | LINK
Thanks for the help guys
Imran Shaik - Vectorform
Old Blog | Silverlight 2.0 Quintessential Rambling |My Feed