Skip to content

Commit 08f91ce

Browse files
Merge pull request #1000 from IgniteUI/ESShared/XPlaform_examples_igniteui-xplat-examples-output+PRs_2025.6.2.3
Changes from igniteui-xplat-examples-output+PRs_2025.6.2.3
2 parents 124c63b + 3be5b7a commit 08f91ce

File tree

121 files changed

+22014
-989
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+22014
-989
lines changed

samples/charts/category-chart/overview/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="container vertical">
44
<div class="legend-title">
5-
Olympic Medals By Country
5+
Olympic Medals by Country
66
</div>
77
<div class="legend">
88
<IgbLegend
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
@using IgniteUI.Blazor.Controls
2+
3+
<div class="container vertical">
4+
<div class="container vertical fill">
5+
<IgbDashboardTile
6+
Name="dashboard"
7+
@ref="dashboard"
8+
DataSource="RetailSalesPerformanceLocalDataSource">
9+
</IgbDashboardTile>
10+
11+
</div>
12+
</div>
13+
14+
@code {
15+
16+
protected override async Task OnAfterRenderAsync(bool firstRender)
17+
{
18+
var dashboard = this.dashboard;
19+
20+
}
21+
22+
private IgbDashboardTile dashboard;
23+
24+
private RetailSalesPerformanceLocalDataSource _retailSalesPerformanceLocalDataSource = null;
25+
public RetailSalesPerformanceLocalDataSource RetailSalesPerformanceLocalDataSource
26+
{
27+
get
28+
{
29+
if (_retailSalesPerformanceLocalDataSource == null)
30+
{
31+
_retailSalesPerformanceLocalDataSource = new RetailSalesPerformanceLocalDataSource();
32+
}
33+
return _retailSalesPerformanceLocalDataSource;
34+
}
35+
}
36+
37+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<RazorLangVersion>3.0</RazorLangVersion>
6+
<AssemblyName>Infragistics.Samples</AssemblyName>
7+
<RootNamespace>Infragistics.Samples</RootNamespace>
8+
</PropertyGroup>
9+
10+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
11+
<NoWarn>1701;1702,IDE0028,BL0005,0219,CS1998</NoWarn>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<PackageReference Include="IgniteUI.Blazor" Version="25.1.17" />
16+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
17+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" />
18+
<PackageReference Include="System.Net.Http.Json" Version="9.0.0" />
19+
</ItemGroup>
20+
21+
</Project>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29613.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorClientApp", "BlazorClientApp.csproj", "{F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {FC52AAC8-4488-40AE-9621-75F6BA744B18}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System;
2+
using System.Net.Http;
3+
using System.Collections.Generic;
4+
using System.Threading.Tasks;
5+
using System.Text;
6+
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
7+
using Microsoft.Extensions.Configuration;
8+
using Microsoft.Extensions.DependencyInjection;
9+
using Microsoft.Extensions.Logging;
10+
using IgniteUI.Blazor.Controls; // for registering Ignite UI modules
11+
12+
namespace Infragistics.Samples
13+
{
14+
public class Program
15+
{
16+
public static async Task Main(string[] args)
17+
{
18+
var builder = WebAssemblyHostBuilder.CreateDefault(args);
19+
builder.RootComponents.Add<App>("app");
20+
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
21+
// registering Ignite UI modules
22+
builder.Services.AddIgniteUIBlazor(
23+
typeof(IgbDashboardTileModule),
24+
typeof(IgbDataChartDashboardTileModule),
25+
typeof(IgbGeographicMapDashboardTileModule),
26+
typeof(IgbLinearGaugeDashboardTileModule),
27+
typeof(IgbPieChartDashboardTileModule),
28+
typeof(IgbRadialGaugeDashboardTileModule)
29+
);
30+
await builder.Build().RunAsync();
31+
}
32+
}
33+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"iisSettings": {
3+
"windowsAuthentication": false,
4+
"anonymousAuthentication": true,
5+
"iisExpress": {
6+
"applicationUrl": "http://localhost:4200",
7+
"sslPort": 44385
8+
}
9+
},
10+
"profiles": {
11+
"IIS Express": {
12+
"commandName": "IISExpress",
13+
"launchBrowser": true,
14+
"environmentVariables": {
15+
"ASPNETCORE_ENVIRONMENT": "Development"
16+
}
17+
},
18+
"BlazorSamples": {
19+
"commandName": "Project",
20+
"launchBrowser": true,
21+
"environmentVariables": {
22+
"ASPNETCORE_ENVIRONMENT": "Development"
23+
},
24+
"applicationUrl": "https://localhost:5001;http://localhost:4200"
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)