mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-01 19:48:17 +08:00
chore: update to 3.2 preivew 5
This commit is contained in:
parent
26202a78f2
commit
27d1786044
@ -22,13 +22,13 @@
|
||||
|
||||
## ✨ 特性
|
||||
|
||||
- 提炼自企业级中后台产品的交互语言和视觉风格。
|
||||
- 开箱即用的高质量 Razor 组件,可在多种托管方式共享。
|
||||
- 支持基于 WebAssembly 的客户端和基于 SignalR 的服务端UI事件交互。
|
||||
- 支持渐进式 Web 应用(PWA)
|
||||
- 使用 C# 构建,多范式静态语言带来高效的开发体验。
|
||||
- 基于 .NET Standard 2.1,可直接引用丰富的 .NET 类库。
|
||||
- 可与已有的 ASP.NET Core MVC、Razor Pages 项目无缝集成。
|
||||
- 🌈 提炼自企业级中后台产品的交互语言和视觉风格。
|
||||
- 📦 开箱即用的高质量 Blazor 组件,可在多种托管方式共享。
|
||||
- 💕 支持基于 WebAssembly 的客户端和基于 SignalR 的服务端UI事件交互。
|
||||
- 🎨 支持渐进式 Web 应用(PWA)
|
||||
- 🛡 使用 C# 构建,多范式静态语言带来高效的开发体验。
|
||||
- ⚙️ 基于 .NET Standard 2.1,可直接引用丰富的 .NET 类库。
|
||||
- 🎁 可与已有的 ASP.NET Core MVC、Razor Pages 项目无缝集成。
|
||||
|
||||
## 🌈 在线示例
|
||||
|
||||
@ -40,7 +40,7 @@ WebAssembly 静态托管页面示例
|
||||
## 🖥 支持环境
|
||||
|
||||
- .NET Core 3.1。
|
||||
- Blazor WebAssembly 3.2 preview 3。
|
||||
- Blazor WebAssembly 3.2 preview 5。
|
||||
- 支持服务端双向绑定。
|
||||
- 支持 WebAssembly 静态文件部署。
|
||||
- 主流4款现代浏览器,以及 Internet Explorer 11+(限 [Blazor Server](https://docs.microsoft.com/en-us/aspnet/core/blazor/supported-platforms?view=aspnetcore-3.1))。
|
||||
@ -67,7 +67,7 @@ WebAssembly 静态托管页面示例
|
||||
- 安装 Blazor WebAssembly 模板
|
||||
|
||||
``` bash
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
|
||||
```
|
||||
|
||||
- 创建 Blazor WebAssembly 项目
|
||||
|
18
README.md
18
README.md
@ -22,13 +22,13 @@ English | [简体中文](README-zh_CN.md)
|
||||
|
||||
## ✨ Features
|
||||
|
||||
- Enterprise-class UI interactive language and visual style.
|
||||
- Out-of-the-box, high-quality Razor components that can be shared in a variety of hosting models.
|
||||
- Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
|
||||
- Supports Progressive Web Applications (PWA).
|
||||
- Build with C#, a multi-paradigm static language for an efficient development experience.
|
||||
- NET Standard 2.1 based, with direct reference to the rich .NET ecosystem.
|
||||
- Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.
|
||||
- 🌈 Enterprise-class UI designed for web applications.
|
||||
- 📦 A set of high-quality Blazor components out of the box.
|
||||
- 💕 Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
|
||||
- 🎨 Supports Progressive Web Applications (PWA).
|
||||
- 🛡 Build with C#, a multi-paradigm static language for an efficient development experience.
|
||||
- ⚙️ .NET Standard 2.1 based, with direct reference to the rich .NET ecosystem.
|
||||
- 🎁 Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.
|
||||
|
||||
## 🌈 Online Examples
|
||||
|
||||
@ -40,7 +40,7 @@ WebAssembly static hosting examples:
|
||||
## 🖥 Environment Support
|
||||
|
||||
- .NET Core 3.1
|
||||
- Blazor WebAssembly 3.2 Preview 3
|
||||
- Blazor WebAssembly 3.2 Preview 5
|
||||
- Supports two-way binding on the server side
|
||||
- Supports WebAssembly static file deployment
|
||||
- Support 4 major browsers engines, and Internet Explorer 11+ ([Blazor Server](https://docs.microsoft.com/en-us/aspnet/core/blazor/supported-platforms?view=aspnetcore-3.1) only)
|
||||
@ -68,7 +68,7 @@ Regularly synchronize with Official Ant Design specifications, you can check the
|
||||
- Install Blazor WebAssembly Templates
|
||||
|
||||
```bash
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
|
||||
```
|
||||
|
||||
- Create Blazor WebAssembly Project
|
||||
|
@ -23,13 +23,13 @@ Following the Ant Design specification, we developed a Blazor Components library
|
||||
|
||||
## ✨ Features
|
||||
|
||||
- Enterprise-class UI interactive language and visual style.
|
||||
- Out-of-the-box, high-quality Razor components that can be shared in a variety of hosting models.
|
||||
- Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
|
||||
- Supports Progressive Web Applications (PWA).
|
||||
- Build with C#, a multi-paradigm static language for an efficient development experience.
|
||||
- NET Standard 2.1 based, with direct reference to the rich .NET ecosystem.
|
||||
- Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.
|
||||
- 🌈 Enterprise-class UI interactive language and visual style.
|
||||
- 📦 Out-of-the-box, high-quality Razor components that can be shared in a variety of hosting models.
|
||||
- 💕 Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
|
||||
- 🎨 Supports Progressive Web Applications (PWA).
|
||||
- 🛡 Build with C#, a multi-paradigm static language for an efficient development experience.
|
||||
- ⚙️ NET Standard 2.1 based, with direct reference to the rich .NET ecosystem.
|
||||
- 🎁 Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.
|
||||
|
||||
## 🌈 Online Examples
|
||||
|
||||
@ -41,7 +41,7 @@ WebAssembly static hosting examples:
|
||||
## 🖥 Environment Support
|
||||
|
||||
- .NET Core 3.1
|
||||
- Blazor WebAssembly 3.2 Preview 3
|
||||
- Blazor WebAssembly 3.2 Preview 5
|
||||
- Supports two-way binding on the server side
|
||||
- Supports WebAssembly static file deployment
|
||||
- Support 4 major browsers engines, and Internet Explorer 11+ ([Blazor Server](https://docs.microsoft.com/en-us/aspnet/core/blazor/supported-platforms?view=aspnetcore-3.1) only)
|
||||
@ -69,7 +69,7 @@ Regularly synchronize with Official Ant Design specifications, you can check the
|
||||
- Install Blazor WebAssembly Templates
|
||||
|
||||
```bash
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
|
||||
```
|
||||
|
||||
- Create Blazor WebAssembly Project
|
||||
|
@ -23,13 +23,13 @@
|
||||
|
||||
## ✨ 特性
|
||||
|
||||
- 提炼自企业级中后台产品的交互语言和视觉风格。
|
||||
- 开箱即用的高质量 Razor 组件,可在多种托管方式共享。
|
||||
- 支持基于 WebAssembly 的客户端和基于 SignalR 的服务端UI事件交互。
|
||||
- 支持渐进式 Web 应用(PWA)
|
||||
- 使用 C# 构建,多范式静态语言带来高效的开发体验。
|
||||
- 基于 .NET Standard 2.1,可直接引用丰富的 .NET 类库。
|
||||
- 可与已有的 ASP.NET Core MVC、Razor Pages 项目无缝集成。
|
||||
- 🌈 提炼自企业级中后台产品的交互语言和视觉风格。
|
||||
- 📦 开箱即用的高质量 Razor 组件,可在多种托管方式共享。
|
||||
- 💕 支持基于 WebAssembly 的客户端和基于 SignalR 的服务端UI事件交互。
|
||||
- 🎨 支持渐进式 Web 应用(PWA)
|
||||
- 🛡 使用 C# 构建,多范式静态语言带来高效的开发体验。
|
||||
- ⚙️ 基于 .NET Standard 2.1,可直接引用丰富的 .NET 类库。
|
||||
- 🎁 可与已有的 ASP.NET Core MVC、Razor Pages 项目无缝集成。
|
||||
|
||||
## 🌈 在线示例
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
## 🖥 支持环境
|
||||
|
||||
- .NET Core 3.1
|
||||
- Blazor WebAssembly 3.2 preievew 3
|
||||
- Blazor WebAssembly 3.2 preievew 5
|
||||
- 支持服务端双向绑定
|
||||
- 支持 WebAssembly 静态文件部署
|
||||
- 主流4款现代浏览器,以及 Internet Explorer 11+ (使用 [Blazor Server](https://angular.io/guide/browser-support))
|
||||
@ -65,7 +65,7 @@
|
||||
- 先安装 [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) 3.1.201 以上版本
|
||||
- 安装 Blazor WebAssembly 模板
|
||||
```
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
|
||||
$ dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
|
||||
```
|
||||
- 创建 Blazor WebAssembly 项目
|
||||
```
|
||||
|
@ -7,9 +7,9 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-preview3.20168.3" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-preview3.20168.3" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-preview3.20168.3" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-preview5.20216.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-preview5.20216.8" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-preview5.20216.8" PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- When publishing, swap service-worker.published.js in place of service-worker.js -->
|
||||
|
@ -1,4 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@ -11,10 +13,11 @@ namespace AntBlazor.Docs.Wasm
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
builder.RootComponents.Add<App>("app");
|
||||
|
||||
builder.Services.AddBaseAddressHttpClient();
|
||||
builder.Services.AddTransient(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
|
||||
|
||||
builder.Services.AddAntBlazorDocs();
|
||||
|
||||
await builder.Build().RunAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="3.2.0-preview3.20168.3" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="3.2.0-preview5.20216.8" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user