使用来自Silverlight的Windows Azure Service Bus

技术标签: Azure.  Silverlight.  AzureserviceBus.

是否可以从Silverlight应用程序托管在服务总线上托管服务?我尝试了谷歌曲,但没有一个结果有帮助。

查看样本(EchoService),它们使用特定的Microsoft DLL来设置服务的身份验证。我似乎无法将此DLL添加到我的项目中(DUH它是完整的CLR),我不确定如何在客户端在客户端复制其行为。

谢谢您的帮助。

看答案

我已经看过2008年11月CTP代码,并且由于NetTCPRELAYBINDING和Silverlight的有限TCP支持的依赖,从Silverlight获取EchoService客户端非常不可能。

我建议让您的Silverlight客户端调用您控制和代理Azure平台的请求的后端服务。不是一个理想的解决方案,而是现在的解决方法。

更新:Azure服务总线现在可以使用REST API调用从Silverlight访问。看 http://msdn.microsoft.com/en-us/library/ff797957.aspx. 了解更多信息。


智能推荐

Windows Azure Cloud Service (37) 浅谈Cloud Service

  《Windows Azure Platform 系列文章目录》     最近在和一些客户聊天,常常被遇到这样的问题:   1.问题一:我在创建一个新的Windows Azure Virtual Machine的虚拟机时候,会同时创建同样名称的Cloud Service(云服务)。   我看微软的报价里说虚拟机会收费,云服务也会收费。这样的话,我使用虚拟机,是不是收取我虚拟机+云服务=...

提升Azure App Service的几个建议

本文介绍了6个技巧,这些技巧可以改善Azure App Service托管应用程序的性能。其中一些技巧是你现在就可以进行的配置变更,而其他技巧则可能需要对应用程序进行一些重新设计和重构, 本文的几个技巧对于常规企业部署依旧有指引作用。 长话短说     开发者都希望从部署在Azure的App Services中压榨出最佳性能,更好的性能不仅能够获得更佳的响应...

Windows Azure Cloud Service (36) 在Azure Cloud Service配置SSL证书

《Windows Azure Platform 系列文章目录》     在某些时候,我们需要在Azure PaaS Cloud Service配置HTTPS连接。本章将介绍如何在本地创建证书,然后使用HTTPS连接Azure Cloud Service。     注意:我这里使用的是自签名证书,所以最后浏览器提示警告是很正常的。我们在实际使用中,需要从CA那边拿到签名的证书。 ...

Azure Media Service (1) 使用OBS进行Azure Media Service直播

  《Windows Azure Platform 系列文章目录》      今天正好有客户问如何使用OBS进行Azure Media Service直播,我这里简单介绍一下。     先决条件:   1. OBS Studio: https://obsproject.com/,下载并安装   2. Azure China账户     操作步骤主要分为以下几部分:  ...

Windows Azure Cloud Service (40) 使用VS2013的publishSettings文件,发布Cloud Service

《Windows Azure Platform 系列文章目录》     在之前的文档中,笔者已经介绍了如何使用本地证书上传至云端的方式,将本地的Cloud Service发布至云端。   在本章中,笔者将介绍如何使用publishSettings文件,发布Cloud Service。     注意:本文适用于国外的Azure Global和国内世纪互联运维的Azure Chin...

猜你喜欢

Windows Azure Cloud Service (14) 使用Windows Azure诊断收集日志记录数据

  《Windows Azure Platform 系列文章目录》     如果我们在本地服务器上调试应用程序,我们可以使用Visual Studio设置断点或者输出日志文件的方式。   但是我们把应用程序部署到云端服务器上之后,就不能使用传统的方式来调试应用程序了。那我们部署到云端的应用程序运行时如何监视并且发现和修改Bug呢?   Windows Azure提供了诊断功能,该功能能够...

Windows Azure Cloud Service (10) Role的生命周期

《Windows Azure Platform 系列文章目录》     在上一章内容中,我们提到了Windows Azure会依次调用角色(Role)实例的OnStart()方法和Run()方法。   在本节中我们会对Role的生存周期进行进一步的了解。首先,让我们走到幕后看看一个Role Instance是怎么被发布到虚拟机上并启动起来的。      Role在虚拟机上部署和运行的过程...

如何更有价值采集数据、高效分析数据?

上回说到,用户行为数据的意义和价值《为什么要进行用户行为分析?》,以及互联网产品用户模型的构建,这其中就包含了对数据的采集和分析两大块儿,本文将从数据采集的三大要点、如何让分析更有价值更高效、以及数据分析思维三部分展开聊。 一、数据采集的三大要点 1、全面性 数据量足够具有分析价值、数据面足够支撑分析需求。 比如对于“查看商品详情”这一行为,需要采集用户触发时的环境信息、会...

shell脚本编程基础(三)

结构化命令(一) if-then和case语句。 If-then-else语句 当if语句中的命令返回非零退出状态码时, bash shell会执行else部分中的命令。 嵌套if-then语句的问题在于代码不易阅读,很难理清逻辑流程。 可以使用else部分的另一种形式:elif。这样就不用再书写多个if-then语句了。 elif使 用另一个if-then语句延续else部分。 elif语句行提...

IBM主机:知天命后再出发

                    第1页:市场究竟还需不需要主机? 第2页:z13改进了什么?第3页:z13还需要改进什么?               ...

问答精选

URL for a user content site and SEO

I was thinking about how i should write my URLs. I want them to A) Be user friendly B) SEO C) allow fast DB queries. The information i have are username, category, mediaId, title and other data i dont...

How to use the Clojure -> macro with an inner function

I'm a Clojure beginner and I want to understand the -> macro This code works: But this doesn't even compile and I don't know how to deal with the error message: CompilerException java.lang.IllegalA...

Java Program to make Tic Tac Toe not working

For my programming class I'm supposed to make a program that simulates a game of tic tac toe. My teacher provided all the methods and said we shouldn't need to add any or take any away, and told us we...

How can i exit the for statement in assembly

The purpose of this code is to flash the bits turned on three times, exit the loop and turn them off. Currently the code seems to be in an infinite loop and does not exit the loop after the count is 0...

Simple Camel test fails with no messages recieved

Am using Spring Boot and I have just added camel to it. I have a simple camel route setup : When I try to create simple test for this route with : It fails with Not sure what could be a problem here. ...

相关问题

相关文章

热门文章

推荐文章

相关标签

推荐问答