aditudorache / OpenPGO-Medmij-ImplementatieBouwstenen-Dotnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Medmij dotnet

.NET implementation of the MedMij OpenPGO building blocks. The Medmij for .Net git project is the .NET implementation of the MedMij OpenPGO building blocks.

Version Guidance

This library follows Semantic Versioning. The versions of the Afspraken set are mapped to the versions of the library as follows:

Version Afsprakenset Status Version library
Afsprakenset release 1.1 Latest 0.2.*

Structure

It consists of 3 projects:

  • MedMij - the library component. This can be included and used in .NET projects that acces MedMij data
  • MedMij.Xunit - the unittests project
  • MedMij.Example - the example project with working code for usage of the MedMij component

Installation

First clone, restore and build the repo:

$ PATH_TO_CLONE=~/example/medmij-dotnet
$ git clone https://github.com/Zorgdoc/medmij-dotnet.git $PATH_TO_CLONE
Cloning into ...
...
$

$ dotnet restore
...

$ dotnet build
...

To run the Example project:

$ cd $PATH_TO_CLONE/MedMij.Example
$ dotnet run
...

To add a reference to your project

$ cd path_to_your_project/
$ dotnet add reference $PATH_TO_CLONE/MedMij
Reference `..\medmij-donet\MedMij\MedMij.csproj` added to the project.

How to use

See the MedMij.Example project for working code examples for each scenario

Testing

For the unittests is Xunit test framework used.

To run the tests use

$ cd $PATH_TO_CLONE/MedMij.Xunit
$ dotnet test
...

or

$ dotnet watch test
...

About

License:GNU Affero General Public License v3.0


Languages

Language:C# 100.0%