随笔分类 -  内参

摘要:alter procedure [zsp_backup_HourlyJob] @dbName sysname = null , @BackupRootPath varchar(256) , @oddWeekPath varchar(256) = 'OddWeek' , @evenWeekPath varchar(256) = 'EvenWeek' --严禁手动执行asbegin --zsp_backup_HourlyJob 'TEST', 'd:\dbbackup' declare @now datetime set @now = 阅读全文
posted @ 2011-05-12 13:28 于斯人也 阅读(581) 评论(0) 推荐(0)
摘要:/*makecert.exe -n "CN=Microshaoft X509 Test - A" -sky exchange -pe -sv a.pvk a.cerpvk2pfx.exe -pvk a.pvk -spc a.cer -pfx a.pfx -f -po 123makecert.exe -n "CN=Microshaoft X509 Test - B" -sky exchange -pe -sv b.pvk b.cerpvk2pfx.exe -pvk b.pvk -spc b.cer -pfx b.pfx -f -po abc*/namesp 阅读全文
posted @ 2011-05-11 18:33 于斯人也 阅读(738) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title> new document </title> <meta name="generator" con 阅读全文
posted @ 2011-05-11 18:25 于斯人也 阅读(309) 评论(0) 推荐(0)
摘要:drop table dbo.num_tbdrop table dbo.tbcreate table num_tb(d datetime, id int)insert num_tbselect '2004-01-01', 1CREATE TABLE [tb]( [AutoID] [bigint] IDENTITY(1,1) NOT NULL, [id] [varchar](20) NULL, [n... 阅读全文
posted @ 2011-02-20 00:40 于斯人也 阅读(844) 评论(0) 推荐(1)
摘要:// /r:"C:\Program Files\Microsoft Visual Studio 10.0\VSTSDB\Deploy\Microsoft.Data.Schema.ScriptDom.dll";"C:\Program Files\Microsoft Visual Studio 10.0\VSTSDB\Deploy\Microsoft.Data.Schem... 阅读全文
posted @ 2011-02-06 02:12 于斯人也 阅读(878) 评论(1) 推荐(0)
摘要:namespace Microshaoft{ using System; using System.Threading; public class WakeProcessor<TData> { private delegate void ProcessCaller(AutoResetEvent wait, TData data); public delegate void WaitEv... 阅读全文
posted @ 2010-12-09 03:13 于斯人也 阅读(340) 评论(0) 推荐(0)
摘要:#define cs4 //C# 4.0+//#define cs2 //C# 2.0+// /r:C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Runtime.Caching.dllnamespace Test{ using System;#if cs4 using System.Runtime.Caching;#endif using... 阅读全文
posted @ 2010-11-27 02:26 于斯人也 阅读(1343) 评论(0) 推荐(0)
摘要:namespace Test{ using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Serialization; using Test.Share; using Microshaoft; public class Class1 { static void Main(string[]... 阅读全文
posted @ 2010-11-27 02:24 于斯人也 阅读(2428) 评论(0) 推荐(0)
摘要:<%@ WebHandler Language="C#" Class="Microshaoft.AsyncProcessHandler" %>//=================================================#define c4 //C# 4.0+//#define c2namespace Microshaof... 阅读全文
posted @ 2010-11-04 00:08 于斯人也 阅读(670) 评论(0) 推荐(0)
摘要://AsyncQueue.cs#define c4 //C# 4.0+//#define c2namespace Microshaoft{ using System; using System.Threading; using System.Diagnostics; using System.Collections.Generic;#if c4 using System.Collections.C... 阅读全文
posted @ 2010-11-01 13:09 于斯人也 阅读(463) 评论(0) 推荐(0)
摘要:// Server.csnamespace WCF.Services{ using System; using System.ServiceModel; using Contracts.Operations; // Service class which implements the service contract. // Added code to write output to the co... 阅读全文
posted @ 2010-10-31 02:43 于斯人也 阅读(803) 评论(0) 推荐(0)
摘要:// WCF.MSMQ.Message.Sender.(WCF.to.MSMQ).csnamespace WCF.MSMQ.MessageSender.Host{ using System; using System.Transactions; using System.ServiceModel.MsmqIntegration; using System.ServiceModel; using C... 阅读全文
posted @ 2010-10-31 01:27 于斯人也 阅读(627) 评论(0) 推荐(0)
摘要:namespace Test{ using System; using System.Net; using System.Net.Sockets; using System.Text; using Microshaoft; public class AsyncSocketAsyncQueueHandlerProxyServer { public static int Main(String[] a... 阅读全文
posted @ 2010-10-16 23:58 于斯人也 阅读(612) 评论(0) 推荐(0)
摘要:namespace Test{ using System; using System.Net; using System.Net.Sockets; using System.Text; using System.IO; using System.Threading; using Microshaoft; public class AsyncSocketAsyncDataQueueHandlerEc... 阅读全文
posted @ 2010-10-16 23:54 于斯人也 阅读(529) 评论(0) 推荐(0)
摘要:<%@ Page language="C#" validaterequest="false" enableviewstate="false"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www... 阅读全文
posted @ 2010-05-26 15:10 于斯人也 阅读(483) 评论(0) 推荐(0)
摘要:/*Remoting 异步队列实现,流程如下1.并发若干客户端程序通过调用 Remoting CocurrentQueue Server 提供的公开远程方法 Enqueue 将数据元素入队尾2.Remoting CocurrentQueue Server 发现队列不为空,则并发若干线程陆续 Dequeue 队首数据元素并处理注意:1.队列的数据元素定义需自行实现2.对出列数据元素的处理程序需自行实... 阅读全文
posted @ 2010-05-01 00:52 于斯人也 阅读(891) 评论(0) 推荐(0)
摘要:/*csc /t:library Share.cs*/namespace Microshaoft{ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using... 阅读全文
posted @ 2009-12-22 23:02 于斯人也 阅读(3277) 评论(0) 推荐(0)
摘要:/*csc /t:library Share.cs*/namespace Microshaoft{ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using... 阅读全文
posted @ 2009-12-21 18:40 于斯人也 阅读(2331) 评论(0) 推荐(1)
摘要:/* C# 委托的发展史: .Net 1.x 委托 =>.Net 2.x 匿名方法 => .Net 3.0/3.5 Lambda 表达式 ms-help://MS.MSDNQTR.v90.chs/dv_csref/html/6ce3f04d-0c71-4728-9127-634c7e9a8365.htm 在 C# 1.0 中,您通过使用在代码中其他位置定义的方法显式初始化委托来创建委托... 阅读全文
posted @ 2009-11-16 00:33 于斯人也 阅读(3057) 评论(3) 推荐(0)
摘要:namespace Test{ using System; using System.Net; using System.Net.Sockets; using System.Text; using Microshaoft; public class AsyncSocketAsyncQueueHandlerProxyServer { public static int Main(String[] a... 阅读全文
posted @ 2009-10-14 17:39 于斯人也 阅读(3781) 评论(0) 推荐(1)