Blazor component can call REST API directly, but create a separate service that calls the REST API.
Showing posts with label Razor. Show all posts
Showing posts with label Razor. Show all posts
Monday, December 21, 2020
Call REST API from ASP.NET Core Blazor
1. Customer.API project using Repository Pattern
2. Customer.Models project to share between API and Blazor AppServer
3. Cusotmer.Server Blazoe AppServer project.
Wednesday, December 9, 2020
MicroSoft Blazor
Today's web development, use both server-side (C#, Java,...) and client-side (JavaScript frameworks like Angular, React,..) technologies.
Use C# both for server & client side development, that's Blazor. Blazor lets you build interactive web UIs using C# instead of JavaScript.
Blazor can run client-side C# code (or any type of code) directly in the browser, using WebAssembly. It runs in the same security sandbox as JavaScript frameworks like Angular, React, etc.
WebAssembly is based on open web standards without using plug-ins or code transpilation. It works in all modern browsers including mobile browsers.
There are 2 Blazor hosting models: Blazor WebAssembly (the client-side) and Blazor Server (the server) .
Subscribe to:
Posts (Atom)