Click here to Skip to main content
15,902,832 members
Home / Discussions / WPF
   

WPF

 
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 
QuestionAfter changing global bool, IsEnabled property is not updating Pin
xtr33me4-Jul-10 10:15
xtr33me4-Jul-10 10:15 
AnswerRe: After changing global bool, IsEnabled property is not updating Pin
Pete O'Hanlon4-Jul-10 10:43
mvePete O'Hanlon4-Jul-10 10:43 
GeneralRe: After changing global bool, IsEnabled property is not updating Pin
xtr33me5-Jul-10 1:48
xtr33me5-Jul-10 1:48 
GeneralRe: After changing global bool, IsEnabled property is not updating Pin
Pete O'Hanlon5-Jul-10 1:54
mvePete O'Hanlon5-Jul-10 1:54 
AnswerRe: After changing global bool, IsEnabled property is not updating Pin
BechBej4-Jul-10 12:16
BechBej4-Jul-10 12:16 
GeneralRe: After changing global bool, IsEnabled property is not updating Pin
xtr33me5-Jul-10 1:49
xtr33me5-Jul-10 1:49 
QuestionClickable tooltip Pin
John Underhill4-Jul-10 3:12
John Underhill4-Jul-10 3:12 
AnswerRe: Clickable tooltip Pin
BechBej4-Jul-10 12:12
BechBej4-Jul-10 12:12 
GeneralRe: Clickable tooltip Pin
John Underhill5-Jul-10 9:42
John Underhill5-Jul-10 9:42 
GeneralRe: Clickable tooltip Pin
Pete O'Hanlon5-Jul-10 9:55
mvePete O'Hanlon5-Jul-10 9:55 
GeneralRe: Clickable tooltip Pin
John Underhill5-Jul-10 10:33
John Underhill5-Jul-10 10:33 

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.