WindowsAzure 之AppFabricCache
1.使用 windows azure平台账号(Live ID)登陆 https://windows.azure.com/
2.创建AppFabricCache
点击 ”Service Bus, Access Control&Caching” 导航
选择AppFabric 下的 Cache 节点,点击New按钮
输入cache的命名空间,选择区域,点击Create Namespace
系统将显示cache 正在activing ,大概需要15分钟左右才能ready:
查看客户端配置,这里的your access token 和 yournamespace name将在下面的实验中用到,千万不要泄漏这两项信息,因为有了这两项信息就可以访问(读写)cache 了,到时可是要付美元的哦:
3.如何在程序中使用AppFabric Cache
a.Web.config 配置如下(注意替换YourNamespaceName和 YourAccessToken):
b. 创建一个类,用于模拟cache要存的信息:
c. 用代码存取cache:
d. 将程序部署到云端(注意cache本地调试可能会有问题,本地无法解析cache的地址),效果如下
注: 如何创建并部署云应用程序,请参考http://blog.csdn.net/farawayplace613/article/details/6933915
分享到:
相关推荐
第3 章到第7 章,通过完整的示例项目系统地介绍windows azure(计算服务、存储服务和部署调试)、sql azure 和windows azure appfabric。最后一章介绍了windows azure平台的高级应用,包括更加深入的功能点、如何在...
Queue存储服务与应用程序问通信、云上的关系数据库:SQL Azure、云上的访问控制技术:AppFabric Access Control、云服务的集散中心:AppFabric Service Bus、Windows Azure与其他平台的互操作性、云计算与Windows ...
Windows Azure
Windows Azure 入门教学系列 本教程系列旨在帮助初学者快速入门 Windows Azure 平台,学习如何创建、部署和管理云端应用程序。通过本系列教程,读者将了解 Windows Azure 的基本概念、开发工具和部署流程。 知识点...
微软云计算平台包括三个主要组件:Windows Azure、SQL Azure和Windows Azure Platform AppFabric。Windows Azure是一个云计算服务的操作系统,负责虚拟化计算资源管理和智能化任务分配;SQL Azure是一个云中的数据库...
Windows Azure 概述
这是一个关于在Windows Azure上使用Cache的ppt,对比了Cache Service、Redis、MemCache等等。
第3章到第7章,通过完整的示例项目系统地介绍Windows Azure(计算服务、存储服务和部署调试)、SQL Azure 和Windows Azure AppFabric。最后一章介绍了Windows Azure平台的高级应用,包括更加深入的功能点、如何在项目...
70-583 PRO: Windows Azure 题库
Teach yourself how to build and host scalable applications in the ...Connect several cloud-based applications with Windows Azure AppFabric Design a multitiered solution that can scale to meet user demand
简要描述Windows Azure最新的功能、特色和主要的服务
循序渐进地介绍了如何构建和管理云端的可扩展应用,一次一个知识点,同时辅之以适当的练习,可帮助读者轻松掌握基本的编程技能,掌握windows azure云计算平台的核心服务和特性,是一本理想的入门教程。 《Windows ...
Windows Azure使用入门 第二课:建立自己的网站.pdf
windows azure
Windows Azure 平台测试手册 Windows Azure 平台测试手册是指在 Windows Azure 平台上进行测试和部署的指南。本手册涵盖了基本测试信息、访问 Windows Azure 过程、Windows Azure IaaS 基本操作等多个方面的知识点...
Build, deploy and manage cloud solutions using combination of Windows Azure Pack, System Center and Hyper-V Impress your peers at work by learning to build applications that can leverage the cloud to ...
Windows Azure云平台概述.pdf
Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure 公有云平台是 微软 云操作系统愿景的三大重要组成部分之一,这平台将会转变 ...
Windows Azure快速入门——为什么选择Windows Azure
Windows Azure从入门到精通含源代码,接受微软的云服务平台Windows Azure帮助包含源代码