Skip to content

notificationapi-com/notificationapi-dotnet-server-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotificationAPI .NET Server SDK

NotificationAPI SDK for server-side (back-end) .NET projects.

  • Free software: MIT license

Docs

Please refer to our documentation.

Contribution

Prerequisites

  1. Install .NET SDK 8.0 or later:

Development Workflow

We use a Makefile to simplify common development tasks. Before submitting a PR, please ensure you follow these steps:

  1. Restore dependencies:
make restore
  1. Build the project:
make build
  1. Run tests:
make test
  1. Format the code:
make format
  1. Verify code formatting:
make format-check

Important Notes

  • 100% code coverage is required for all new code.
  • All code must pass the formatting check before a PR will be accepted.
  • The GitHub Actions workflow will automatically verify formatting and run tests on your PR.

Manual Commands

If you prefer not to use the Makefile, you can run the commands directly:

# Restore dependencies
dotnet restore src/NotificationApi.Server.sln

# Build the project
dotnet build src/NotificationApi.Server.sln --configuration Release --no-restore

# Run tests
dotnet test src/NotificationApi.Server.Tests --configuration Release --no-build --verbosity normal

# Format code
dotnet format src/NotificationApi.Server.sln

# Check formatting
dotnet format src/NotificationApi.Server.sln --verify-no-changes --verbosity diagnostic

About

NotificationAPI SDK for .NET projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5