All Projects → scottaddie → ContosoLending

scottaddie / ContosoLending

Licence: MIT License
An ASP.NET Core 3.1 app showcasing gRPC, server-side Blazor, SignalR, and C# 8.

Programming Languages

C#
18002 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to ContosoLending

vscode-csharp-snippets
Extension of C# Snippets for Visual Studio Code
Stars: ✭ 22 (+46.67%)
Mutual labels:  grpc, asp-net-core, signalr-core
clean-architecture-azure-cosmos-db
A starting point to build a web API to work with Azure Cosmos DB using .NET 5 and Azure Cosmos DB .NET SDK V3, based on Clean Architecture and repository design pattern. Partition key is also implemented through the repository pattern.
Stars: ✭ 277 (+1746.67%)
Mutual labels:  azure-functions, asp-net-core
Grpc Demos
Demos for my talk Beyond HTTP in ASP.NET Core 3.0 with gRPC
Stars: ✭ 74 (+393.33%)
Mutual labels:  grpc, asp-net-core
EmbeddedBlazorContent
Library to load embedded content files (js and css) from Blazor libraries in server-side Blazor mode.
Stars: ✭ 39 (+160%)
Mutual labels:  asp-net-core, blazor-server
chatle
chat le with ASP.NET Core
Stars: ✭ 20 (+33.33%)
Mutual labels:  asp-net-core, signalr-core
Notify.Me
Simple host application to provide send/receive feature for any kind of notifications and messages between client(s) and the host. The application is based on ASP.NET Core and SignalR to demostrate some features of these things...
Stars: ✭ 28 (+86.67%)
Mutual labels:  asp-net-core, signalr-core
smart-blazor
Blazor UI Components & Examples
Stars: ✭ 32 (+113.33%)
Mutual labels:  asp-net-core, blazor-server
simple-blog-back
Back-End for Simple Blog
Stars: ✭ 36 (+140%)
Mutual labels:  asp-net-core, dot-net-core
LearningPoint
A repository for learning different technologies, frameworks, features......
Stars: ✭ 66 (+340%)
Mutual labels:  azure-functions, asp-net-core
FlashCards
Learning Blazor By Creating A Flash Cards Application
Stars: ✭ 17 (+13.33%)
Mutual labels:  asp-net-core, blazor-server
BlazorServerWithDocker
Companion code sample for my blog post - Containerising a Blazor Server App
Stars: ✭ 16 (+6.67%)
Mutual labels:  asp-net-core, blazor-server
Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
Stars: ✭ 46 (+206.67%)
Mutual labels:  grpc, asp-net-core
SignalR-Core-SqlTableDependency
Shows how the new SignalR Core works with hubs and sockets, also how it can integrate with SqlTableDependency API.
Stars: ✭ 36 (+140%)
Mutual labels:  asp-net-core, signalr-core
ChatService
ChatService (SignalR).
Stars: ✭ 26 (+73.33%)
Mutual labels:  asp-net-core, dot-net-core
python-serverless-api
Boilerplate flask app that is portable between different serverless platforms (AWS, Azure, GCP).
Stars: ✭ 19 (+26.67%)
Mutual labels:  azure-functions
griffin
gRPC server and client for Ruby
Stars: ✭ 79 (+426.67%)
Mutual labels:  grpc
grpcman
A grpc testing tool based on Electron & Vue.js & Element-UI
Stars: ✭ 22 (+46.67%)
Mutual labels:  grpc
WebCam-Streaming
Web-cam live streaming with websockets and SignalR with ASP.NET Core just for fun and to learn new things. 😀👨🏻‍💻
Stars: ✭ 31 (+106.67%)
Mutual labels:  signalr-core
PasswordGenerator
A simple C# helper class for ASP.NET Core to generate a random password with custom strength requirements: min length, uppercase, lowercase, digits & more
Stars: ✭ 27 (+80%)
Mutual labels:  asp-net-core
grpc-fullstack-demo
GRPC full stack application demo ( Backend/ Cli / Android / iOS / Web )
Stars: ✭ 23 (+53.33%)
Mutual labels:  grpc

App overview

This ASP.NET Core 3.1 app represents a loan application processing pipeline. The following table outlines projects found in the solution.

Project Description
ContosoLending.CurrencyExchange gRPC project handling currency conversion
ContosoLending.DomainModel .NET Standard project containing shared models
ContosoLending.LoanProcessing Durable Functions project for handling loan processing
ContosoLending.Ui Server-side Blazor UI project

Setup

Install prerequisites

The following software must be installed:

  1. .NET Core SDK version SDK 3.1.100 or later
  2. Visual Studio 2019 version 16.4 or later with the following workloads:
    1. ASP.NET and web development
    2. Azure development

Provision Azure resources

  1. Open the Azure Cloud Shell in your web browser.

  2. Run the following command to configure your Azure CLI defaults for resource group and region:

    az configure --defaults group=<resource_group_name> location=<region_name>
  3. Run the following command to provision an Azure Storage account:

    az storage account create --name <storage_resource_name>
  4. Run the following command to provision an Azure SignalR Service instance:

    az signalr create --name <signalr_resource_name> --sku Standard_S1 --service-mode Serverless

Configure the Azure Functions project

  1. Create a new local.settings.json file in the root of the ContosoLending.LoanProcessing project with the following content:

    {
      "IsEncrypted": false,
      "Values": {
    	"AzureSignalRConnectionString": "<signalr_connection_string>",
    	"AzureWebJobsStorage": "<storage_connection_string>",
    	"FUNCTIONS_WORKER_RUNTIME": "dotnet"
      },
      "Host": {
    	"CORS": "https://localhost:44364",
    	"CORSCredentials": true,
    	"LocalHttpPort": 7071
      }
    }
  2. From the Azure Cloud Shell, run the following command to get the Azure Storage account's connection string:

    az storage account show-connection-string --name <storage_resource_name> --query connectionString

    Copy the resulting value (without the double quotes) to your clipboard.

  3. Replace "<storage_connection_string>" in local.settings.json with the value on your clipboard.

  4. Run the following command to get the Azure SignalR Service's connection string:

    az signalr key list --name <signalr_resource_name> --query primaryConnectionString

    Copy the resulting value (without the double quotes) to your clipboard.

  5. Replace "<signalr_connection_string>" in local.settings.json with the value on your clipboard.

Testing

  1. Open the solution file (src\ContosoLending.sln).

  2. In Solution Explorer, right-click the libman.json file in the ContosoLending.Ui project > Restore Client-Side Libraries.

  3. In Solution Explorer, right-click the solution name > Properties.

  4. Select the Multiple startup projects radio button, and configure the solution as follows:

    multiple project launch configuration in Visual Studio

  5. Select the OK button.

  6. Select the Start button next to the <Multiple Startup Projects> launch configuration drop-down list.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].