• Stars
    star
    214
  • Rank 184,678 (Top 4 %)
  • Language
    C#
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

Security with ASP.NET Core, SignalR and Angular

Security with ASP.NET Core, SignalR and Angular

.NET

Posts in this series:

Run migrations

Console

dotnet ef migrations add init_api -c DataEventRecordContext
dotnet ef migrations add init_hub_db -c NewsContext

Powershell

Add-Migration "init_api" -c DataEventRecordContext  
Add-Migration "init_hub_db" -c NewsContext  

Running manually

Update-Database -Context DataEventRecordContext
Update-Database -Context NewsContext

History

2023-04-29 Updated nuget packages

2023-01-21 Updated nuget packages

2023-01-07 Updated everything in STS project

2023-01-03 Updated .NET 7 and Angular 15

2022-01-28 Updated nuget packages

2021-11-04 Updated to .NET 6

2021-07-04 Updated to OIDC V12, updated nuget packages

2021-05-14 Updated npm, nuget packages

2021-03-14 Updated npm, nuget packages

2021-03-05 Updated npm, nuget packages

2021-02-28 Updated npm, nuget packages

2021-01-24 Updated Direct messages to Angular CLI version, linted, prettier

2021-01-23 Updated to .NET 5, Azure SDK access, ngrx re-write, updated Angular project

2020-09-15 Updated to .NET 5, Angular 11.0.2

2020-09-15 Updated to IdentityServer4 4.1.0, .NET Core 3.1.8

2020-07-06 Updated to IdentityServer4 4.0.2, angular-auth-oidc-client 11.1.4, Angular 10.0.2

2020-06-28 Updated to Angular 10.0.1

2020-06-28 Updated IdentityServer4 V4 + breaking changes and nuget packages

2020-05-02 Updated to OIDC lib version 11, updated nuget packages, npm packages

2020-03-21 updated packages, fixed Admin UI STS

2020-03-03 updated STS, support for FIDO2

2020-02-10 updated Angular 9 and nuget packages

2020-01-02 updated npm and nuget packages

2019-12-15 updated STS middleware configuration

2019-12-06 updated to ASP.NET Core 3.1

2019-11-17 updated to Nuget packages, updated to Angular 8.2.14, npm packages

2019-09-24 updated to .NET Core 3.0, Angular 8.2.7

2019-09-20 updated to .NET Core 3.0 rc1

2019-09-14 updated to .NET Core 3.0 preview 9, Angular 8.2.6

2019-09-01 Updated nuget packages, Angular 8.2.4, oidc 10.0.4

2019-08-18 Updated ASP.NET Core 3.0, Angular 8.2.2

2019-07-30: Updating npm packages, angular 8.1.3, oidc 10.0.3, nuget packages

2019-06-21: Updating npm packages, angular 8.0.2, oidc 10.0.1, nuget packages

2019-06-10: Updating npm packages, angular-oidc

2019-05-30: Updating npm packages, angular 8.0.0

2019-05-21: Updating npm packages, angular 7.2.15, oidc 9.0.8

2019-04-26: Switch to in-process hosting, updated npm packages

2019-04-14: Updating npm packages, angular 7.2.13, nuget packages

2019-03-29: Updating npm packages, angular 7.2.11, nuget packages

2019-03-15: Updating npm packages, nuget packages

2019-02-24: Updating npm packages, nuget packages

2019-02-06: Updating ngrx

2019-01-23: Updating npm packages

2019-01-08: switch to OIDC Code Flow with PKCE, OIDC 9.0.0, angular 7.2.1

2018-12-04: updated .NET Core 2.2, npm packages

2018-11-02: updated npm packages

2018-10-30: Added User Admin to STS, custom claims with policies

2018-10-26: Updated Angular 7.0.1, OIDC 7.0.3

2018-10-14: Updated Angular 6.1.10, OIDC 7.0.0, ASP.NET Core SignalR 1.0.4

2018-10-07: Updated to Angular 6.1.9, OIDC 6.0.12, Nuget packages

2018-09-09: Updated Angular 6.1.7, OIDC Angular lib

2018-08-18: Updated .NET Core 2.1.2, Angular 6.1.3, OIDC Angular lib

2018-08-04: Updated .NET Core 2.1.2, Angular 6.1.1

