Comments.

  • Ricky said:
    Gravatar
    # re: New Silverlight videos posted


    Hi there,

    Looks like there is bug in it that I got cross domain policy on my web server where Web service has been hosted.

    <?xml version="1.0" encoding="utf-8"?>
    <access-policy>
    <cross-domain-access>
    <policy>
    <allow-from>
    <domain uri="*"/>
    </allow-from>
    <grant-to>
    <resource path="/" include-subpaths="true"/>
    </grant-to>
    </policy>
    </cross-domain-access>
    </access-policy>


    I also got a SL application on same server.

    Whenever I am trying to access Web Service http://localhost/myWebService.asmx from http://localhost./SLapplication

    It does not work.

    The only difference is (.)

    I can understand SL would consider this as a separate URL by having a dot, but how to change policy that it cover dot too?


    Ricky

    4/18/2008 12:07 AM
  • timheuer said:
    Gravatar
    # re: New Silverlight videos posted


    @ricky: for increased security on path comparisons we disallow "." and ".." -- do you have a scenario where that is required?

    4/18/2008 10:07 AM
  • Ben Hayat said:
    Gravatar
    # re: New Silverlight videos posted


    Hi Tim;

    Just watched the WCF video and it's very nice. Direct to the point and very clear.

    Since SL has to go through some service (preferably, a WCF one), we need to use WCF to build services for data access and also communicate with other services.
    My first question is, for above purpose, how expert do we need to become in the whole WCF stack for developing SL applications?
    And secondly, what books or resources do you recommend to a novice WCF developer?

    Thank you and looking forward to your next series!
    ..Ben

    4/18/2008 9:38 PM
  • Mehran said:
    Gravatar
    # re: New Silverlight videos posted


    Hi Tim,

    Could you tell me please, will the RTM version of SL 2.0 contain a XamlWriter?

    Thanks.

    4/19/2008 5:37 PM
  • Robert said:
    Gravatar
    # re: New Silverlight videos posted


    Good video, but how do you debug these apps? If you launch the website and attach the debugger then there are no symbols loaded so the breakpoints don't work and you can't run the C# project because of the web service reference. Can you help here?

    4/20/2008 10:22 AM
  • timheuer said:
    Gravatar
    # re: New Silverlight videos posted


    @robert: good question on debuggin. select the web project, right-click and choose property pages. click the startup options tab and then select silverlight checkbox to debug silverlight.

    hope that helps!

    4/20/2008 8:21 PM
  • timheuer said:
    Gravatar
    # re: New Silverlight videos posted


    @mehran: have you seen the XDocument LINQ to XML support? will that work for you having an XmlWriteTo() function?

    4/20/2008 8:24 PM
  • timheuer said:
    Gravatar
    # re: New Silverlight videos posted


    @ben: as far as how much different, i think WCF enables a lot of different scenarios, but if all you need is an HTTP endpoint, you already know how to do all of this. to learn more about WCF, the top sellers are the titles from o'reilly: http://tinyurl.com/3lvna8

    4/20/2008 8:39 PM
  • Robert said:
    Gravatar
    # re: New Silverlight videos posted


    OK, but you need to make sure the web project is set as the starup project and hit F5. This then runs (by default) the svc file and I you to set the startup page to the aspx test page in the startup options as well as check the silverlight box.

    4/21/2008 5:34 AM
  • Mehran said:
    Gravatar
    # re: New Silverlight videos posted


    Hi,

    Thanks for the reply, I've created a XamlWriter using XmlWriter and Reflection(http://weblogs.asp.net/mehrantoosi/archive/2008/03/03/silverlight-s-xamlwriter.aspx) in the age of SL 1.1 :) but I want to see is that worth to rewrite the class for SL 2.0 or it will be supported in the final version?

    Thanks Again.

    4/21/2008 2:03 PM

Your Reply.

  Comment Form  

Fields denoted with a "*" are required.

*Your name:
Subject:
Your blog:
Your email:  (will not be displayed)
*Your message:

 
Please add 1 and 6 and type the answer here: