Create a Blazor Webserver Application with ASP.NET 6 in only 7 Minutes!

preview_player
Показать описание


Here are some links that you may find interesting👀

We´ll make sure to make a Developer out of you In no time!

What is Blazor?
Blazor is a web framework for building web UI components (Razor components) that can be hosted in different ways. Razor components can run server-side in ASP.NET Core (Blazor Server) versus client-side in the browser on a WebAssembly-based .NET runtime (Blazor WebAssembly, Blazor WASM). You can also host Razor components in native mobile and desktop apps that render to an embedded web view control (Blazor Hybrid). Regardless of the hosting model, the way you build Razor components is the same. The same Razor components can be used with any of the hosting models unchanged.

What is Blazor Server?
With the Blazor Server hosting model, the app is executed on the server from within an ASP.NET Core app. UI updates, event handling, and JavaScript calls are handled over a SignalR connection. The state on the server associated with each connected client is called a circuit. A circuit can tolerate temporary network interruptions and attempts by the client to reconnect to the server when the connection is lost.

In a traditional server-rendered app, opening the same app in multiple browser screens (tabs or iframes) typically doesn't translate into additional resource demands on the server. In a Blazor Server app, each browser screen requires a separate circuit and separate instances of server-managed component state. Blazor considers closing a browser tab or navigating to an external URL a graceful termination. In the event of a graceful termination, the circuit and associated resources are immediately released.

What is ASP.NET?
Free. Cross-platform. Open source.
A framework for building web apps and services with .NET and C#.
ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies.

It was first released in January 2002 with version 1.0 of the .NET Framework and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.

ASP.NET's successor is ASP.NET Core. It is a re-implementation of ASP.NET as a modular web framework, together with other frameworks like Entity Framework.

Want to learn how to put these technology stack to use by building a Webserver? Then watch the video now!

Timestamps
00:00 Welcome to the 7 minute Blazor Webserver!
00:07 What are we going to build
00:40 Setting up our Project
01:21 Our budget view
02:10 Our budget model
02:36 Create a service
03:50 Render entries from our mock Database
04:35 Add a way to add a new entry
06:30 Final Blazor Web server
06:56 A new Blazor Challenge! Can you do it?
07:07 Thank you for watching!

#server #asp #blazor #dotnet #net6 #code #tutorialseu

TAGS

tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.

Рекомендации по теме
Комментарии
Автор


Did your build your own Blazor Webserver? Don´t miss out on this learning opportunity! 👀 Let us know in the comments!


Here are some links that you may find interesting👀

We´ll make sure to make a Developer out of you In no time!


And we promise to create more cool content for you!

tutorialsEU
Автор

Thanks a lot for this cool demo!
Please consider making more of these short and practical tutorials.

NAELSLR
Автор

This Guy brings a lot of Motivation to learn. Keep up the Good Work.

sreejithsree
Автор

Thank you .. This is all I need to create websites.

thisisyusuf
Автор

hey, i got a question ! is there a way to build/deploy Blazor/.net6 else where than in Azure ?

yolan
Автор

Can you please tell me How we select the dropdown list with ID in Table

RanaAli-jckb
Автор

Hi i was wondering why mine doesnt get the dollar sign up? can you please help?

izzicadensa
Автор

I got error CS0029 on the onintializedansyc method. I am stuck and still searching so the problem

Ballers_Den