随笔分类 - .Net
摘要:<!-- 代码引用灰表格 --> <!-- begin code --> namespace Test { using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using Sy
阅读全文
摘要:<!-- 代码引用灰表格 --> <!-- begin code --> /* * DynamicJson * ver 1.2.0.0 (May. 21th, 2010) * * created and maintained by neuecc <ils@neue.cc> * licensed un
阅读全文
摘要:// EventSourceProvider_EventsProducer.cs/*/r:"D:\Microshaoft.Nuget.Packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.28\lib\net46\Microsof...
阅读全文
摘要:#define NET45namespace Test{ using System; using System.Threading; using System.Threading.Tasks; using Microshaoft; class Program { ...
阅读全文
摘要:// Copyright (c) Microsoft Corporation. All rights reserved.namespace Microshaoft{ using System; using System.Collections.Generic; using Sys...
阅读全文
摘要:namespace Test{ using Microshaoft; using System; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; class Program { static BufferManager _bufferManager; static SocketAsyncEventArgsPool _socketA...
阅读全文
摘要:namespace Test{ using Microshaoft; using Test.Models; using Newtonsoft.Json; using System; using System.Web.Script.Serialization; class Program { static void Main(string[] args) { Console.WriteLine(Environment.Version.ToString()); string json ...
阅读全文
摘要:namespace Test{ using Microshaoft; using System; using System.Xml; using System.Xml.Linq; class Program { public static void Main() { var errors = 0; var xsd =@" ...
阅读全文
摘要:d:\nuget\nuget.exe install EnterpriseLibrary.Common -NoCache -Verbosity detailed -OutputDirectory D:\Microshaoft.Nuget.Packages\d:\nuget\nuget.exe install EnterpriseLibrary.Data -NoCache -Verbosity detailed -OutputDirectory D:\Microshaoft.Nuget.Packages\d:\nuget\nuget.exe install EnterpriseLibrary.D
阅读全文
摘要:/* PowerShell: [System.Diagnostics.PerformanceCounterCategory]::Delete("Microshaoft ConcurrentAsyncQueue Performance Counters") [System.Diagnostics.PerformanceCounterCategory]::GetCategories() | Format-Table -auto [System.Diagnostics.PerformanceCounterCategory]::GetCategories() | Where {..
阅读全文
摘要://#define NET35namespace TestConsoleApplication{ using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microshaoft; class Program { static void Main(string[] args) { Console.WriteLine("Begin ..."); ...
阅读全文
摘要:# This file contains command-line options that the C## command line compiler (CSC) will process as part# of every compilation, unless the "/noconfig" option# is specified.# Reference the common Framework libraries/r:Accessibility.dll/r:Microsoft.CSharp.dll/r:System.Configuration.dll/r:Syst
阅读全文
摘要:namespace Test{ using System; using System.Windows.Forms; static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompa...
阅读全文
摘要:namespace ConsoleApplication{ using System; using System.Threading; using Microshaoft; /// /// Class1 的摘要说明。 /// public class Program { /// /// 应用程序的主入口点。 /// //[STAThread] static void Main(string[] args) { string input...
阅读全文
摘要:/*:: rem curl Post JsonD:\curl\curl-7.33.0-win64\bin\curl.exe -i -X POST -H "Accept: application/json" -H "Content-Type: application/json; charset=utf-8" -d "[{Name:'curl1',\"Age\":0,'Height':1,'Weight':2},{'Name':\"curl2\"
阅读全文
摘要:windbg ANSI Command Tree 1.0title {"Microshaoft Commands"}body{"cmdtree"} {"Microshaoft.WinDbg.CmdTree.txt"} {".cmdtree microshaoft.windbg.cmdtree.txt"}{"SOS Commands"} {"Load SOS and SOSEX"} {".loadby sos mscorwks;.load sosex"} {
阅读全文
摘要:# This file contains command-line options that the C## command line compiler (CSC) will process as part# of every compilation, unless the "/noconfig" option# is specified.# Reference the common Framework libraries/r:Accessibility.dll/r:Microsoft.CSharp.dll/r:System.Configuration.dll/r:Syst
阅读全文
摘要:// Controllers.csnamespace Microshaoft.WebApi.Controllers{ using Microshaoft.WebApi.Models; using System; using System.Collections.Generic; using System.Web.Http; using System.Net.Http; using System.Net; using System.Linq; public class PersonsController : ApiController { ...
阅读全文
摘要:namespace Test{ using System; using System.Threading; using System.Threading.Tasks; using Microshaoft; class Program { static void Main() { GCNotifier.RegisterForFullGCNotification ( 99 ...
阅读全文
摘要:namespace Microshaoft{ using System; using System.Threading.Tasks; using System.Web; public class HttpTaskAsyncHandler : IHttpAsyncHandler { public bool IsReusable { get { return false; } } public void ProcessRequest(HttpContext context) {...
阅读全文