English 中文(简体)
为什么某些亚速国的议会在阿速事例中不在场?
原标题:Why are some Azure-specific assemblies not present on Azure instances?

Azure 角色可能需要一组特定Azure 的.NET 组件, 如 MIcrosoft. WindowsAzure. ServiciceRuntime MIcrosoft. WindowsAzure. StorageClient 。 事实证明,后者是 < a href=> http://blog.arunstephens.com/2011/01/16/microsoft-windowsazure-stories- stormage clients-is- no- pactly- on- azure/" rel= "nofolpol" 而不是在 GAC 的 Azure 实例 < / a > 中, 所以我不得不在视觉工作室项目中设置“ copy local” 到“ true”, 这样它就可以进入服务包中, 并被部署到 Azure 。 如果我不这样做,, 则失去依赖性会阻止我开始发挥作用 。

这对我来说没有任何意义,要么只是个虫子,要么我不明白大局。

为何关键集会不会出现在阿祖尔的例子中? 我和GAC必须带着我的服务包吗?

问题回答

这些关键的Azure集会不是.NET框架的一部分,这就是为什么它们不在GAC。也许将来它们会被加入.NET框架。

Azure 并非专用于运行.NET 代码 。 人们将其用于其他平台 , 如 Java, PHP, node.js, python 等。 在 VM 角色事件中添加具体为.NET Azure 执行的组件是没有道理的 。

- 是的,这也是一个烦恼 当我第一次开始在阿苏尔, 但同样的情况,如果你 发表这个预言 在一个没有阿苏尔SDK的机器上。

为何关键集会不会出现在阿祖尔的例子中? 我和GAC必须带着我的服务包吗?

我想指出,并不是每个项目都需要与存储一起工作,所以储存组装不是预先安装是有道理的。一个要加载的组装要少一点,一个微小的性能改进你得到的。但每个项目都需要与 Windows Azure 运行时间合并。因此运行时间组装要提前安装。根据我的经验,如果我们创建一个 Windows Azure 网络/工人角色,默认情况下,存储组装参考自动复制本地设置为真。 因此,我们不需要做额外任务来让它发挥作用。

最好的注意,

明许





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签