2015年5月1日
摘要:
protobuf是google提供的一个开源序列化框架,类似于XML,JSON这样 的数据表示语言,其最大的特点是基于二进制,因此比传统的XML表示高效短小得多。虽然是二进制数据格式,但并没有因此变得复杂,开发人员通过按照一定的 语法定义结构化的消息格式,然后送给命令行工具,工具将自动生成相关的类,...
阅读全文
posted @ 2015-05-01 08:42
武胜-阿伟
阅读(530)
推荐(0)
2015年4月24日
摘要:
Topshelf ConfigurationWhile the Quickstart gives you enough to get going, there are many more features available in Topshelf. The following details th...
阅读全文
posted @ 2015-04-24 22:05
武胜-阿伟
阅读(454)
推荐(0)
2015年4月22日
摘要:
How to license Aspose.Total for .NET productsAdd "License.cs" [C#] OR "License.vb" [Visual Basic] to your application License.csCode:using System;usin...
阅读全文
posted @ 2015-04-22 18:14
武胜-阿伟
阅读(5621)
推荐(2)
摘要:
Behaviors in WCF are so stinking useful, and once you get past the basics of WCF they're arguably a necessity. Microsoft has saved itself from hundred...
阅读全文
posted @ 2015-04-22 16:44
武胜-阿伟
阅读(347)
推荐(0)
摘要:
There are multiple ways to do error handling in WCF as listed by Pedram Rezaei Blog.The default way that WCF allows errorsmessage to display is by set...
阅读全文
posted @ 2015-04-22 16:39
武胜-阿伟
阅读(288)
推荐(0)
摘要:
Add reference to log4net.dll to our console service host project (our application entry point)Add the following line to the above project's AssemblyIn...
阅读全文
posted @ 2015-04-22 16:31
武胜-阿伟
阅读(301)
推荐(0)
2015年4月19日
摘要:
privatevoidFullScreen()//全屏{SizeMode=2;FormBorderStyle=FormBorderStyle.None;Left=Top=0;Width=Screen.PrimaryScreen.Bounds.Width;Height=Screen.PrimarySc...
阅读全文
posted @ 2015-04-19 20:32
武胜-阿伟
阅读(254)
推荐(0)
2015年4月17日
摘要:
http://blog.csdn.net/wangjia184/article/details/6990098http://www.openssl.org/在本地测试好好的代码部署到生产环境后,遇到OpenSSL.Net不能加载的错误。Could not load file or assembly ...
阅读全文
posted @ 2015-04-17 20:01
武胜-阿伟
阅读(513)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices;using System.Text;namespace demo{ class Progra...
阅读全文
posted @ 2015-04-17 11:58
武胜-阿伟
阅读(1929)
推荐(1)
2015年4月12日
摘要:
EMA它的定义是 Y=[2*X+(N-1)*Y']/(N+1) Y'是上一个周期的计算值。这样的函数是一个递归函数,不断的调用前一个周期的值来参加计算的。我们为了加快计算的速度,没有采用递归的方式。实现的EMA是这样的 public static List EMA(this List inp...
阅读全文
posted @ 2015-04-12 22:51
武胜-阿伟
阅读(840)
推荐(0)