Skip to content

extratone/uudm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.Net Web API boilerplate

GitHub Workflow Status GitHub release

A boilerplate / template for a WebAPI server based on ASP.Net.

Scope

This API boilerplate includes the following:

  • Role based JWT authentication.
  • Web API Helpers which standardizes responses, maps errors, etc...
  • An implementation of CSV Error logger.
  • A business library and model projects for code separation.
  • A core library with the following
    • Custom data model attributes
    • Database adapter
    • Helper functions for hashing, encrypting, compression, etc...
  • A constants library for commonly used constants.

Notice

Before using the code in production

Change the following values
  • In Config.cs in Core.Constants
    1. Security.EncryptionKey
  • In appsettings.json
    1. Database connection string.
      • This string should be in encrypted format. Encrypted with the new encryption key.
    2. JWT secret, issuer and audience
  • In launchsettings.json,
    1. Change SSL port
    2. Change applicationURL
  • In Base class in BusinessLib, uncomment the line that establishes db connection
Remove the following code
  • HelpersLib in BusinessLib
  • HelpersController in API

About

Universal User Dictionary Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages