|
John Simmons / outlaw programmer wrote: you must have an internet connection to *install* this stuff
Yes, I dislike this as well. More and more MS stuff is like this. What's the rationale? Also, I've noticed that these online installs often seem to download files at a slower rate than a regular download meaning it can take absolutely ages to install even something like C# Express.
Btw, John, why are you playing with Silverlight 3 given your constant moaning about MS and WPF, etc?
Kevin
|
|
|
|
|
Management temporarily went insane and considered switching from WPF to Silverlight for our LOB application. The reasoning was that they didn't want to "force our customers to have to upgrade their OS to something compatible with WPF). Everything is fine now - they discovered that just 20 out of 1000 users are using an OS older than XP, and figured that wasn't a big enough chunk of the user base to worry about it, so they went back on their meds and the wild look in their eyes is almost completely gone. We're sticking with WPF. (That was a very close call.)
"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." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi guys
i am new to wcf, i have a wpf client and a wcf service hosted in window service verything goes fine when i access this service from the local wpf client , but when access this wcf service hosted in window service through another pc i get the following error
"soap security negotiation with "address" for target "address" failed."
can any body tell me where is the problem, it is not a domain environment . my window serivce is running under local system account .
my client config is as follow
system.serviceModel
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IUsers" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://Tauseef-pc:8731/WCF/Service1/"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUsers"
contract="SR.IUsers" name="WSHttpBinding_IUsers">
<identity>
<dns value="Tauseef-pc"/>
</identity>
</endpoint>
</client>
</system.serviceModel>
my server config is as follow ..
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<!-- When deploying the service library project, the content of the config file must be added to the host's
app.config file. System.Configuration does not support config files for libraries. -->
<system.serviceModel>
<services>
<service behaviorConfiguration="WCF.Service1Behavior" name="WCF.UserS">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration=""
contract="WCF.IUsers">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://Tauseef-pc:8731/WCF/Service1/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="WCF.Service1Behavior">
<!-- To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="True"/>
<!-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="False" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
thanks in advance
Regards .
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
It looks ike you just have a simple wsHttpBinding binding on your endpoint
so it should just work.
Can you type "http://Tauseef-pc:8731/WCF/Service1/: into a browser and get a
response?
Have you made any changes to the client config or are you using the default
generated configuration?
Also set includeExceptionDetailInFaults to True for debugging.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
yes i get responce, it says you need to create a client and shows my service methods .
i am still unable to get the problem.
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
ghumman63 wrote: i get responce, it says you need to create a client and shows my service methods
And this works from another client PC?
What about my other question...
Have you made any changes to the client config or are you using the default
generated configuration?
Mark Salsbery
Microsoft MVP - Visual C++
modified on Thursday, May 28, 2009 2:06 PM
|
|
|
|
|
no from other machine in browser it is not accessible ,
i didnt make any changes on the client config file.
Regards ,
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
ghumman63 wrote: from other machine in browser it is not accessible
Then you need to look at that - this is an IT issue.
The "Tauseef-pc" part of "http://Tauseef-pc:8731/WCF/Service1/" is what remote clients
aren't recognizing, or maybe a firewall is blocking incoming connections, or any number
of other IT issues...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
but i can still have full system access from that pc to my wcf hosted pc, i can access shared files,etc
Regards ,
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
Right....I'm not sure what the exact issue is, but whatever it is, outside
clients are unable to reach your service endpoint with the URL you are using.
What about trying the IP....
http://xx.xx.xx.xx:8731/WCF/Service1/
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I am working on a silverlight2.0 project. In this I want to develop login and registration module. As I am new to silver light I am not familiar with the exact method to implement these modules.
If any one have any idea on this please reply me.
Thanks in advance.
|
|
|
|
|
Which part are you having trouble with?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I think he may be calling out the lack of the equivalent controls that ASP.NET has. It also makes it look like the membership system and all that role based security is missing.
I myself am looking for examples of this and looking into the sever that I have found, many once again using services
|
|
|
|
|
You can check RIA service if you are using Silverlight 3.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
Microsoft MVP (Silverlight), WPF/Silverlight Insiders
|
|
|
|
|
Hi,
I am developing one silverlight application in that I placed one main canvas(LayoutRoot) and there are 6 child canvas are there with videos.I have written mouse events for main canvas and child canvas seperately.Purpose when I drag and drop main canvas it will drag entire canvas with child canvas and if I drag one of the child canvas it shouldn't drag main canvas too only drag one that particular canvas.I am facing problem that if I drag main canvas
its working good and if I try to drag one of those child canvas it is dragging main canvas also.Can you please anybody help me how to stop main canvas mouse button events wont effect on child canvas.
Thanks in Advance
Pavani
|
|
|
|
|
Are you marking the mouse events "handled" after you handle them?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
thank you for your response. I have written the mouse down,mouse up and mouse move events for parent canvas and child canvas to drag and drop those canvas.
But If I drag parent cavas it is working fine if i try to drag child canvas parent canvas events are also firing.So,I have put e.handled=true in child canvas mouse down and mouse up events now its not firing parent canvas mouse down and mouse up but parent canvas mouse move event is firing.Because of that if I drag child canvas parent canvas is also dragging.Please help me how to stop firing parent canvas mouse move event.there is no handled=true in mouse move event to set.
|
|
|
|
|
I have written the mouse down,mouse up and mouse move events for parent canvas and child canvas to drag and drop those canvas.
But If I drag parent cavas it is working fine if i try to drag child canvas parent canvas events are also firing.So,I have put e.handled=true in child canvas mouse down and mouse up events now its not firing parent canvas mouse down and mouse up but parent canvas mouse move event is firing.Because of that if I drag child canvas parent canvas is also dragging.Please help me how to stop firing parent canvas mouse move event.there is no handled=true in mouse move event to set.
|
|
|
|
|
I typically just add a flag to my class like "bool isInDrag;".
Set the flag true on mousedown, false on mouse up, and only handle mousemove event
if the flag is true.
You may need two flags if your handlers are in the same class
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I am working on a WPF application. In this I have to implement RSS feeds in my WPF application. Please help me how can I implement RSS feeds in my WPF application.
IF you have any idea, Please reply me.
Thanks in advance.
|
|
|
|
|
|
This is a fairly trivial task. As RSS is just XML, all you need to do is read the feed into an XML document, and parse it - possibly using XLinq. To be honest, you could write a simple RSS reader entirely in XAML with no code behind whatsoever using the XmlDataProvider.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Somehow, my boss hgot it in his head that Silverlight would be a viable technology to deploy an enterprise-level application. We've just spent the last 6 weeks creating a WPF demo, and I'm not in favor of changing to Silverlight at this point.
Can anyone with specific knowledge comment on the pros/cons of using Silverlight over a desktop WPF application? I want a clear and un-biased comparison of the two.
"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." - Jason Jystad, 10/26/2001
modified on Tuesday, May 26, 2009 6:50 PM
|
|
|
|
|
Here is my un-biased answer - Silverlight rocks!
|
|
|
|
|
That's a completely useless f*ckin' answer.
"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." - Jason Jystad, 10/26/2001
|
|
|
|