Azure 上的 WCF 服务
我计划将我的所有 VPS 功能迁移到我的 Azure 订阅。 我有 3 年的免费 bizSpark 订阅,它为我提供了 20 个核心、6 个托管服务和 5 个存储。我相信这是两个小例子。
我的主要目标是转移我目前在 IIS7.0 服务器上运行的 10 个左右 WCF 应用程序。
我可以使用 Azure 托管多少个 WCF 服务?
我整天都在阅读和使用 Azure,但仍然完全搞不清楚它的作用。从我目前的情况来看,似乎每个 WCF 服务都需要自己的托管服务,而我只有 6 个?或者我感到困惑了。 WCF 服务是否需要放入“托管服务”中?
谢谢。
I am planning to migrate all my VPS functions to a my Azure subscription.
I have the free 3 year bizSpark subscription which gives me 20 cores, 6 hosted services and 5 storages. I believe this is 2 small instances.
My Main aim is to transfer my 10 or so WCF applications which I currently run on a IIS7.0 server.
How many WCF services am I able to host with my Azure?
Ive been reading about and playing with Azure all day, but still completely confused what it all does. From my current playing, it seems each WCF service needs its own hosted service, to which i only ahve 6 of? or am I getting confused. Do the WCF services need to be put in a 'hosted service'?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
让我看看是否可以帮忙:
您确实应该下载Windows Azure 平台培训套件。在那里,您将找到易于遵循的实验室,引导您完成所有基础知识、托管服务、部署到多个角色等。
祝您好运!
Let me see if I can help out a bit:
You should really download the Windows Azure Platform Training Kit. There, you'll find easy-to-follow labs that walk you through all the basics, hosting services, deploying to multiple roles, etc.
Good luck!
您可以使用 Azure 做任何事情,因此请不要不知所措。
我们将从您的订阅附带的内容开始。所有这些核心、服务和存储帐户都是您可以部署的,但这与您免费获得的内容无关,任何注册帐户的人都可以访问这些内容。您可以将角色部署到使用两个额外小型实例的服务之一,并且无需付费。如果您部署的内容超过此数量,即使它当前没有运行,您也会被收取费用。
对于您的 WCF 服务,如果您当前将它们全部部署在一个 IIS 机器上,您应该能够创建一个 Web 角色并将其配置为 托管多个站点。但是,如果您只有超小型实例,根据您的应用程序使用的资源,它们的性能可能不会很好(例如,超小型实例只有 750MB 的 RAM)。如果是这种情况,您将需要创建多个 Web 角色,并根据需要在每个 Web 角色中托管尽可能多的应用程序。
You can do just about anything with Azure so try not to get overwhelmed.
We'll start with with what comes with your subscription. All of those cores, services and storage accounts are what you have available to deploy to, but that is not related to what you get for free, anyone who signs up for an account gets access to those. You can deploy a role to one of those services which uses two extra small instances and not get charged. If you deploy anything more than that, you will get charged, even if it's not currently running.
For your WCF services, if you currently have them all deployed on just one IIS box, you should be able to create one Web role and configure it to host multiple sites. However, if you only have extra small instances, depending on the resources your applications use, they may not perform very well (e.g. extra small instances only have 750MB of ram). If this is the case you will need to create more than one web role and host as many of your applications in each web role as you need.