Today I will show you how to create very simple chat app with .NET + SignalR. This tutorial covers the basics of building a real-time app using SignalR. We will cover how to:
- Create a web project.
- Add the SignalR client library.
- Create a SignalR hub.
- Configure the project to use SignalR.
- Add code that sends messages from any client to all connected clients.
So Blazor is still experimental project and maybe not suitable for production apps but let me show you how I build basic Login App in Blazor with JWT Authentication. Before you read any further you must be familiar with some stuff. What I mean is:
Before start you need 2-3 things installed and configured. These are Visual Studio 2017 (on your machine), AWS Toolkit for Visual Studio (if you work on windows machine) and AWS account . If you have Mac like I do you can’t take advantages of AWS Toolkit for Visual Studio but instead you must do some things from CLI. In article below I will show you example with CLI ( create, deploy and publish .NET Core to AWS)
AWS Lambda is the serverless product offered by Amazon Web Services. Serverless does not mean that there is no server involved – obviously there is – but just that managing servers, scaling, etc is not something that you need to worry about.
I think that serverless is very big thing in web development today and here I will try to explain how to build simple Node.js AWS Lambda function with basic CRUD capabilities on DynamoDB ( Amazon DynamoDB is a fully managed NoSQL database ) table and S3 bucket for file uploads. If you wanna learn DynamoDB visit this great guide on DynamoDB.
First, we need to log in to our AWS Console and select DynamoDB from the list of services. Next we need to create new DynamoDB table. Table name will be “myposts” and Primary key will be userId (also here we will set our Sort key … in our example let’s call it postId )