filmov
tv
C# dotnet Core 6 - real-time app using SignalR with Blazor. Visual Studio coding for Entrepreneurs

Показать описание
#blazor #signalr #csharp #visualstudio
This tutorial teaches the basics of building a real-time app using SignalR with Blazor. Learn how to:
-Create a Blazor project
-Add the SignalR client library
-Add a SignalR hub
-Add SignalR services and an endpoint for the SignalR hub
-Add Razor component code for chat
At the end of this tutorial, you'll have a working chat app.
Interactive web UI with C#
Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed of reusable web UI components implemented using C#, HTML, and CSS. Both client and server code is written in C#, allowing you to share code and libraries.Blazor is a feature of ASP.NET, the popular web development framework that extends the .NET developer platform with tools and libraries for building web apps.
Run on WebAssembly or the server
Blazor can run your client-side C# code directly in the browser, using WebAssembly. Because it's real .NET running on WebAssembly, you can re-use code and libraries from server-side parts of your application.
Alternatively, Blazor can run your client logic on the server. Client UI events are sent back to the server using SignalR - a real-time messaging framework. Once execution completes, the required UI changes are sent to the client and merged into the DOM.
#dotnet #signalr #blazor #webassembly #programming #webapi
It ultimately depends on the technology you're building on but in this series, we'll be working on .Net/.Net CORE. For that, you either want to use Microsoft Visual Studio or Microsoft Visual Studio Code. Both of them can be downloaded for free from the official website for both Windows and macOS.
You can download both of them and see which one suits your needs. In this video, we'll create a new project and create a simple Hello World application. It can act as a guide to get familiarized with different aspects of visual studio/code such as the solution explorer and properties.
Visual Studio vs Visual Studio Code
You can think of Visual Studio as a cookie-cutter solution that is jampacked with features and functionality. As Visual Studio is much more powerful, it works in most situations out of the box whereas Visual Studio Code can be considered a Lite version of it with lots of addons available which can ultimately make the two nearly identical. Some might even consider it as a "glorified text editor". In comparison, Visual Studio does require more knowledge to be utilized to its true potential unlike Visual Studio Code which is more beginner-friendly however, Visual Studio does offer more precise control over everything. At the end of the day, it all comes down to personal preference.
Welcome to StartupHakk. My name is Spencer Thomason. I am the CEO and Co-founder of CleanRouter, as well as many other products.
.
Here are some lessons that I've learned building a successful business while challenging startup norms.
.
My challenge is to push you to rethink startup success.
.
Keep your kids safe online with CleanRouter!
NEW! Keep your kids safe on the go with CleanPhone!
This tutorial teaches the basics of building a real-time app using SignalR with Blazor. Learn how to:
-Create a Blazor project
-Add the SignalR client library
-Add a SignalR hub
-Add SignalR services and an endpoint for the SignalR hub
-Add Razor component code for chat
At the end of this tutorial, you'll have a working chat app.
Interactive web UI with C#
Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed of reusable web UI components implemented using C#, HTML, and CSS. Both client and server code is written in C#, allowing you to share code and libraries.Blazor is a feature of ASP.NET, the popular web development framework that extends the .NET developer platform with tools and libraries for building web apps.
Run on WebAssembly or the server
Blazor can run your client-side C# code directly in the browser, using WebAssembly. Because it's real .NET running on WebAssembly, you can re-use code and libraries from server-side parts of your application.
Alternatively, Blazor can run your client logic on the server. Client UI events are sent back to the server using SignalR - a real-time messaging framework. Once execution completes, the required UI changes are sent to the client and merged into the DOM.
#dotnet #signalr #blazor #webassembly #programming #webapi
It ultimately depends on the technology you're building on but in this series, we'll be working on .Net/.Net CORE. For that, you either want to use Microsoft Visual Studio or Microsoft Visual Studio Code. Both of them can be downloaded for free from the official website for both Windows and macOS.
You can download both of them and see which one suits your needs. In this video, we'll create a new project and create a simple Hello World application. It can act as a guide to get familiarized with different aspects of visual studio/code such as the solution explorer and properties.
Visual Studio vs Visual Studio Code
You can think of Visual Studio as a cookie-cutter solution that is jampacked with features and functionality. As Visual Studio is much more powerful, it works in most situations out of the box whereas Visual Studio Code can be considered a Lite version of it with lots of addons available which can ultimately make the two nearly identical. Some might even consider it as a "glorified text editor". In comparison, Visual Studio does require more knowledge to be utilized to its true potential unlike Visual Studio Code which is more beginner-friendly however, Visual Studio does offer more precise control over everything. At the end of the day, it all comes down to personal preference.
Welcome to StartupHakk. My name is Spencer Thomason. I am the CEO and Co-founder of CleanRouter, as well as many other products.
.
Here are some lessons that I've learned building a successful business while challenging startup norms.
.
My challenge is to push you to rethink startup success.
.
Keep your kids safe online with CleanRouter!
NEW! Keep your kids safe on the go with CleanPhone!