摘要: public static string ObjectToJson(IList IL, params string[] args) { var Json = new StringBuilder(); Json.Append("[")... 阅读全文
posted @ 2015-07-25 10:19 domo 阅读(612) 评论(1) 推荐(0) 编辑
摘要: IBatis 配置SQLite3 如下:SqlMap.config<?xml version="1.0" encoding="utf-8"?><sqlMapConfig xmlns="http://ibatis.apache.org/dataMapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <settings> <setting useStatementNamespaces="true&q 阅读全文
posted @ 2012-12-05 10:16 domo 阅读(947) 评论(1) 推荐(0) 编辑
摘要: 对于已经签名的 Assembly, 使用如下命令查看 PublicKeyTokensn -T <assemblyname.dll> C:\Program Files\Microsoft Visual Studio 9.0\VC>sn -T C:\Inetpub\wwwroot\wss\VirtualDirectories\8300\bin\WebPartControl.dllMicrosoft (R) .NET Framework Strong Name Utility Version 3.5.30729.1Copyright (c) Microsoft Corporatio 阅读全文
posted @ 2012-12-04 16:57 domo 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 1、配置<!--memcached配置--><addkey="MemcachedServerlist"value="127.0.0.1:11211"/><addkey="InitConnections"value="3"/><addkey="MinConnections"value="3"/><addkey="MaxConnections"value="5"/><addk 阅读全文
posted @ 2012-04-17 15:28 domo 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 下载地址 log4net.dll1、配置<configSections><sectionname="log4net"type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/></configSections><log4net><!--错误日志配置--><appendername="ErrorAppender"type="log4net.Appender.RollingFileAppend 阅读全文
posted @ 2012-04-16 21:42 domo 阅读(319) 评论(0) 推荐(0) 编辑
摘要: otp_win32_R15B01 下载rabbitmq-server-2.8.1 下载1、发送 Uriuri=newUri("amqp://127.0.0.1:5672/");ConnectionFactorycf=newConnectionFactory();cf.VirtualHost="/";cf.RequestedHeartbeat=0;cf.Endpoint=newAmqpTcpEndpoint(uri);using(IConnectionconn=cf.CreateConnection()){using(IModelch=conn.Creat 阅读全文
posted @ 2012-04-07 15:38 domo 阅读(798) 评论(0) 推荐(0) 编辑