当前位置:主页 > Office办公 > 会话

会话

Excel服务VI——用Excel Web Services创建应用程
Excel服务VI——用Excel Web Services创建应用程

Excel Services part 6: Building applications with Excel Web ServicesExcel Services(第6部分):用Excel Web Services创建应用程序While talking about scenarios for Excel Services, I mentioned “Reusing the logic encapsulated in Excel spreadsheets in custom applications” – which means accessing spreadsheets and their contents server-side via web services in a way that’s scalable and manageable. I would like to elaborate on this topic over a couple of posts. Today, I will introduce “Excel Web Services”; in a follow-up post I will show how to develop a small sample application using said web services.在介绍Excel Services 中的方案时,我提到过”在用户自定义程序中重复利用Excel电子表格的逻辑封装”——可升级和管理通过网络服务器访问电子表格和存储信息服务器端。我在上面的一些文章中就这个主题作过详细的介绍。今天,我将介绍“Excel Web Services”,接下来的文章展示如何用网络服务器开发小的应用程序示例。In a nutshell…概述Let’s briefly revisit Excel Services’ architecture. The Excel Calculation Service is the “engine” of Excel Services; it is the component that loads and calculates spreadsheets. In the “interact with the spreadsheet in your browser” scenarios covered in previous posts, Excel Calculation Services loads and calculates a spreadsheet and then hands it off to the Excel Web Access, which is the component that produces the HTML that ends up in your browser. The point of today’s post (and the post that will follow) is that developers can also use Excel Calculation Services without needing to interact with the Excel Web Access. Specifically, we have built a web service API directly on top of the Excel Calculation Services so that developers can call server-side spreadsheets directly from their own applications. For example, developers could write code that opens a spreadsheet on a server, sets cells and ranges to specific values, controls external data refresh and workbook calculation, and finally retrieves values from the calculated workbook (or retrieves the workbook in its entirety). Let’s look at some more specific examples.先简单地回顾一下Excel Services架构 。Excel Calculation Service是Excel Services的”引擎”,是装载和计算电子表格的组件。在上篇文章中介绍了”在浏览器中与电子表格相交互”, Excel Calculation Service装载和计算电子表格,并且不需要Excel Web Access(配置在浏览器中生成HTML的组件)。这篇文章接下来介绍开发者不需要Excel Web Access的配合也能运用Excel Calculation Service。具体地讲,我们在Excel Calculation Service中已经直接创建了一个网络服务器API,以便于开发者能在他们自己的应用程序中直接调用网络服务器端的电子表格。例如,开发者能够写用来打开服务器上的电子表格的代码,设置单元格和区域为指定值,控制外部数据更新和工作薄计算,并且最后从已经过计算的工作簿中取回数值(或取回整个工作薄)。下面列举了一些更详细的例子。What sorts of things are these web services good for?

130 次浏览
Windows Server 2012 R2 Hyper-v 虚拟机连接增强会话模式配置
Windows Server 2012 R2 Hyper-v 虚拟机连接增强会话模式配置

在虚拟化环境下,想让您的主机和虚拟机之间方便的复制、粘贴文件吗?想让您的虚拟机使用主机的打印机吗?想在虚拟机里听音乐吗?想使用USB设备么?想让。。。那就安装Windows server 2012 R2 Hyper-v吧。先给微软做一个广告吧。 一直以来,Hyper-v的主机和虚拟机之间不能方便的通信,特别是不能使用USB设备,让许多使用USB软件加密的的用户选择放弃的Hyper-v,但新一台Hyper-v完全解决了这些问题。 以下是Windows Server 2012 R2 Hyper-v 虚拟机连接增强会话模式配置过程: 打开Hyper-v管理器——Hyper-v设置  服务器——允许增强会话模式  用户——使用增强会话模式  打开虚拟机连接,服务器可以选择本地的,也可以选择远程的,选中服务器后,会出现本服务器上的虚拟机。

Hyper-V Server 2012通过Powershell添加Hyper-v角色
Hyper-V Server 2012通过Powershell添加Hyper-v角色

一般情况下,当我们安装完Windows Server操作系统、准备好备用资源后,都要添加服务器角色和功能,Microsoft Hyper-V Server 2012安装完也一样,得添加Hyper-v角色:     1、显示Hyper-v都要添加哪些功能: Get-WindowsFeature Hy* (感觉这个命令有点像display或List) 下图是完整Server 2012和Microsoft Hyper-V Server 2012的对比图,我们看到,完整Server 2012添加Hyper-v角色要添加三个模块:Hyper-v;Hyper-v-Tools(这个是图形化管理工具,因为Microsoft Hyper-V Server 2012没有图形化管理工具,所有没有这个模块);Hyper-v-PowerShell,而Microsoft Hyper-V Server 2012只有两个模块:Hyper-v和Hyper-v-PowerShell;      2、安装Hyper-v角色: Install-WindowsFeature Hyper-V 先给完整版Server的添加角色:  要重新启动  

Hyper-v的PowerShell:安装和配置 教程
Hyper-v的PowerShell:安装和配置 教程

介绍过一些有关Hyper-v的Powershell的应用,总感觉不是很系统,从本节开始,我试着在Windows Server 2012 R2上从零开始,详细的介绍Hyper-v的PowerShell的一些用法。由于本人也是一个初学者,不当之处还请大家指导。        1、建立存放虚拟机和虚拟文件(虚拟硬盘)的文件夹。        我们知道,Windows 在默认情况下把一切都安装在一个分区里,也就是OS安装在什么地方,其它配置就安装在什么地方,目的是怕新手配置的时候出错,但这样有一个问题,把所有的配置和OS混合安装,大大的影响了系统的性能,所以在规划虚拟服务器的第一步,就是服务的配置存放路径。Windows Server 2012 R2 Hyper-v 主机默认存放路径为:C:\ProgramData\Microsoft\Windows\Hyper-V;VHDX(虚拟硬盘)的存放路径为:C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks;因为我的系统的E盘为存储,所以我准备把这两项放到E盘里去,分别是主机为VM;虚拟硬盘为:VHD。创建VM文件夹:New-Item E:\VM -ItemType Directory创建VHD文件夹:New-Item E:\VHD -ItemType Directory        2、安装Hyper-v角色和管工具: