Blazor Component
MyComponent01 Page (in Component folder) _Imports.razor Index Page Sources:
MyComponent01 Page (in Component folder) _Imports.razor Index Page Sources:
A default layout can be specified in the /Pages/_Imports.razor file. This setting can be overridden by Blazor finding a more specific _Imports.razor file closer to the page it is rendering. The final (and most explicit) level of specifying a template to use is to literally specify it in the page itself using the @layout directive. Note: You can... » read more
Resources Link Microsoft .NET – Blazor Info. https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor Blazor University – Online tutorials. https://blazor-university.com/ Pragimtech.com – Online tutorials. https://www.pragimtech.com/blog/blazor/what-is-blazor/ ASP.NET Core Documentation By Microsoft – Blazor Documentation and Examples https://docs.microsoft.com/en-us/aspnet/core/blazor/?view=aspnetcore-5.0
3 Projects Created MyApp.Client – wwwroot, Pages MyApp.Server – Controller MyApp.Shared – Shared Classes Program.cs File Entry point Main() Pages Folder xxxxx.razor The Pages folder contains components/pages that can be routed and form the Blazor application. The route for each page is determined using the @page directive. Component has a .razor extension. Startup.cs File ConfigureServices() Configure()... » read more
Blazor Vs. Angular Both technology have some great features to attract developers to build their applications on it. But both technologies have some limitations also that make a big difference to decide which technology is used for development. We look at with the help of the difference table Feature Angular Blazor Type Framework Framework Release... » read more
A Progressive Web Application (PWA) is usually a Single Page Application (SPA) that uses modern browser APIs and capabilities to behave like a desktop app. Blazor WebAssembly is a standards-based client-side web app platform, so it can use any browser API, including PWA APIs required for the following capabilities: Working offline and loading instantly, independent... » read more
Blazor Server was release with .net core 3.0 in September 2019 and Blazor WebAssembly (WASM) was released in May 2020. Today, I will talk about the differences, when to use what version, and everything else you need to know about Blazor Server vs. Blazor WebAssembly. Blazor currently has two hosting models, server-side Blazor and Web... » read more
Blazor lets you build interactive web UIs using C# instead of JavaScript. … 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. Blazor is a Single Page... » read more