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.
Recently I was on some Job interview in some large IT company and their lead .NET developer ask me about my experience in using SOLID principles in building software. That was very interesting question for me because at that time in interview I was not sure what to tell him. Of course, I know what SOLID principles are, and right answer will be always use SOLID … but something bother me when I said this … it doesn’t always make sense if you do SOLID.
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.