30 热度

Getting Started With Blazor

In this article we will create a default Blazor project and explore the components and features. To get started creating applications using Microsoft Blazor, the following are required: Microsoft Windows 7 Service Pac 1 (or higher) or Microsoft Widows Server 2012 R2 Service Pac 1 (or higher) ...

收录时间: 2019-08-22
分类: Blazor
贡献者: Rector
14 热度

Blazor & Xamarin: Code Sharing For Everyone

If you have been waiting and watching the Blazor news for the last year like I have, we can both do a little ‘happy dance’ now that it is soon coming out of preview! My hope is that Blazor represents a way to build web applications (sans JavaScript) that cashes-in on some of the growing pains Microsoft-Stack developers have been enduring with the .Net Framework –> .Net Core & .Net Standard transition...

收录时间: 2019-08-20
分类: Blazor
贡献者: Rector
24 热度

Blazor form validation

Client-side Blazor supports DataAnnotations form validation out of box. It’s simple and intuitive but also very flexible – if needed we can use the same mechanism to replace DataAnnotations validation with some other validation component. This blog post introduces form validation in Blazor applications and peeks also into engine of validation mechanism.

收录时间: 2019-08-14
分类: Blazor
贡献者: Rector
184 热度

Build Data-Driven Web Apps Blazing Fast with Blazor and OData

Once upon a time there was a technology named WCF RIA Services. It made our lives easier by providing a magical bridge between the client and the server. Behind the scenes, it generated a set of endpoints and proxies that worked together to create a seamless experience across the stack. Using a LINQ query over a domain object in your Silverlight app generated the appropriate API calls to the server that would filter, transport, and deserialize the data.

收录时间: 2019-08-13
分类: Blazor
贡献者: Rector
46 热度

Blazor Binding, Events and Parameters

Three things that you will usually find yourself using on every Blazor page, Binding, Events, and Parameters, will be covered here. To demonstrate these, we will build a series of pages including a few that will allow a user to build and edit a list of To Do items.

收录时间: 2019-08-08
分类: Blazor
贡献者: Rector
44 热度

IndexedDB in Blazor

Almost all rich client-side web apps (SPAs) involve interacting with a data store. Normally, that data store is held on some server, and the browser-based app queries it by making HTTP calls to some API endpoint. Another option, though, is to store a database client-side in the browser. The great benefit of doing so is that it permits completely instant querying, and can even work offline.

收录时间: 2019-08-06
分类: Blazor
贡献者: Rector
AD 友情赞助
47 热度

Configuring Policy-based Authorization with Blazor

In part 3 of this series, I showed how to add role based authorization to a client-side Blazor application. In this post, I’m going to show you how to configure the newer, and recommended, policy-based authorization with Blazor.

收录时间: 2019-07-31
分类: Blazor
贡献者: Rector
79 热度

How to Dynamically Build the UI in Blazor Components

You have two tools for generating your initial UI in a Blazor component: ASP.NET's Razor and Blazor's RenderFragment. Here's how to use both to integrate with your C# code (and a warning about what you can't do).

收录时间: 2019-07-23
分类: Blazor
贡献者: Rector
87 热度

Realtime Blazor Tic-Tac-Toe game - Bot vs Multiplayer using signalR

In this article, we will see how to create a bot vs. multiplayer tic-tac-toe game in blazor. Blazor is an open source .NET web front-end framework that allows us to create client-side applications using C# and HTML. This is a simple asp.net core hosted server-side blazor front-end application with G...

收录时间: 2019-07-17
分类: Blazor
贡献者: Rector
71 热度

Authentication with client-side Blazor using WebAPI and ASP.NET Core Identity

This is the second post in the series: Securing Your Blazor Apps. In this post, I'm going to show how to setup authentication with client-side Blazor using WebAPI and ASP.NET Core Identity....

收录时间: 2019-07-13
分类: Blazor
贡献者: Rector
58 热度

Implementing State Management In Blazor

State Management in Blazor refers to the technique that you use to persist data between Blazor pages. Without state management, data would be lost. State Management can be achieved by various methods including storing data in the database, or using packages such as Blazor-Fluxor. In this article we will cover the AppState pattern that was introduced by the Microsoft Blazor team in the Blazing Pizza workshop....

收录时间: 2019-07-09
分类: Blazor
贡献者: Rector
58 热度

Configuring a Server-side Blazor app with Azure App Configuration

With .NET Core 3.0 Preview 6, we added authentication & authorization support to server-side Blazor apps. It only takes a matter of seconds to wire up an app to Azure Active Directory with support for single or multiple organizations.

收录时间: 2019-07-02
分类: Blazor
贡献者: Rector
81 热度

Authentication in server-side Blazor applications

Preview 6 version of ASP.NET Core 3.0 is released and one interesting new feature is authentication and authorization for server-side Blazor applications. This blog post goes through work currently done and shows how authentication works with server-side Blazor applications.

收录时间: 2019-06-18
分类: Blazor
贡献者: Rector
124 热度

WebAssembly和Blazor:解决了一个存在十年的老问题

在 2019 年 4 月中旬,微软悄悄地推出了一个年轻的框架,从“一切皆有可能”的实验阶段过渡到“我们致力于实现这一目标”的预览版。这个框架名为Blazor,因为它在浏览器中运行,并利用了一个名为 Razor 的模板系统或“视图引擎”,促成了这个.NET 开发人员几乎放弃了的场景。它不仅允许开发人员使用 C# 构建客户端代码(不需要 JavaScript),还允许开发人员在没有插件的情况下在浏览器中运行现有的.NET 标准 DLL。

收录时间: 2019-06-13
分类: Blazor
贡献者: Rector
81 热度

Building a C# Interactive shell in a browser with Blazor (WebAssembly) and Roslyn

In this post I wanted to show you how to write and embed a C# interactive shell (a REPL – read-evaluate-print-loop) in a browser, on top of WebAssembly.

收录时间: 2019-06-11
分类: Blazor
贡献者: Rector
AD 友情赞助
74 热度

Building Blazor shared components

Blazor has experimental support for shared components. Developers can build application-agnostic Blazor components and when packed to Blazor shared components library these components can be shared between Blazor applications. This blog post shows how to build shared Blazor components.

收录时间: 2019-05-22
分类: Blazor
贡献者: Rector
94 热度

Enabling Pagination in Blazor with OData

We talked in a previous article about enabling OData in your existing ASP.NET Core API using EDM. One of the biggest advantages of following that method is to be able to take advantage of functionality such as count to enable an on-demand function in almost every web application such as navigation. In this article, we are going to talk about navigation from an abstract perspective as a plain API call, then leverage that power in a Blazor application to enable data navigation or pagination.

收录时间: 2019-05-21
分类: Blazor
贡献者: Rector
AD 友情赞助