• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    C#
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ASP.NET Core 3.1 - Web API, Identity, JWT, TFA, Swagger, SendGrid, EF Core SQL and Azure Storage

This repo will soon branch off and start moving towards ASP.NET Core 5

CoreIdentity

Using ASP.NET Core Identity Web API With JWT, TFA, Swagger, Sendgrid, EF Core and Azure Storage

This ASP.NET Core 3.1 Web API uses Identity Tables and JWT to authenticate and authorize users as well as user, role and userRole management.

This project has everything you need to get started with ASP.NET Core Web API.

  • ASP.NET Core Web API

  • ASP.NET Core Identity (SQL Server)

  • Entity Framework Core (SQL Server)

  • JWT

  • Two Factor Authentication

  • Swagger (Documentation)

  • SendGrid (Email)

  • Error Handling Middleware

  • CORS Middleware

  • Azure Storage

    • Blob
    • Queue

Getting Started

To get started locate the appsettings.Development.json and supply your connectionString.

Now add the Identity tables to your Database.

  • Tools-> NuGet Package Manager -> Package Manager Console
  • Add-migration init -Context SecurityContext
  • Update-database -Context SecurityContext

To activate emails in the API you can also enter SendGrid (free account through Azure Portal) account credentials.

Now run the API, register, confirm your email, login and receive JWT, add JWT to Authorize Header for every request after.

More Repositories

1

express-graphql-api

GraphQL Express server using Authentication middleware, Business layer Authorization, DataLoader and Subscriptions.
JavaScript
27
star
2

EbayApiDotNet

Examples of using the eBay API with .NET and a C# Console Application
C#
17
star
3

NgSimpleUpload

A simple, tiny directive to upload files.
JavaScript
10
star
4

express-sendgrid-inbound-parse

A Node.js / Express.js app using SendGrid's Inbound Parse to parse email data / attachments
JavaScript
6
star
5

BraintreeCore

Using the Braintree DropIn-UI with ASP.NET Core Web API.
C#
6
star
6

CoreWeb

An ASP.NET Core Web Application with Examples of Data Access using EF Core, Error Handling Middleware and an Email Service using SendGrid
C#
5
star
7

sql2object

Created with Angular to help developers generate C# / TypeScript / Swift objects from SQL data or scripts.
TypeScript
4
star
8

ExcelReaderCoreWeb

Read Excel files using ASP.NET Core with added type checking (set programmatically)
C#
3
star
9

pdfmakeTemplates

Templates to save you time!
JavaScript
3
star
10

NgIdentity

angular + .NET identity
C#
3
star
11

CoreNodeServices

ASP.NET Core Web API with the NodeServices to take advantage of NPM (pdfmake and nodemailer)
JavaScript
3
star
12

azure-ad-angular-express

Contains 2 projects, Angular and Express ready for Azure AD integration.
TypeScript
3
star
13

Mvc5AdminDashboard

An MVC 5, Windows Auth, Web API Project with SB Admin 2 template and AngularJS
JavaScript
2
star
14

express-rest-api

Node.js / Express.js 4.17.1 - REST API, JWT, TFA, MSSQL, SendGrid, Azure Storage and Docker ready
JavaScript
2
star
15

graphql-rxjs-angular

A sample project to be used to test GraphQL with Angular using Queries, Mutations and Subscriptions.
HTML
1
star
16

power-bi-custom-visual-react

TypeScript
1
star
17

node-email-api

A REST API on top of Node.js for sending emails.
Handlebars
1
star
18

angular-container

Dockerfile
1
star
19

NodejsApiExample

A NodeJS API taking advantage of many awesome libraries!
JavaScript
1
star