项目作者: glen-summers

项目描述 :
CSharp Wcf Client\Server SqlServer\MySql DataLayer Archetype\Demo project
高级语言: C#
项目地址: git://github.com/glen-summers/ClientServerDemo.git
创建时间: 2017-10-10T13:54:37Z
项目社区:https://github.com/glen-summers/ClientServerDemo

开源协议:MIT License

下载


Synopsis

CSharp WCF Client\Server SqlServer\MySql DataLayer Archetype\Demo project

Motivation

Having written many client server projects on the Windows platform it seemed useful to create an archetypal project that encapsulates many standard features and includes some useful utilities and diagnostics

Includes:

  • WCF client\server
  • Single client executable deployment with Fody/Costura
  • Database agnostic middle-tier
  • Simple low dependency logging
  • WCF IParameterInspector to log parameters
  • WCF IErrorHandler to log exceptions
  • WCF IOperationInvoker to translate excptions to service faults
  • SqlServer and MySql data implementations
  • Unit Tests
  • Integration Tests
  • Code Coverage Report
  • Automated Build using MSBuild\VSWhere
  • Automated MySql deploy sqript

Prerequisites

Visual Studio 2017 including .net 4.7, SqlServer, iisexpress
Optional: MySql Server and .net connector

Build

using go.cmd in project root

Compile and run unit tests

  1. > go

Code coverage Report

  1. > go coverage

Compile and start server and run integration tests

  1. > go full

License

This project is licensed under the terms of the MIT license