2018-05-31: Updated .NET Core 2.1

2018-05-08: Updated Angular 6.0.3 and npm packages

2018-05-08: Updated .NET Core 2.1 rc1

2018-05-04: Updated Angular 6.0.0, STS to bootstrap 4

2018-04-22: Updated Angular 5.2.10, latest ASP.NET Core SignalR preview2

2018-03-21: Updated Angular 5.2.9, angular-auth-oidc-client 4.1.0

2018-03-15: Updated signalr Microsoft.AspNetCore.SignalR 1.0.0-preview1-final, Angular 5.2.8, @aspnet/signalr 1.0.0-preview1-update1

More Repositories

1

angular-auth-oidc-client

npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow
TypeScript
988
star
2

AspNet6IdentityServer4AngularOidcFlows

OpenID Connect Code Flow PKCE / Implicit Flow with Angular and ASP.NET Core 6 IdentityServer4
TypeScript
725
star
3

AngularWebpackVisualStudio

Template for ASP.NET Core, Angular with Webpack and Visual Studio
JavaScript
488
star
4

IdentityServer4AspNetCoreIdentityTemplate

An ASP.NET Core 6.0 IdentityServer4 Identity Bootstrap 4 template with localization
C#
326
star
5

AspNetCoreLocalization

Localization.SqlLocalizer & ASP.NET Core MVC Localization Examples
C#
250
star
6

AspNetCoreHybridFlowWithApi

Different ASP.NET Core applications using OpenID Connect Hybrid flow Code Flow, Code Flow with PKCE, JWT APIs, MFA examples
C#
247
star
7

AspNetCoreCertificates

Certificate Manager in .NET Core for creating and using X509 certificates
C#
227
star
8

AspNetCoreMultipleProject

ASP.NET Core API EF Core and Swagger
C#
227
star
9

AspNetCoreOpeniddict

OpenIddict with Angular and Blazor WASM BFF OpenID Connect Code Flow with PKCE clients and ASP.NET Core APIs
C#
224
star
10

AspNetCoreAngularSignalR

SignalR ASP.NET Core Angular
TypeScript
186
star
11

ElasticsearchCRUD

Elasticsearch .NET netstandard API
C#
172
star
12

IdentityServer4VueJs

IdentityServer4 Vue.js oidc-client-js OpenID Connect code flow with PKCE
C#
124
star
13

AspNetCoreWindowsAuth

Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4
C#
118
star
14

AspNetCoreIdentityFido2Mfa

ASP.NET Core 7 Identity with FIDO2 WebAuthn MFA, passwordless
CSS
118
star
15

AspNetCoreFileUploadFileTable

ASP.NET Core MVC file upload / download with MS SQL Server FileTable
C#
114
star
16

AspNetCoreServiceBus

ASP.NET Core with Azure Service Bus
C#
101
star
17

Secure_gRpc

Security Experiments with gRPC and ASP.NET Core 5
C#
92
star
18

aspnetcore-standup-authn-authz

https://www.youtube.com/watch?v=eQ7eLOA69T0
84
star
19

Blazor.BFF.OpenIDConnect.Template

Blazor.BFF.OpenIDConnect.Template, Blazor WASM hosted in ASP.NET Core using OpenID Connect BFF (server authentication)
CSS
80
star
20

AspNetCoreCsvImportExport

ASP.NET Core CSV import export custom formatters
C#
78
star
21

SendingEncryptedData

.NET Core Encryption
CSS
74
star
22

AspNetCoreID4External

external OpenID Connect Login to IdentityServer and ASP.NET Core with AAD
C#
72
star
23

AspNetCoreMvcVueJs

ASP.NET Core with Vue.js
C#
69
star
24

aspnetcore-standup-securing-apis

ASP.NET Core Community Standup Securing APIs
66
star
25

AspNetCoreNlog

ASP.NET Core NLog MS SQL Server PostgreSQL MySQL Elasticsearch
C#
59
star
26

AzureADAuthRazorUiServiceApiCertificate

Azure AD flows using ASP.NET Core and Microsoft.Identity
CSS
58
star
27

AspNetCoreMvcAngular

ASP.NET Core MVC with angular in MVC View OpenID Connect Hybrid Flow
C#
55
star
28

