Bet.AspNetCore
Bet.AspNetCore copied to clipboard
Large Collection of Extensions and AspNetCore projects for ML.NET models and integration
Bet.AspNetCore Libraries
The second letter in the Hebrew alphabet is the ב bet/beit. Its meaning is "house". In the ancient pictographic Hebrew it was a symbol resembling a tent on a landscape.
Note: Pre-release packages are distributed via feedz.io.
This goal of this repo is to provide with a reusable functionality for developing Microservices with Docker and Kubernetes.
These libraries extend Microsoft.Extensions
and Microsoft.AspNetCore
namespaces accordingly.
Hire me
Please send email if you consider to hire me.
Give a Star! :star:
If you like or are using this project to learn or start your solution, please give it a star. Thanks!
AspNetCore specific functionality
-
Bet.AspNetCore
specific functionality for web applications. -
Bet.AspNetCore.HealthChecks
provides with HealthChecks for most common scenarios of the web application. -
Bet.AspNetCore.Logging
contains logging functionality forAspNetCore
applications such as azure analyzer and AppInsight extendsSerilog
. -
Bet.AspNetCore.ReCapture
- a package for Google ReCapture. -
Bet.AspNetCore.LetsEncrypt
- enables SSL inside of docker container i.e. hosted in Azure Containers. -
Bet.AspNetCore.Middleware
-
Bet.AspNetCore.AzureStorage
- extendsAspNetCore
and enables usage of Azure Blob Storage, Queues, Tables with MSI identity or token. -
Bet.AspNetCore.Jwt
- Provides a simple and a quick way to get started with JWT authentication for your app. -
Bet.AspNetCore.ApiKeyAuthentication
Provides with custom authentication for Web Apis with Query Url parameter or Header.
Sample Applications
All of the sample applications are deployable to local Kubernetes Cluster.
-
Bet.AspNetCore.Sample
-AspNetCore
Web App with spam and sentiment prediction models based on (ML.NET). Utiizes the following libraries-
Bet.Extensions.ML
- includes Machine Learning library around ML.NET. -
Bet.Extensions.ML.Sentiment
- Sentiment self-contained prediction engine to be used with any DotNetCore applications. -
Bet.Extensions.ML.Spam
- Spam self-contained prediction engine to be used with any DotNetCore applications. -
Bet.Extensions.HealthChecks.ML
provides with HealthChecks ML.NET Models. -
Bet.Extensions.ML.Azure
provides with extensions methods for Azure Blob Storage Model monitoring and reload.
-
-
Bet.K8s.Web.Sample
-AspNetCore
Web App with spam and sentiment prediction models. -
LetsEncryptWeb
-AspNetCore
Web App with spam and sentiment prediction models.
DotNetCore
CLI global tools
-
AppAuthentication - enables Microsoft Managed Identity (MSI) testing
Azure Key Vault
orAzure Blob Storage
access from Docker Container in Local development based on token authentication.
# adds local tool manifest file
dotnet new tool-manifest
# install appauthentication local version
dotnet tool install appauthentication
Bet.Extensions
libraries that build on Microsoft.Extensions
:
-
Bet.Extensions
- extends many DotNetCore classes. -
Bet.Extensions.Options
- extends Options with common functionality such asBind()
validations. -
Bet.Extensions.Logging
- extends shared/common logging functionality. -
Bet.Extensions.Hosting
- extends generic functionality forIHost
. -
Bet.Extensions.AzureVault
- extends Azure Vault functionality. -
Bet.Extensions.AzureStorage
- extends MSI and regular access to Azure Storage Blob or Queue. -
Bet.Extensions.HealthChecks
- extends useful HealChecks for Kubernetes, includingWorker
tcp based healthchecks. -
Bet.Extensions.HealthChecks.AzureStorage
- provides with HealthChecks Azure Storage -
Bet.Extensions.DataProtection
- extendsDataProtection
to store encryption keys on Azure Storage Blob.
About Docker Images
This repo is utilizing King David Consulting LLC Docker Images:
-
kdcllc/dotnet-sdk:3.1: - the docker image for templated
DotNetCore
build of the sample web application. -
kdcllc/dotnet-sdk-vscode:3.1: the docker image for the Visual Studio Code In container development.