Skip to content

srose87/dotnetcorehack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnetcorehack

Build Status

A very basic API to get back into things with C#

I'm abandoning this project because it takes 6 seconds on my fully loaded MBP to build and run 84 tests. That is not acceptable and I do not see C# as a viable option for building testable APIs.

Prerequisites for Running and Writing Code

  1. Install .Net Core
  2. Install Install .NET Core SDK
  3. Install Visual Studio Code
  4. Install the csharp extension for Visual Studio code within the IDE.

Run the app

  1. dotnet restore - this will download all the dependnecies
  2. dotnet run - within /dotnetcorehack dir will start the app
  3. JSON request using Postman can be made to http://localhost:5000/contacts
  4. Run tests with dotnet test dotnetcorehack.Test/dotnetcorehack.Test.csproj

Code Linting

This project utilizes StyleCop to ensure code is correct and consistent between developers. All linting rules are disabled while tests run or the project is being built in debug mode (dotnet build defaults to debug). Linting will occur during a release build dotnet build -c release.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%