AspNetCoreOData

ASP.NET Core OData
C#
53
star
29

AspNetCoreIdentityServer4ResourceOwnerPassword

ASP.NET Core IdentityServer4 Resource Owner Flow Refresh token and custom user repository
CSS
51
star
30

AspNetCoreCertificateAuth

ASP.NET Core 3.1 Certificate Authentication Self Signed and Chained
C#
50
star
31

Blazor.BFF.AzureB2C.Template

Blazor.BFF.AzureB2C.Template, Blazor WASM hosted in ASP.NET Core using Azure B2C BFF (server authentication) and Microsoft Graph
CSS
47
star
32

AspNetCoreExperiments

ASP.NET Core Blazor BFF with Azure AD and Razor page
CSS
46
star
33

Blazor.BFF.AzureAD.Template

Blazor.BFF.AzureAD.Template, Blazor WASM hosted in ASP.NET Core using Azure AD BFF (server authentication)
CSS
45
star
34

ApiJwtWithTwoSts

Web API authorization, multi-IDP solutions in ASP.NET Core
C#
44
star
35

AspNetCoreElasticsearchNestAuditTrail

ASP.NET Core Elasticsearch Nest Audit Trial
C#
44
star
36

AzureAD-Auth-MyUI-with-MyAPI

Azure AD Auth with ASP.NET CORE UI and ASP.ENT Core API
PowerShell
42
star
37

SignalRMessagingErrorHandling

SignalR Messaging with Error Handling
C#
40
star
38

AspNetCoreMvcProtobufFormatters

ASP.NET Core MVC Protobuf Formatters (InputFormatter and OutputFormatter)
C#
38
star
39

WebApiFileUpload

Web API File Upload
C#
38
star
40

AspNet5GeoElasticsearch

ASP.NET Core MVC Geo Elasticsearch Swashbuckle Swagger
C#
37
star
41

AspNetCorePagesWebpack

ASP.NET Core Razor Pages Bootstrap 4 Application using Webpack, Typescript, and npm
C#
37
star
42

AspNetCoreFilters

ASP.NET Core MVC Filters
C#
34
star
43

AspNetCoreSQLite

ASP.NET Core 2.0 MVC SQLite Entity Framework Core
JavaScript
34
star
44

dotnet-template-angular

oidc azure-ad angular dotnet-template openid
TypeScript
34
star
45

AspNetCoreMvcSharedLocalization

ASP.NET Core MVC shared localization
C#
33
star
46

AspNetCoreApiAuthMultiIdentityProvider

ASP.NET Core Api Auth with multiple Identity Providers
C#
32
star
47

AspNetCoreQuartz

ASP.NET Core scheduling with Quartz.NET and SignalR
JavaScript
31
star
48

AspNetCoreYarp

ASP.NET Core & Yarp reverse proxy with Azure AD OIDC, OAuth2
C#
31
star
49

AngularLocalizationAspNetCore

Angular ASP.NET Core localization
C#
26
star
50

AngularAutoSaveCommands

ASP.NET Core, Angular, Angular CLI, MS SQL Server, Undo, Redo, Auto save
C#
24
star
51

AzureFunctionsSecurity

Azure Functions Security
C#
24
star
52

angular-auth-oidc-sample-google-openid

Angular oidc client with google Identity OpenID
JavaScript
23
star
53

Angular2AutoCompleteAspNetCoreElasticsearch

Angular autocomplete, ASP.NET Core, Elasticsearch
C#
23
star
54

SignalRMessaging

JavaScript
22
star
55

AspNetCoreIdentityServer4Angular2Docker

C#
22
star
56

AspNetCorePostgreSQLDocker

ASP.NET Core Docker EF Core
C#
22
star
57

AspNetCoreIdentityServer4Persistence

EF Core database for the IdentityServer4 configuration data
C#
22
star
58

azureb2c-fed-azuread

Securing ASP.NET Core Razor Pages, Web APIs with Azure B2C external and Azure AD internal identities
C#
22
star
59

AspNet5Watcher

ASP.NET Core MVC 6 Elasticsearch watcher SignalR example
JavaScript
21
star
60

SeparatingApisPerSecurityLevel

