ant-design-blazor - AntDesign 1.0.0-nightly-2410210540
๐ A set of enterprise-class UI components based on Ant Design and Blazor.
PM> Install-Package AntDesign -Version 1.0.0-nightly-2410210540 -Source https://www.myget.org/F/ant-design-blazor/api/v3/index.json
> nuget.exe install AntDesign -Version 1.0.0-nightly-2410210540 -Source https://www.myget.org/F/ant-design-blazor/api/v3/index.json
> dotnet add package AntDesign --version 1.0.0-nightly-2410210540 --source https://www.myget.org/F/ant-design-blazor/api/v3/index.json
source https://www.myget.org/F/ant-design-blazor/api/v3/index.json
nuget AntDesign ~> 1.0.0-nightly-2410210540
Copy to clipboard
> choco install AntDesign --version 1.0.0-nightly-2410210540 --source https://www.myget.org/F/ant-design-blazor/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "ant-design-blazor" -SourceLocation "https://www.myget.org/F/ant-design-blazor/api/v2"
Install-Module -Name "AntDesign" -RequiredVersion "1.0.0-nightly-2410210540" -Repository "ant-design-blazor" -AllowPreRelease
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/ant-design-blazor/api/v2/symbolpackage/
Ant Design Blazor
English | ็ฎไฝไธญๆ
โจ Features
- ๐ 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.
- ๐ Internationalization support for dozens of languages.
- ๐ Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.
๐ Online Examples
WebAssembly static hosting on:
๐ฅ Environment Support
- Supports .NET Core 3.1 / .NET 5 / .NET 6 / .Net 7 / .NET 8 / .NET 9 .
- Supports WebAssembly static file deployment.
- Supports 4 major browsers engines, and Internet Explorer 11+ (Blazor Server only)
- Supports .NET MAUI / WPF / Windows Forms and other Blazor Hybrid workloads.
- Supports Electron and other Web standards-based environments.
Due to WebAssembly restriction, Blazor WebAssembly doesn't support IE browser, but Blazor Server supports IE 11โ with additional polyfills. See official documentation.
From .NET 5, IE 11 is no longer officially supported. See Blazor: Updated browser support. Unofficial support is provided by Blazor.Polyfill community project.
๐ฟ Current Version
๐จ Design Specification
Regularly synchronize with Official Ant Design specifications, you can check the sync logs online.
Therefore, you can use the custom theme styles of Ant Design directly.
Before the 1.0 release, we will only sync antd 4.x styles.
๐ฆ Installation Guide
Prerequirement
- Install .NET Core SDK 3.1.300 or later, .NET 8 is even better.
Option 1: Create a new project from the dotnet new template
We have provided the dotnet new
template to create a Boilerplate project out of the box๏ผ
Install the template
$ dotnet new --install AntDesign.Templates
Create the Boilerplate project with the template
$ dotnet new antdesign -o MyAntDesignApp
Options for the template๏ผ
Options | Description | Type | Default |
---|---|---|---|
-f | --full |
If specified, generates all pages of Ant Design Pro | bool | false |
-ho | --host |
Specify the hosting model | 'webapp' | 'wasm' | 'server' | 'webapp' |
--styles |
Whether use NodeJS and Less to compile your custom themes. | css | less |
css |
--no-restore |
If specified, skips the automatic restore of the project on create | bool | false |
Option 2: Import Ant Design Blazor into an existing project
Go to the project folder of the application and install the Nuget package reference
$ dotnet add package AntDesign
Register the services in
Program.cs
builder.Services.AddAntDesign();
or
Startup.cs
services.AddAntDesign();
Add namespace in
_Imports.razor
@using AntDesign
Introduce CSS and JS files in appropriate places. The WebApp project was introduced in App.razor, and the WebAssembly project was introduced in index.html
<link href="_content/AntDesign/css/ant-design-blazor.css" rel="stylesheet"> <script src="_content/AntDesign/js/ant-design-blazor.js"></script>
To display the pop-up component dynamically, you need to add the
<AntContainer />
component inApp.razor
.- For Blazor WebApp, you also need to specify render mode to
<Routes />
for interactivity.
<Routes @rendermode="RenderMode.InteractiveAuto" /> <-- specify the rendermode โจ + <AntContainer @rendermode="RenderMode.InteractiveAuto" /> <-- add this component โจ
- For legacy blazor apps just add a line of code:
<Router AppAssembly="@typeof(MainLayout).Assembly"> <Found Context="routeData"> <RouteView RouteData="routeData" DefaultLayout="@typeof(MainLayout)" /> </Found> <NotFound> <LayoutView Layout="@typeof(MainLayout)"> <Result Status="404" /> </LayoutView> </NotFound> </Router> + <AntContainer /> <-- add this component โจ
- For Blazor WebApp, you also need to specify render mode to
Finally, it can be referenced in the
.razor
component!<Button Type="@ButtonType.Primary">Hello World!</Button>
๐จ Development
Gitpod
Click the button below to start a new workspace for development for free.
Local
Install .NET Core SDK 9.0.100 or later.
Install Node.js (only for building style files and interoperable TypeScript files)
Clone to local development
$ git clone https://github.com/ant-design-blazor/ant-design-blazor.git $ cd ant-design-blazor $ npm install $ dotnet build ./site/AntDesign.Docs.Build/AntDesign.Docs.Build.csproj $ npm start
Visit https://localhost:5001 in your supported browser and check local development documentation for details.
Visual Studio 2022 is recommended for development.
๐ Links
๐บ Roadmap
Check out this issue to learn about our development plans for the 1.0 release.
You can also find the latest news about the features we will implement in the future with antd5.0 style.
๐ค Contributing
If you would like to contribute, feel free to create a Pull Request, or give us Bug Report.
๐ Donation
This project is an MIT-licensed open source project. In order to achieve better and sustainable development of the project, we expect to gain more backers. We will use the proceeds for community operations and promotion. You can support us in any of the following ways:
We will put the detailed donation records on the backer list.
โ Community Support
If you encounter any problems in the process, feel free to ask for help via following channels. We also encourage experienced users to help newcomers.
Contributors
This project exists thanks to all the people who contribute.
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
โ๏ธ License
.NET Foundation
This project is supported by the .NET Foundation.
-
.NETFramework 5.0
- Microsoft.AspNetCore.Components.Web (>= 5.0.0)
- OneOf (>= 2.1.155)
-
.NETFramework 6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
- OneOf (>= 2.1.155)
-
.NETFramework 7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
- OneOf (>= 2.1.155)
-
.NETFramework 8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
- OneOf (>= 2.1.155)
-
.NETFramework 9.0
- Microsoft.AspNetCore.Components.Web (>= 9.0.0-rc.2.24474.3)
- OneOf (>= 2.1.155)
-
.NETStandard 2.1
- Microsoft.AspNetCore.Components.Web (>= 3.1.0)
- OneOf (>= 2.1.155)
- System.Text.Json (>= 7.0.0)
- .NETFramework 5.0: 5.0.0.0
- .NETFramework 6.0: 6.0.0.0
- .NETFramework 7.0: 7.0.0.0
- .NETFramework 8.0: 8.0.0.0
- .NETFramework 9.0: 9.0.0.0
- .NETStandard 2.1: 2.1.0.0
OwnersJames Yeung |
AuthorsJames Yeung |
Project URLhttps://github.com/ant-design-blazor/ant-design-blazor |
LicenseUnknown |
Tagsblazor,antblazor,ant-design,ant-design-blazor |
Info2 total downloads |
0 downloads for version 1.0.0-nightly-2410210540 |
Download (7.63 MB) |
Download symbols (3.23 MB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
1.0.0-nightly-2410212332 | 7.63 MB | Mon, 21 Oct 2024 23:34:34 GMT | 1 | ||||
1.0.0-nightly-2410210540 | 7.63 MB | Mon, 21 Oct 2024 05:42:59 GMT | 0 | ||||
1.0.0-nightly-2410191728 | 7.63 MB | Sat, 19 Oct 2024 17:30:35 GMT | 0 | ||||
1.0.0-nightly-2410191726 | 7.63 MB | Sat, 19 Oct 2024 17:28:11 GMT | 0 | ||||
1.0.0-nightly-2410191527 | 7.63 MB | Sat, 19 Oct 2024 15:29:30 GMT | 0 | ||||
1.0.0-nightly-2410190918 | 7.63 MB | Sat, 19 Oct 2024 09:20:43 GMT | 0 | ||||
1.0.0-nightly-2410171650 | 7.63 MB | Thu, 17 Oct 2024 16:52:46 GMT | 0 | ||||
1.0.0-nightly-2410131217 | 7.63 MB | Sun, 13 Oct 2024 12:19:17 GMT | 0 | ||||
1.0.0-nightly-2410131216 | 7.62 MB | Sun, 13 Oct 2024 12:18:29 GMT | 0 | ||||
1.0.0-nightly-2410121637 | 7.62 MB | Sat, 12 Oct 2024 16:39:00 GMT | 0 | ||||
1.0.0-nightly-2410120758 | 7.62 MB | Sat, 12 Oct 2024 08:00:08 GMT | 0 | ||||
1.0.0-nightly-2410100337 | 7.62 MB | Thu, 10 Oct 2024 03:39:56 GMT | 0 | ||||
1.0.0-nightly-2410091105 | 7.62 MB | Wed, 09 Oct 2024 11:07:31 GMT | 0 | ||||
1.0.0-nightly-2410091104 | 7.62 MB | Wed, 09 Oct 2024 11:06:02 GMT | 0 | ||||
1.0.0-nightly-2410080154 | 6.51 MB | Tue, 08 Oct 2024 01:55:50 GMT | 0 | ||||
1.0.0-nightly-2410080153 | 6.51 MB | Tue, 08 Oct 2024 01:55:11 GMT | 0 | ||||
1.0.0-nightly-2410071506 | 6.51 MB | Mon, 07 Oct 2024 15:07:54 GMT | 0 | ||||
1.0.0-nightly-2410031720 | 6.51 MB | Thu, 03 Oct 2024 17:22:00 GMT | 0 | ||||
1.0.0-nightly-2409271604 | 6.51 MB | Fri, 27 Sep 2024 16:06:07 GMT | 0 | ||||
1.0.0-nightly-2409260605 | 6.5 MB | Thu, 26 Sep 2024 06:07:39 GMT | 0 | ||||
1.0.0-nightly-2409240443 | 6.5 MB | Tue, 24 Sep 2024 04:45:23 GMT | 0 | ||||
1.0.0-nightly-2409222208 | 6.5 MB | Sun, 22 Sep 2024 22:10:16 GMT | 0 | ||||
1.0.0-nightly-2409212349 | 6.5 MB | Sat, 21 Sep 2024 23:51:03 GMT | 0 | ||||
1.0.0-nightly-2409211323 | 6.5 MB | Sat, 21 Sep 2024 13:25:05 GMT | 0 | ||||
1.0.0-nightly-2409201726 | 6.5 MB | Fri, 20 Sep 2024 17:28:10 GMT | 0 | ||||
1.0.0-nightly-2409201719 | 6.5 MB | Fri, 20 Sep 2024 17:20:48 GMT | 0 | ||||
1.0.0-nightly-2409200135 | 6.5 MB | Fri, 20 Sep 2024 01:36:55 GMT | 0 | ||||
1.0.0-nightly-2409191517 | 6.5 MB | Thu, 19 Sep 2024 15:19:23 GMT | 0 | ||||
1.0.0-nightly-2409191340 | 6.5 MB | Thu, 19 Sep 2024 13:42:09 GMT | 0 | ||||
1.0.0-nightly-2409190351 | 6.5 MB | Thu, 19 Sep 2024 03:53:17 GMT | 0 | ||||
0.20.5-nightly-2409100012 | 6.49 MB | Tue, 10 Sep 2024 00:14:15 GMT | 0 | ||||
0.20.4-nightly-2409100348 | 6.49 MB | Tue, 10 Sep 2024 03:49:56 GMT | 0 | ||||
0.20.4-nightly-2409040909 | 6.49 MB | Wed, 04 Sep 2024 09:11:40 GMT | 0 | ||||
0.20.4-nightly-2409032243 | 6.48 MB | Tue, 03 Sep 2024 22:45:11 GMT | 0 | ||||
0.20.4-nightly-2409031532 | 6.48 MB | Tue, 03 Sep 2024 15:34:11 GMT | 0 | ||||
0.20.4-nightly-2409030720 | 6.48 MB | Tue, 03 Sep 2024 07:22:34 GMT | 0 | ||||
0.20.3-nightly-2408221207 | 6.51 MB | Thu, 22 Aug 2024 12:09:21 GMT | 0 | ||||
0.20.3-nightly-2408210909 | 6.51 MB | Wed, 21 Aug 2024 09:10:54 GMT | 0 | ||||
0.20.3-nightly-2408210157 | 6.7 MB | Wed, 21 Aug 2024 01:59:18 GMT | 1 | ||||
0.20.2-nightly-2408210630 | 6.7 MB | Wed, 21 Aug 2024 06:32:29 GMT | 0 | ||||
0.20.2-nightly-2408201434 | 5.82 MB | Tue, 20 Aug 2024 14:35:33 GMT | 0 | ||||
0.20.2-nightly-2408201425 | 5.82 MB | Tue, 20 Aug 2024 14:27:03 GMT | 0 | ||||
0.20.2-nightly-2408201335 | 5.82 MB | Tue, 20 Aug 2024 13:36:52 GMT | 0 | ||||
0.20.2-nightly-2408190605 | 5.82 MB | Mon, 19 Aug 2024 06:06:47 GMT | 0 | ||||
0.20.2-nightly-2408181506 | 5.82 MB | Sun, 18 Aug 2024 15:08:11 GMT | 0 | ||||
0.20.2-nightly-2408180830 | 5.82 MB | Sun, 18 Aug 2024 08:31:53 GMT | 0 | ||||
0.20.2-nightly-2408151710 | 5.82 MB | Thu, 15 Aug 2024 17:11:57 GMT | 0 | ||||
0.20.2-nightly-2408151436 | 5.82 MB | Thu, 15 Aug 2024 14:37:41 GMT | 0 | ||||
0.20.1-nightly-2408091043 | 5.8 MB | Fri, 09 Aug 2024 10:44:58 GMT | 0 | ||||
0.20.1-nightly-2408091042 | 5.72 MB | Fri, 09 Aug 2024 10:43:55 GMT | 0 | ||||
0.20.1-nightly-2408081612 | 5.72 MB | Thu, 08 Aug 2024 16:14:04 GMT | 0 | ||||
0.20.1-nightly-2408081433 | 5.67 MB | Thu, 08 Aug 2024 14:35:23 GMT | 0 |