Click here to Skip to main content
15,917,538 members
Home / Discussions / WPF
   

WPF

 
Questionhow to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi5-Jul-10 22:00
Ch.Gayatri Subudhi5-Jul-10 22:00 
AnswerRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Arun Jacob5-Jul-10 22:52
Arun Jacob5-Jul-10 22:52 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi6-Jul-10 18:22
Ch.Gayatri Subudhi6-Jul-10 18:22 
AnswerRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Abhinav S6-Jul-10 18:30
Abhinav S6-Jul-10 18:30 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi6-Jul-10 20:39
Ch.Gayatri Subudhi6-Jul-10 20:39 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Abhinav S6-Jul-10 21:35
Abhinav S6-Jul-10 21:35 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi7-Jul-10 2:51
Ch.Gayatri Subudhi7-Jul-10 2:51 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi7-Jul-10 18:42
Ch.Gayatri Subudhi7-Jul-10 18:42 
AnswerRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Abhinav S7-Jul-10 19:39
Abhinav S7-Jul-10 19:39 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi7-Jul-10 20:59
Ch.Gayatri Subudhi7-Jul-10 20:59 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi7-Jul-10 21:19
Ch.Gayatri Subudhi7-Jul-10 21:19 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
kadoo448-Jul-10 10:24
kadoo448-Jul-10 10:24 
GeneralRe: how to embeded a youtube video in a silverlight page(.xaml page) using silverlightblend 3.0. Pin
Ch.Gayatri Subudhi8-Jul-10 17:35
Ch.Gayatri Subudhi8-Jul-10 17:35 
QuestionAlternative to SelectionStart, SelectionLength in combo box in wpf Pin
dashingsidds5-Jul-10 20:22
dashingsidds5-Jul-10 20:22 
QuestionSilverlight Styles Pin
josehidalgor5-Jul-10 15:58
josehidalgor5-Jul-10 15:58 
AnswerRe: Silverlight Styles Pin
Abhinav S5-Jul-10 19:14
Abhinav S5-Jul-10 19:14 
AnswerRe: Silverlight Styles Pin
Kunal Chowdhury «IN»5-Jul-10 19:43
professionalKunal Chowdhury «IN»5-Jul-10 19:43 
GeneralRe: Silverlight Styles Pin
Kunal Chowdhury «IN»5-Jul-10 19:45
professionalKunal Chowdhury «IN»5-Jul-10 19:45 
QuestionWCF - AGAIN Pin
#realJSOP5-Jul-10 3:54
professional#realJSOP5-Jul-10 3:54 
Alright. I'm trying to connect to a WCF web service from a SL4 app. I've tested the service with the WCFServiceTester utility, and it works fine. However, from the Silverlight application, it fails. When I watch it under fiddler, the clientaccesspolicy.xml file is being requested, but it appears to not be found (404). The file is in the root of the service, so I'm not sure what's wrong.

The service's web config:

<system.serviceModel>
    <bindings>
        <basicHttpBinding>
            <binding name="httpBinding0" >
                <security mode="None" />
            </binding>
        </basicHttpBinding>
    </bindings>

    <behaviors>
        <serviceBehaviors>
            <behavior name="KraftsSvc.KBKBehavior">
                <serviceMetadata httpGetEnabled="true" />
                <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
        </serviceBehaviors>
    </behaviors>

    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

    <services>
        <service name="KraftsSvc.KBK" behaviorConfiguration="KraftsSvc.KBKBehavior" >
            <host>
                <baseAddresses>
                    <add baseAddress="http://75.11.0.157/KraftsSvc" />
                </baseAddresses>
            </host>
            <endpoint address="/" 
                        binding="basicHttpBinding" 
                        bindingConfiguration="httpBinding0" 
                        contract="KraftsSvc.KBK" />
        </service>
    </services>

</system.serviceModel>


The ClientAccessPolicy.xml file:

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

    </cross-domain-access>
</access-policy>


The ServiceReferences.ClientConfig file:

<configuration>
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="HttpBinding_KBK" 
                          maxReceivedMessageSize="2147483647" 
                          maxBufferSize="2147483647" >
                    <security mode="None" />
                </binding>
            </basicHttpBinding>
        </bindings>

        <client>
            <endpoint name="HttpEndPoint_KBK" 
                      address="http://75.11.0.157/KraftsSvc/KBK.svc" 
                      binding="basicHttpBinding"
                      bindingConfiguration="HttpBinding_KBK" 
                      contract="KraftsService.KBK" />
        </client>
    </system.serviceModel>
</configuration>

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

AnswerRe: WCF - AGAIN Pin
Abhinav S5-Jul-10 4:41
Abhinav S5-Jul-10 4:41 
GeneralRe: WCF - AGAIN Pin
#realJSOP5-Jul-10 4:44
professional#realJSOP5-Jul-10 4:44 
GeneralRe: WCF - AGAIN Pin
Abhinav S5-Jul-10 4:59
Abhinav S5-Jul-10 4:59 
GeneralRe: WCF - AGAIN Pin
#realJSOP5-Jul-10 5:02
professional#realJSOP5-Jul-10 5:02 
GeneralRe: WCF - AGAIN Pin
Abhinav S5-Jul-10 5:25
Abhinav S5-Jul-10 5:25 
GeneralRe: WCF - AGAIN Pin
#realJSOP5-Jul-10 14:39
professional#realJSOP5-Jul-10 14:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.