.net Windows AppFabric 到底是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1879672/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What exactly is the Windows AppFabric?
提问by laktak
Microsoft released a beta of Windows Server AppFabric that "makes it easier to build, scale and manage Web and composite applications that run on IIS".
微软发布了 Windows Server AppFabric 的测试版,它“使构建、扩展和管理在 IIS 上运行的 Web 和复合应用程序变得更加容易”。
MS has also said that you can deploy AppFabric on your own servers, on a 3rd party host and on Windows Azure.
MS 还表示,您可以在自己的服务器、第 3 方主机和 Windows Azure 上部署 AppFabric。
So far we haven't done any Azure development mostly because the API differs from ASP.NET and you can only deploy your app to the cloud (and not on your own servers).
到目前为止,我们还没有进行任何 Azure 开发,主要是因为 API 与 ASP.NET 不同,您只能将应用程序部署到云(而不是您自己的服务器上)。
So if I use the AppFabric API, will that let me create apps that I can deploy in house, at a 3rd party hoster or on the cloud with the same API? Will it be a 'first class citizen' in all of these?
因此,如果我使用 AppFabric API,是否可以让我创建可以使用相同 API 在内部、第三方托管商或云上部署的应用程序?它会成为所有这些中的“一等公民”吗?
Where does this leave the Azure API - is AppFabric a replacement? What about Azure SQL?
这让 Azure API 在哪里 - AppFabric 是替代品吗?Azure SQL 怎么样?
采纳答案by Chuck Le Butt
As far as I'm concerned, the main thing that AppFabricoffers is what was previously codenamed "Velocity".
就我而言,AppFabric提供的主要内容是以前代号为“Velocity”的内容。
Velocitywas the original name for Microsoft's answer to MemCached, with the benefit of being written specifically for Windows (with x64 compatibility), and also having better ASP.NET integration.
Velocity是 Microsoft 对MemCached的回答的原始名称,其好处是专门为 Windows 编写(具有 x64 兼容性),并且还具有更好的 ASP.NET 集成。
Microsoft have bundled this with something for "managing software built with Windows Workflow Foundationand Windows Communication Foundation". (A project previously codenamed Dublin.)
微软将其与“管理使用Windows Workflow Foundation和Windows Communication Foundation构建的软件”捆绑在一起。(以前代号为Dublin的项目。)
Those two projects (Velocityand Dublin) have now been put together and are being sold under the title AppFabric.
这两个项目(Velocity和Dublin)现已组合在一起,并以AppFabric的名义出售。
回答by Kyle Nunery
AppFabric is 2 things so far: a caching provider and a monitoring service.
到目前为止,AppFabric 是两件事:缓存提供程序和监控服务。
The caching facility was previously called Velocity and only recently was added to AppFabric. This caching facility, now called AppFabric Caching, provides local caching, bulk updates, callbacks for updates, etc... so this is why it's exciting over something like MemCache which doesn't provide these features OOB.
缓存工具以前称为 Velocity,最近才添加到 AppFabric。这个缓存工具,现在称为 AppFabric 缓存,提供本地缓存、批量更新、更新回调等......所以这就是为什么它比不提供这些功能 OOB 的 MemCache 令人兴奋。
The monitoring facility is a plugin for IIS 7 manager that works in conjunction with 2 windows services which are called AppFabric Workflow Management Service and AppFabric Event Collection Service. Once you install AppFabric you get 3 "features" in IIS manager:
监控工具是 IIS 7 管理器的插件,它与 2 个 Windows 服务一起工作,这些服务称为 AppFabric 工作流管理服务和 AppFabric 事件收集服务。安装 AppFabric 后,您将在 IIS 管理器中获得 3 个“功能”:
- AppFabric Dashboard
- EndPoints
- Services
- AppFabric 仪表板
- 端点
- 服务
If you are using WWF (Windows Workflow) then using AppFabric gives you advanced control over monitoring and troubleshooting failures with a workflow.
如果您使用的是 WWF(Windows 工作流),那么使用 AppFabric 可以让您通过工作流对监控和故障排除进行高级控制。
回答by Preet Sangha
Its the new name for the technology codenamed Dublin. A simple way of looking at it is that it represents the latest evolution of pre canned hosting for applications based on the WF and WCF. It will form a foundation for scalable services, and as such azure will be part of the landscape. We currently have our own hosting services for WF but while migrating to WF4 we're trying out App Fabric for long term scalability solutions.
它是代号为都柏林的技术的新名称。一个简单的观察方式是,它代表了基于 WF 和 WCF 的应用程序预制托管的最新发展。它将形成可扩展服务的基础,因此 azure 将成为景观的一部分。我们目前拥有自己的 WF 托管服务,但在迁移到 WF4 时,我们正在尝试使用 App Fabric 来实现长期可扩展性解决方案。
It's a lot by being based on existing technolgies such as IIS, WF, WCF ETW etc and on top of these MS are adding things like reporting, management etc. I suspect that the azure api's will form a lower level or more rightly cloud only api.
基于 IIS、WF、WCF ETW 等现有技术,并且在这些 MS 之上添加诸如报告、管理等内容。我怀疑 azure api 将形成较低级别或更正确的仅云 api .
回答by rob
from the Windows Server Developer Center > Learn > Windows Server AppFabricpage white paper.
来自Windows Server 开发人员中心 > 学习 > Windows Server AppFabric页白皮书。
The Windows Azure platform component that contains Service Bus is known as Windows Azure AppFabric. Despite its name, this component currently shares no technologies with Windows Server AppFabric. Microsoft says that this will change, however. In particular, both AppFabric Caching Services and AppFabric Hosting Services will find their way into Windows Azure AppFabric in the not-too-distant future. Once this happens, application developers will be able to use the same application infrastructure both on premises with Windows Server and in the cloud with Windows Azure.
包含服务总线的 Windows Azure 平台组件称为 Windows Azure AppFabric。尽管名称如此,但该组件目前不与 Windows Server AppFabric 共享任何技术。然而,微软表示这将改变。特别是,在不久的将来,AppFabric 缓存服务和 AppFabric 托管服务都将进入 Windows Azure AppFabric。一旦发生这种情况,应用程序开发人员将能够在本地使用 Windows Server 和在云中使用 Windows Azure 使用相同的应用程序基础架构。
回答by Hajk Hovhannisyan
Do not use App Fabric in a new project. Microsoft published information about the end of support for this product: https://blogs.msdn.microsoft.com/appfabric/2015/06/19/microsoft-appfabric-1-1-for-windows-server-support-lifecycle-extension-4112017/
不要在新项目中使用 App Fabric。Microsoft 发布了有关此产品终止支持的信息:https: //blogs.msdn.microsoft.com/appfabric/2015/06/19/microsoft-appfabric-1-1-for-windows-server-support-lifecycle-扩展-4112017/
回答by Ravian
even after 2 years of its release, appfabric is still trying to make its name in the market, which so far looks like a mission impossible for them. Microsoft is in habit of enjoying the monopoly in the market but not in case of appfabric. some of the well establish and mature distributed caching products like NCacheand some others are doing pretty well job so appfabric has to come up with something new and extraordinary to compete with them
即使在发布 2 年后,appfabric 仍在努力在市场上声名鹊起,到目前为止,这对他们来说似乎是一项不可能完成的任务。微软习惯于在市场上享受垄断,但在appfabric的情况下则不然。一些成熟和成熟的分布式缓存产品,如NCache和其他一些做得很好,所以 appfabric 必须想出一些新的和非凡的东西来与他们竞争