Auth0, ASP.NET Core OAuth, OIDC
C#
21
star
61

AnimalMarketEnginsSqliteDb

ASP.NET Web API with SQLite
C#
20
star
62

WebAPIODataV4

C#
19
star
63

TeamsAdminUI

ASP.NET Core Razor Page app using Graph API to create team meetings, send emails
C#
18
star
64

AspNetCoreBackChannelLogout

ASP.NET Core Back-Channel Logout for Hybrid Clients, Redis, Key Vault, Azure
C#
18
star
65

Auth0AngularAspNetCoreApi

Auth0 with Angular and an ASP.NET Core API
TypeScript
17
star
66

AspNetCoreMicrosoftGraph

ASP.NET Core application and API using Microsoft Graph delegated clients
C#
15
star
67

AspNetCoreBlazorMicrosoftGraph

ASP.NET Core Blazor with Microsoft Graph
CSS
15
star
68

WebAPILocalization

C#
14
star
69

WebApi2AttributeFilters

C#
14
star
70

AngularComponentPlotly

Angular Component for Plotly, ASP.NET Core, Elasticsearch
TypeScript
14
star
71

PwaBlazorBffAzureB2C

Azure B2C Blazor BFF ASP.NET Core hosted with support for PWA
CSS
13
star
72

AspNetCoreBootstrap4Validation

ASP.NET Core MVC Bootstrap 4 Ajax
CSS
13
star
73

AspNetCoreTenantSelect

Switch tenants in an ASP.NET Core app using Azure AD with multi tenants
C#
12
star
74

AspNetCoreAzureSearch

ASP.NET Core with Azure Cognitive Search
C#
12
star
75

AspNet5SearchWithElasticsearchCrud

ASP.NET Core MVC Elasticsearch dnxcore50
C#
12
star
76

WebSearchWithElasticsearchEntityFrameworkAsPrimary

JavaScript
12
star
77

WebSearchWithElasticsearch

CSS
12
star
78

SharedAspNetCore

demo sharing controller and Razor Pages in a shared aseembly, project
C#
12
star
79

AspNetCoreAzureAdAzureStorage

ASP.NET Core Razor page with uses Azure Storage to upload download files securely using OAuth and Open ID Connect
C#
12
star
80

ElasticsearchBulkInsert

C#
11
star
81

DataTransferSQLWithEntityFrameworkToElasticsearch

C#
11
star
82

WebApiFileUploadFileTable

C#
11
star
83

SQLiteExamples

C#
11
star
84

WiXPowerShellExample

C#
11
star
85

PoCWindowsAuth

Securing an ASP.NET Core app and web API using windows authentication
CSS
11
star
86

AspNetCoreHangfire

ASP.NET Core with Hangfire
TSQL
11
star
87

AspNetCoreWebApiContribProtobufSample

ASP.NET Core Protobuf API Formatters
C#
10
star
88

AspNetCoreAzureADCAE

Azure AD Continuous Access in an ASP.NET Core Razor Page, Blazor app using a Web API
C#
10
star
89

AzureDurableFunctions

Using External Inputs in Azure Durable functions
C#
10
star
90

EmailCalandarsClient

Send emails with Microsoft Graph API from a Desktop APP, C# and Visual basic projects
C#
9
star
91

WebAppGeoElasticsearch

MVC google maps search using Elasticsearch
JavaScript
8
star
92

ElasticsearchParentChildGrandChild

Console app demo for Elasticsearch Parent Child GrandChild routing
C#
8
star
93

SignalRHostWithUnity

C#
8
star
94

AspNetCoreIISDeployment

Demo project used for ASP.NET Core IIS deployment
C#
8
star
95

AspNetCoreVS2017Docker

ASP.NET Core Docker VS2017
C#
8
star
96

AspNet5AngularJSDynamicRoutes

ASP.NET Core Angular-UI-Router example
JavaScript
8
star
97

WebApiCSVExportFromElasticsearch

C#
8
star
98

WebApiParameters

C#
8
star
99

OnBehalfFlowOidcDownstreamApi

This demo shows how to implement the On Behalf Of flow between an Azure AD protected API and an API protected using OpenIddict.
C#
8
star
100

MvcDynamicDropdownList

aspnet-core mvc razor javascript
C#
8
star