I want to use a Silverlight application in a cloud on Azure. The communication between the Silverlight application and the WebRole is a WCF-Service with Basic-HTTP-Binding.
My problem is, that the communication doesn't work. I think the endpoint-address is not correct, but I'm not sure.
Can someone help me?
Have you tried using Fiddler that will at least tell you if the end point is correct.
It should also help if there are any permissions issues.
I found these samples cited by the Silverlight Web Services team blog. The Known Issues Wiki is also very helpful. These examples use a binary HTTP binding instead of BasicHttpBinding but they get the job done.
If you are running Vista, like I am, You may need to register the WCF MIME types for IIS 7. You can do this be running a command prompt in elevated mode and executing this command:
C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i
There is an issue with linking to Webservices in Azure. I would check the endpoint in the Silverlight application and make sure it is the same as the port used in your Azure application.
I came across the same issue when working through the Azure Labs and rewrote Excercise 3 (using WCF) so that it would work - that is now available on CodeProject (http://www.codeproject.com/articles/34612/Getting-WCF-to-work-with-Azure.aspx).
I based that on a posting from David Burela's House-o-blog and his description of the problem can be found on his blog.
Related
My company wants to try out the library "Thinfinity Virtual UI", to run a Windows Forms application in a browser.
It seems to more or less work, though the application crashes everytime an embedded browser is attached to the form (Cefsharp), see attached image.
I am not able to catch the error in the try/catch.
Any ideas how to remedy/debug this issue?
I tried searching the web for a solution/alternative to CefSharp, looking at error logs, inserting the try/catch. I also wrote to the company, but so far I get no reply.
This is Luke and I work at Cybele Software where we developed Thinfinity VirtualUI to help Windows developers converting their Legacy Windows Applications into modern Web Applications by just modifying one single line of code and adding our libraries.
Unfortunately, as it is, WebView and Chromium are not supported in our propietary protocol. But do not worry, we have 2 valid workarounds.
Using our HTMLDOC demo. Link to our GitHub HERE
This demo shows how to programatically create an iframe inside your application (using HTMLDOC.CreateComponent) , and how to communicate back and forward between the application and the website running inside that iframe, using Javascript Remote Objects (JSRO)
Using our 'Third Party Applications' Feature. Link on how to enable this HERE
Be aware that to enable this feature, you'll need to have our Thinfinity Broker and your app running on a Windows Server. Basically, with this option, you'll be using a Microsoft feature called 'Desktop Duplication' where we can eventually render any Third Party application with the help of Remote Desktop Services.
I hope this does the trick for you and don't hesitate on contacting us about this or any other doubt you may have about our products :)
Thank you!
I have been developing a small C#/WinForm utility in my spare time and have got to the point where it's ready for release. My previous project was hosted via CodePlex which allowed me to update my source code and manually upload new versions via my computer.
I've recently recieved an MSDN subscription which gives me a fairly generous amount of usage/storage with Windows Azure.
This got me thinking, I know ClickOnce allows applications to be installed via the internet but would it be possible to do so whilst using Azure to host it?
I would like to think that this would allow me to update my application and push it to Azure whilst updating my source code on CodePlex via Team Foundation Server.
Does anybody have any experience in this? Is it something that can even be done?
Thanks for your time:)
Take a look at Kazi Nadudvari's Blog and see if this post helps:
How to deploy ClickOnce applications to Windows Azure?
I'm using hessian protocol for communication betwee server (java) and various client applications. Now I started to develop Windows Phone 7 client. I downloaded hessian C# implementation but it does not compile for windows phone 7/silverlight.
Does anyone managed to make it work on WP7/Silverlight? It's looks like there is many thing to be done/changed to make it work, which I'd like to avoid if it has been done by someone already.
Thanks.
What is it that does not compile? I'm guessing that the implementation is probably using sockets. Please keep in mind that Silverlight (and thus, wp7) limits the kinds of network connections you can open ... preferring asynchronous web requests (via the WebRequest class) or WCF services.
Chances are the code you downloaded is having problems with the compact framework version of the network classes available on the phone/silverlight. See this msdn article for more information about the socket support:
http://msdn.microsoft.com/en-us/library/cc296248%28VS.95%29.aspx
If you want to communicate directly between the phone and a server running the hessian protocol the easiest way will probably be to proxy communication via a wcf service running on an asp.net server.
So answer is you have to rewrite hessian C# implementation as Silverlight 4 doesn't have lot of stuff from .net mobile framework, mainly Proxy class.
Silverlight on Windows CE 6 r3 is different I know, it's Silverlight 2 with a native C++ backend. But is this backend locked down in any way?
Can I access the local file system etc?
I'm currently building a proof-of-concept for a client, and I don't want to show them this lovely UI if I can't deliver on the functionality in the future.
I assume it is 'full trust' and has no restrictions?
Someone let me know as soon as possible please :)
Cheers,
Ash.
First - you can access the local file system from your Embedded Silverlight 2 application.
You can read the following blog post to see how to set a Silverlight application - link.
The blog has a couple of more posts that go through a basic Silverlight application.
By going through the code you will notice that in the C++ code you can do whatever you like. You can link your application against any native Dll and call whatever API you want.
I am concurrently running several different out of browser elevated applications and sending messages between them.
Is there a way for me to check to see if a specific one of those elevated out of browser Silverlight apps are currently running and if not programmatically start that app for the user? preferably without automation. If via automation, how?
Thanks!
After continuing to search for answers on this problem I finally found this post: link
It is a bit of a hack and will not work on a Mac (for now) but it's a start.
I thought I would share it back in case others here were interested.
Check out Tim Heuer's post http://timheuer.com/blog/archive/2010/03/25/using-sllauncher-for-silent-install-silverlight-application.aspx on how you can launch OOB applications. It would be necessary to use automation to run sllauncher.exe. As for detecting if OOB aplication is allready running I'd look to local messaging api. I haven't worked with it myself, so I can only suggest to give it a try.