IgniteUI.Blazor.Trial
24.2.26
dotnet add package IgniteUI.Blazor.Trial --version 24.2.26
NuGet\Install-Package IgniteUI.Blazor.Trial -Version 24.2.26
<PackageReference Include="IgniteUI.Blazor.Trial" Version="24.2.26" />
paket add IgniteUI.Blazor.Trial --version 24.2.26
#r "nuget: IgniteUI.Blazor.Trial, 24.2.26"
// Install IgniteUI.Blazor.Trial as a Cake Addin #addin nuget:?package=IgniteUI.Blazor.Trial&version=24.2.26 // Install IgniteUI.Blazor.Trial as a Cake Tool #tool nuget:?package=IgniteUI.Blazor.Trial&version=24.2.26
Getting Started with Ignite UI for Blazor WebAssembly
This topic provides step-by-step instructions for creating Blazor WebAssembly applications with Ignite UI for Blazor using Visual Studio.
Create a New Blazor WebAssembly Project
The steps below describe how to create a new Blazor WebAssembly project. If you want to add Ignite UI for Blazor to an existing application, go to the Install Ignite UI for Blazor Package section.
Start Visual Studio 2022 and click Create a new project on the start page, select the Blazor WebAssembly App template, and click Next.
Provide a project name and location, and click Next
Specify additional project options, and click Create
Install Ignite UI for Blazor
Ignite UI for Blazor is delivered via NuGet packages. To use the Ignite UI for Blazor components in your Blazor applications, you must first install the appropriate NuGet packages.
In Visual Studio, open the NuGet package manager by selecting Tools → NuGet Package Manager → Manage NuGet Packages for Solution. Search for and install the IgniteUI.Blazor NuGet package.
For more information on installing Ignite UI for Blazor using NuGet, read the Installing Ignite UI for Blazor topic.
Register Ignite UI for Blazor
1 - Open the Program.cs file and register the Ignite UI for Blazor Service by calling builder.Services.AddIgniteUIBlazor():
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddIgniteUIBlazor();
await builder.Build().RunAsync();
2 - Add the IgniteUI.Blazor.Controls namespace in the _Imports.razor file:
@using IgniteUI.Blazor.Controls
3 - Add the Style Sheet in the <head> element of the wwwroot/index.html file:
<head>
<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />
</head>
4 - Add Script Reference to the wwwroot/index.html file:
<script src="_content/IgniteUI.Blazor/app.bundle.js"></script>
<script src="_framework/blazor.webassembly.js"></script>
Add Ignite UI for Blazor Component
Add an Ignite UI for Blazor component to your razor page:
<IgbCard style="width:350px">
<IgbCardMedia>
<img src="https://images.unsplash.com/photo-1541516160071-4bb0c5af65ba?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=350&q=80" />
</IgbCardMedia>
<IgbCardHeader>
<h4>Jane Doe</h4>
<h6>Professional Photographer</h6>
</IgbCardHeader>
<IgbCardContent>Hi! I'm Jane, photographer and filmmaker.
Photography is a way of feeling, of touching,
of loving. What you have caught on film is captured forever...
it remembers little things, long after you have
forgotten everything.</IgbCardContent>
<IgbCardActions>
<IgbButton>More Info</IgbButton>
</IgbCardActions>
</IgbCard>
Build and run the Blazor app.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNetCore.Components (>= 3.1.5)
- Microsoft.AspNetCore.Components.Web (>= 3.1.5)
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.2.26 | 201 | 11/25/2024 |
24.2.19 | 160 | 11/15/2024 |
24.1.67 | 382 | 10/11/2024 |
24.1.52 | 296 | 9/20/2024 |
24.1.46 | 233 | 9/11/2024 |
23.2.257 | 744 | 6/28/2024 |
23.2.204 | 583 | 4/18/2024 |
23.2.191 | 333 | 3/29/2024 |
23.2.189 | 255 | 3/27/2024 |
23.2.120 | 14,134 | 1/17/2024 |
23.2.110 | 688 | 1/9/2024 |
23.2.97 | 1,272 | 12/14/2023 |
23.2.81 | 896 | 11/22/2023 |
23.2.76 | 824 | 11/15/2023 |
23.2.61 | 895 | 11/10/2023 |
23.1.72 | 3,366 | 8/17/2023 |
23.1.60 | 1,698 | 7/28/2023 |
23.1.37 | 2,788 | 6/27/2023 |
22.2.65 | 2,706 | 3/28/2023 |
22.2.60 | 1,273 | 3/22/2023 |
22.2.52 | 2,436 | 1/9/2023 |
22.2.50 | 1,572 | 12/9/2022 |
22.2.36 | 1,438 | 11/16/2022 |