Posts

Showing posts from October, 2018

Blazor Hello world

Image
My colleague shared an article about ASP.NET Blazor how to implement "Web Assembly".Today, I try a classic sample, Of course, For new guys to enter the door  "Hello world" is the best choice.
Setup Opening the extension tool to search the word "blazor"  you will find the package "ASP.NET Core Blazor Language Service".As you can see the name it means you need to be used ".Net core".
Choose Project Template After installed, When we created a new project which will show more three templates.
Basic Client Side Project,: Basically, this can run well but normally we will split it to client and backend so we don't use it. ServerAPI+Shared+Client Side: We use this,  it is the most standard layer architecture. Ps: Template 1 and 2 will load assembly to browser through blazor.webassembly.js to render HTML. ServerAPI+Shared+Server Side: This is similar No.2 the different is it will not load assembly to the browser.All of the HTML will render fr…