Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 184 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
x64/
build/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

*.log
*.orig


# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.azurePubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
packages/
## TODO: If the tool you use requires repositories.config, also uncomment the next line
#!packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# =========================
# Windows detritus
# =========================

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/
192 changes: 99 additions & 93 deletions Cat.Net.csproj
Original file line number Diff line number Diff line change
@@ -1,94 +1,100 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7B5F7994-F1D1-494D-85B9-935A478591AD}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Com.Dianping.Cat</RootNamespace>
<AssemblyName>Cat</AssemblyName>
<ReleaseVersion>0.1.1</ReleaseVersion>
<SynchReleaseVersion>false</SynchReleaseVersion>
<Description>Cat .Net Client</Description>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Externalconsole>true</Externalconsole>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Externalconsole>true</Externalconsole>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Management" />
<Reference Include="System.Xml" />
<Reference Include="System.Net" />
</ItemGroup>
<ItemGroup>
<Compile Include="Cat.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Configuration\ClientConfig.cs" />
<Compile Include="Configuration\Domain.cs" />
<Compile Include="Configuration\Server.cs" />
<Compile Include="Util\Logger.cs" />
<Compile Include="Message\IEvent.cs" />
<Compile Include="Message\IHeartbeat.cs" />
<Compile Include="Message\IMessage.cs" />
<Compile Include="Message\Spi\IMessageProducer.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Internals\AbstractMessage.cs" />
<Compile Include="Util\CatThreadLocal.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Internals\DefaultEvent.cs" />
<Compile Include="Message\Internals\DefaultHeartbeat.cs" />
<Compile Include="Message\Spi\Internals\DefaultMessageManager.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Spi\Internals\DefaultMessageProducer.cs" />
<Compile Include="Message\Internals\DefaultTransaction.cs" />
<Compile Include="Message\Internals\MessageId.cs" />
<Compile Include="Message\Spi\Internals\MessageIdFactory.cs" />
<Compile Include="Util\MilliSecondTimer.cs" />
<Compile Include="Message\Internals\NullEvent.cs" />
<Compile Include="Message\Internals\NullHeartbeat.cs" />
<Compile Include="Message\Internals\NullTransaction.cs" />
<Compile Include="Message\Spi\IO\IMessageSender.cs" />
<Compile Include="Message\Spi\IO\TcpMessageSender.cs" />
<Compile Include="Message\ITransaction.cs" />
<Compile Include="Message\Spi\Codec\ChannelBuffer.cs" />
<Compile Include="Message\Spi\Codec\PlainTextMessageCodec.cs" />
<Compile Include="Message\Spi\IMessageManager.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Spi\IMessageStatistics.cs" />
<Compile Include="Message\IMessageTree.cs" />
<Compile Include="Message\Spi\Internals\DefaultMessageStatistics.cs" />
<Compile Include="Message\Internals\DefaultMessageTree.cs" />
<Compile Include="Message\Spi\Codec\IMessageCodec.cs" />
<Compile Include="Util\NetworkInterfaceManager.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Message\Spi\Internals\StatusUpdateTask.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup />
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7B5F7994-F1D1-494D-85B9-935A478591AD}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Com.Dianping.Cat</RootNamespace>
<AssemblyName>Cat</AssemblyName>
<ReleaseVersion>0.1.1</ReleaseVersion>
<SynchReleaseVersion>false</SynchReleaseVersion>
<Description>Cat .Net Client</Description>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Externalconsole>true</Externalconsole>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Externalconsole>true</Externalconsole>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Management" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Net" />
</ItemGroup>
<ItemGroup>
<Compile Include="Cat.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Configuration\ClientConfig.cs" />
<Compile Include="Configuration\Domain.cs" />
<Compile Include="Configuration\Server.cs" />
<Compile Include="Message\IMetric.cs" />
<Compile Include="Message\Internals\DefaultMetric.cs" />
<Compile Include="Message\Internals\NullMetric.cs" />
<Compile Include="Util\AppEnv.cs" />
<Compile Include="Util\Logger.cs" />
<Compile Include="Message\IEvent.cs" />
<Compile Include="Message\IHeartbeat.cs" />
<Compile Include="Message\IMessage.cs" />
<Compile Include="Message\Spi\IMessageProducer.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Internals\AbstractMessage.cs" />
<Compile Include="Util\CatThreadLocal.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Internals\DefaultEvent.cs" />
<Compile Include="Message\Internals\DefaultHeartbeat.cs" />
<Compile Include="Message\Spi\Internals\DefaultMessageManager.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Spi\Internals\DefaultMessageProducer.cs" />
<Compile Include="Message\Internals\DefaultTransaction.cs" />
<Compile Include="Message\Internals\MessageId.cs" />
<Compile Include="Message\Spi\Internals\MessageIdFactory.cs" />
<Compile Include="Util\MilliSecondTimer.cs" />
<Compile Include="Message\Internals\NullEvent.cs" />
<Compile Include="Message\Internals\NullHeartbeat.cs" />
<Compile Include="Message\Internals\NullTransaction.cs" />
<Compile Include="Message\Spi\IO\IMessageSender.cs" />
<Compile Include="Message\Spi\IO\TcpMessageSender.cs" />
<Compile Include="Message\ITransaction.cs" />
<Compile Include="Message\Spi\Codec\ChannelBuffer.cs" />
<Compile Include="Message\Spi\Codec\PlainTextMessageCodec.cs" />
<Compile Include="Message\Spi\IMessageManager.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Message\Spi\IMessageStatistics.cs" />
<Compile Include="Message\IMessageTree.cs" />
<Compile Include="Message\Spi\Internals\DefaultMessageStatistics.cs" />
<Compile Include="Message\Internals\DefaultMessageTree.cs" />
<Compile Include="Message\Spi\Codec\IMessageCodec.cs" />
<Compile Include="Util\NetworkInterfaceManager.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Message\Spi\Internals\StatusUpdateTask.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup />
</Project>
6 changes: 0 additions & 6 deletions Cat.Net.csproj.user

This file was deleted.

2 changes: 0 additions & 2 deletions Cat.Net.sln.DotSettings.user

This file was deleted.

Binary file removed Cat.Net.suo
Binary file not shown.
Loading