在 Windows Azure 中运行SuperSocket
关键字: Windows Azure, WorkRole, InputEndPoint, 云计算, 微软云
什么是 Windows Azure?
Windows Azure 是微软的云计算平台!微软的Windows Azure通过它的数据中心提供了按需分配的计算能力和存储空间用于在互联网上托管,扩展和管理应用程序。
这些在 Windows Azure 上运行的应用有很高的可靠性和可扩展能力。基于SuperSocket开发的服务器程序一样也能够很方便的运行在 Windows Azure 平台上。
SuperSocket 配置
用于在 Windows Azure 上运行的配置文件 app.config 和直接运行的SuperSocket的配置文件相同。
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="superSocket" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.SocketEngine"/>
</configSections>
<superSocket>
<servers>
<server name="RemoteProcessServer"
serverTypeName="remoteProcess"
ip="Any" port="2012" />
</servers>
<serverTypes>
<add name="remoteProcess"
type="SuperSocket.QuickStart.RemoteProcessService.RemoteProcessServer, SuperSocket.QuickStart.RemoteProcessService" />
</serverTypes>
</superSocket>
<system.diagnostics>
<trace>
<listeners>
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
name="AzureDiagnostics">
</add>
</listeners>
</trace>
</system.diagnostics>
</configuration>
相关文章
- PC-用Windows XP自带的组策略加固操作系统
- windows下使用Python出现No module named tkinter.ttk
- Windows下安装和运行Elasticsearch
- Java魔法堂:以Windows服务的形式运行Java程序
- 在Windows下安装Memcached
- 如何查看Windows服务器运行了多长时间
- Windows忘记密码
- ANT下载与安装--windows
- MFC Windows 程序设计[二十七]之目录展示(附源码)
- MFC Windows 程序设计[十]之键绘图形上颜色
- windows环境里React-Native运行失败,找不到Nullable的原因分析
- windows server 2008 安装Microsoft ActiveSync 6.1提示缺少一个Windows Mobile设备中心所须要的Windows组件
- QT采集声卡PCM数据再保存为WAV格式,播放器可以直接播放(Android、ubuntu、windows运行OK)
- WINDOWS.H already included. MFC apps must not #include <Windows.h>
- 【Android 逆向】Android 逆向通用工具开发 ( Windows 平台运行的控制台应用程序类型 | 编译 Windows 平台运行的 Android 逆向程序 )
- python windows安装 SQLServer pymssql,
- windows下,‘nmake‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
- 这台电脑无法运行Windows 11怎么办?
- Windows 11 arm64 下载
- 一种最奇怪的检测Windows NT系统的方法
- 解决 TPM 2.0 限制安装教程 (这台电脑无法运行 Windows 11 问题)
- windows下运行python文件路径总是出错?
- windows,远程开机,远程唤醒(WOL,Wake-on-LAN),只在刚关机一段时间内可以实现,时间长了就无法实现