Skip to content

Commit a92e4cf

Browse files
v32.1.19
1 parent cb31c75 commit a92e4cf

3,725 files changed

Lines changed: 830526 additions & 0 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.vs/
2+
.vscode/
3+
node_modules/
4+
package-lock.json/
5+
sitemap-demos.xml/
6+
/Common/*.sln
7+
/Common/*.sln
8+
/Common/*.user
9+
/Common/wwwroot/scripts/**/*.txt
10+
/Common/wwwroot/scripts/**/*.min.js
11+
/Common/wwwroot/styles/**/*.min.css
12+
!/Common/wwwroot/styles/component-samples/**
13+
/**/wwwroot/*.min.js
14+
/**/*.user
15+
/**/**/bin
16+
/**/**/.vs
17+
/**/**/.vscode
18+
/**/**/obj
19+
/**/bin
20+
/**/.vs
21+
/**/.vscode
22+
/**/obj
23+
/**/node_modules
24+
/**/package-lock.json
25+
AxeReport/
26+
publish/
27+
./sitemap-demos.xml

Blazor-Server-Demos/.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
bin/
2+
obj/
3+
node_modules/
4+
package-lock.json
5+
wwwroot/scripts/common/demos.min.js
6+
wwwroot/scripts/common/index.min.js
7+
wwwroot/styles/common/home.min.css
8+
wwwroot/styles/common/*.min.css
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net10.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<RootNamespace>BlazorDemos</RootNamespace>
8+
<EnableMSDeployAppOffline>true</EnableMSDeployAppOffline>
9+
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
10+
<BlazorDisableThrowNavigationException>true</BlazorDisableThrowNavigationException>
11+
<CompressionExcludePatterns>
12+
$(CompressionExcludePatterns);styles/component-samples/**
13+
</CompressionExcludePatterns>
14+
</PropertyGroup>
15+
<Target Name="RemoveStaticFiles" AfterTargets="AfterPublish">
16+
<PropertyGroup>
17+
<Files>$(PublishDir)\wwwroot\_content</Files>
18+
</PropertyGroup>
19+
20+
<ItemGroup>
21+
<Directories Include="$(Files)\**" Exclude=" $(Files)\Syncfusion.Blazor.*\**;$(Files)\Blazor_Server_Common_NET10\**;" />
22+
</ItemGroup>
23+
24+
<Delete Files="@(Directories)" ContinueOnError="true" />
25+
</Target>
26+
27+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
28+
<DefineConstants>TRACE;RELEASE;NET10_0;$(SyncfusionLicensing);STAGING</DefineConstants>
29+
<ConfigurationValue>Release</ConfigurationValue>
30+
<Staging Condition="'$(DefineConstants)' != '' and $(DefineConstants.Contains('STAGING'))">true</Staging>
31+
</PropertyGroup>
32+
33+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
34+
<DefineConstants>TRACE;DEBUG;NET10_0;STAGING</DefineConstants>
35+
<ConfigurationValue>Debug</ConfigurationValue>
36+
</PropertyGroup>
37+
38+
<PropertyGroup Condition="'$(STAGING)' != ''">
39+
<DefineConstants>$(DefineConstants);STAGING</DefineConstants>
40+
</PropertyGroup>
41+
42+
<PropertyGroup Condition="'$(ISSTAGING)' != ''">
43+
<DefineConstants>$(DefineConstants);ISSTAGING</DefineConstants>
44+
</PropertyGroup>
45+
46+
<ItemGroup>
47+
<ProjectReference Include="..\Common\Blazor_Server_Common_NET10.csproj" />
48+
</ItemGroup>
49+
50+
<!-- Set AppEnvironment to Debug if Configuration is Debug OR STAGING is true -->
51+
<PropertyGroup Condition="'$(Configuration)' == 'Debug' Or '$(Staging)' == 'true'">
52+
<AppEnvironment>Debug</AppEnvironment>
53+
</PropertyGroup>
54+
55+
<!-- Default to Release if AppEnvironment is not already set -->
56+
<PropertyGroup Condition="'$(AppEnvironment)' == ''">
57+
<AppEnvironment>Release</AppEnvironment>
58+
</PropertyGroup>
59+
60+
<!-- Set AppEnvironment to Staging if Configuration is Release AND Staging is true -->
61+
<PropertyGroup Condition="'$(Configuration)' == 'Release' And '$(Staging)' == 'true'">
62+
<AppEnvironment>Staging</AppEnvironment>
63+
</PropertyGroup>
64+
65+
<Target Name="UpdateScriptReference" BeforeTargets="BeforeBuild" Condition="'$(Configuration)'=='Release'">
66+
<ReadLinesFromFile File="Components\App.razor">
67+
<Output TaskParameter="Lines" ItemName="AppRazorLines" />
68+
</ReadLinesFromFile>
69+
<ItemGroup>
70+
<AppRazorLinesUpdated Include="@(AppRazorLines->Replace('index.js','index.min.js'))" />
71+
</ItemGroup>
72+
<WriteLinesToFile File="Components\App.razor" Lines="@(AppRazorLinesUpdated)" Overwrite="true" />
73+
</Target>
74+
75+
<Target Name="MinifyAssets" BeforeTargets="BeforeBuild" Condition="'$(Configuration)'=='Release'">
76+
77+
<ItemGroup>
78+
<_CssFiles Include="..\Common\wwwroot\**\*.css" Exclude="..\Common\wwwroot\**\*.min.css" />
79+
<_JsFiles Include="..\Common\wwwroot\**\*.js" Exclude="..\Common\wwwroot\**\*.min.js" />
80+
</ItemGroup>
81+
82+
<Exec
83+
Command="dotnet &quot;../Common/AssetMinifier/Blazor-StaticAssetMinifier/AssetMinifier.dll&quot; &quot;%( _CssFiles.FullPath )&quot;"
84+
Condition="Exists('%( _CssFiles.FullPath )')"
85+
StandardOutputImportance="High"
86+
StandardErrorImportance="High" />
87+
88+
<Exec
89+
Command="dotnet &quot;../Common/AssetMinifier/Blazor-StaticAssetMinifier/AssetMinifier.dll&quot; &quot;%( _JsFiles.FullPath )&quot;"
90+
Condition="Exists('%( _JsFiles.FullPath )')"
91+
StandardOutputImportance="High"
92+
StandardErrorImportance="High" />
93+
94+
</Target>
95+
96+
<Target Name="ProductionBuild" BeforeTargets="BeforeBuild">
97+
<Delete Files="wwwroot/version.js" />
98+
<WriteLinesToFile File="wwwroot/version.js" Lines='export const data={"version":"net10.0","configuration":"$(AppEnvironment)"}' />
99+
</Target>
100+
101+
<ItemGroup>
102+
<Content Remove="wwwroot\Blazor_Server_Demos_NET9.lib.module.js" />
103+
<Content Remove="wwwroot\Blazor_Server_Demos_NET8.lib.module.js" />
104+
</ItemGroup>
105+
</Project>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.0.11116.177 d18.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Blazor_Server_Demos_NET10", "Blazor_Server_Demos_NET10.csproj", "{9357C944-F069-AD7C-D8C3-3EA27E947081}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Blazor_Server_Common_NET10", "..\Common\Blazor_Server_Common_NET10.csproj", "{645243F9-9DDE-7901-4BC0-034D2CE17854}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{9357C944-F069-AD7C-D8C3-3EA27E947081}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{9357C944-F069-AD7C-D8C3-3EA27E947081}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{9357C944-F069-AD7C-D8C3-3EA27E947081}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{9357C944-F069-AD7C-D8C3-3EA27E947081}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{645243F9-9DDE-7901-4BC0-034D2CE17854}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{645243F9-9DDE-7901-4BC0-034D2CE17854}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{645243F9-9DDE-7901-4BC0-034D2CE17854}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{645243F9-9DDE-7901-4BC0-034D2CE17854}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {8FFA831C-859E-4ECA-AF38-AA734FECDA84}
30+
EndGlobalSection
31+
EndGlobal
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<LangVersion>9.0</LangVersion>
6+
<RootNamespace>BlazorDemos</RootNamespace>
7+
<EnableMSDeployAppOffline>true</EnableMSDeployAppOffline>
8+
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
9+
<Nullable>enable</Nullable>
10+
</PropertyGroup>
11+
12+
<Target Name="RemoveStaticFiles" AfterTargets="AfterPublish">
13+
<PropertyGroup>
14+
<Files>$(PublishDir)\wwwroot\_content</Files>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<Directories Include="$(Files)\**" Exclude=" $(Files)\Syncfusion.Blazor.*\**;$(Files)\Blazor_Server_Common_NET8\**;" />
19+
</ItemGroup>
20+
21+
<Delete Files="@(Directories)" ContinueOnError="true" />
22+
</Target>
23+
24+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
25+
<DefineConstants>TRACE;RELEASE;NET8_0;$(SyncfusionLicensing);STAGING</DefineConstants>
26+
<ConfigurationValue>Release</ConfigurationValue>
27+
<Staging Condition="'$(DefineConstants)' != '' and $(DefineConstants.Contains('STAGING'))">true</Staging>
28+
</PropertyGroup>
29+
30+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
31+
<DefineConstants>TRACE;DEBUG;NET8_0;STAGING</DefineConstants>
32+
<ConfigurationValue>Debug</ConfigurationValue>
33+
</PropertyGroup>
34+
35+
<PropertyGroup Condition="'$(STAGING)' != ''">
36+
<DefineConstants>$(DefineConstants);STAGING</DefineConstants>
37+
</PropertyGroup>
38+
39+
<PropertyGroup Condition="'$(ISSTAGING)' != ''">
40+
<DefineConstants>$(DefineConstants);ISSTAGING</DefineConstants>
41+
</PropertyGroup>
42+
43+
<!-- Set AppEnvironment to Debug if Configuration is Debug OR STAGING is true -->
44+
<PropertyGroup Condition="'$(Configuration)' == 'Debug' Or '$(Staging)' == 'true'">
45+
<AppEnvironment>Debug</AppEnvironment>
46+
</PropertyGroup>
47+
48+
<!-- Default to Release if AppEnvironment is not already set -->
49+
<PropertyGroup Condition="'$(AppEnvironment)' == ''">
50+
<AppEnvironment>Release</AppEnvironment>
51+
</PropertyGroup>
52+
53+
<!-- Set AppEnvironment to Staging if Configuration is Release AND Staging is true -->
54+
<PropertyGroup Condition="'$(Configuration)' == 'Release' And '$(Staging)' == 'true'">
55+
<AppEnvironment>Staging</AppEnvironment>
56+
</PropertyGroup>
57+
58+
<Target Name="UpdateScriptReference" BeforeTargets="BeforeBuild" Condition="'$(Configuration)'=='Release'">
59+
<ReadLinesFromFile File="Components\App.razor">
60+
<Output TaskParameter="Lines" ItemName="AppRazorLines" />
61+
</ReadLinesFromFile>
62+
<ItemGroup>
63+
<AppRazorLinesUpdated Include="@(AppRazorLines->Replace('index.js','index.min.js'))" />
64+
</ItemGroup>
65+
<WriteLinesToFile File="Components\App.razor" Lines="@(AppRazorLinesUpdated)" Overwrite="true" />
66+
</Target>
67+
68+
<Target Name="MinifyAssets" BeforeTargets="BeforeBuild" Condition="'$(Configuration)'=='Release'">
69+
70+
<ItemGroup>
71+
<_CssFiles Include="..\Common\wwwroot\**\*.css" Exclude="..\Common\wwwroot\**\*.min.css" />
72+
<_JsFiles Include="..\Common\wwwroot\**\*.js" Exclude="..\Common\wwwroot\**\*.min.js" />
73+
</ItemGroup>
74+
75+
<Exec
76+
Command="dotnet &quot;../Common/AssetMinifier/Blazor-StaticAssetMinifier/AssetMinifier.dll&quot; &quot;%( _CssFiles.FullPath )&quot;"
77+
Condition="Exists('%( _CssFiles.FullPath )')"
78+
StandardOutputImportance="High"
79+
StandardErrorImportance="High" />
80+
81+
<Exec
82+
Command="dotnet &quot;../Common/AssetMinifier/Blazor-StaticAssetMinifier/AssetMinifier.dll&quot; &quot;%( _JsFiles.FullPath )&quot;"
83+
Condition="Exists('%( _JsFiles.FullPath )')"
84+
StandardOutputImportance="High"
85+
StandardErrorImportance="High" />
86+
87+
</Target>
88+
89+
<Target Name="ProductionBuild" BeforeTargets="BeforeBuild">
90+
<Delete Files="wwwroot/version.js" />
91+
<WriteLinesToFile File="wwwroot/version.js" Lines='export const data={"version":"net8.0","configuration":"$(AppEnvironment)"}' />
92+
</Target>
93+
94+
<ItemGroup>
95+
<Compile Remove="Components\Layout\**" />
96+
<Content Remove="Components\Layout\**" />
97+
<EmbeddedResource Remove="Components\Layout\**" />
98+
<None Remove="Components\Layout\**" />
99+
</ItemGroup>
100+
101+
<ItemGroup>
102+
<Content Remove="App.razor" />
103+
<Content Remove="wwwroot\Blazor_Server_Demos_NET10.lib.module.js" />
104+
<Content Remove="wwwroot\Blazor_Server_Demos_NET9.lib.module.js" />
105+
</ItemGroup>
106+
107+
<ItemGroup>
108+
<ProjectReference Include="..\Common\Blazor_Server_Common_NET8.csproj" />
109+
</ItemGroup>
110+
111+
</Project>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.8.34112.27
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazor_Server_Demos_NET8", "Blazor_Server_Demos_NET8.csproj", "{8B5AF6A9-89F4-4082-BC3C-EA54272E5375}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazor_Server_Common_NET8", "..\Common\Blazor_Server_Common_NET8.csproj", "{7906A8ED-5C3D-415F-B53A-61EF47543FC7}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{8B5AF6A9-89F4-4082-BC3C-EA54272E5375}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{8B5AF6A9-89F4-4082-BC3C-EA54272E5375}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{8B5AF6A9-89F4-4082-BC3C-EA54272E5375}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{8B5AF6A9-89F4-4082-BC3C-EA54272E5375}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{7906A8ED-5C3D-415F-B53A-61EF47543FC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{7906A8ED-5C3D-415F-B53A-61EF47543FC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{7906A8ED-5C3D-415F-B53A-61EF47543FC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{7906A8ED-5C3D-415F-B53A-61EF47543FC7}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {88BC9641-B0BB-45E8-B0F9-BEFD437A576B}
30+
EndGlobalSection
31+
EndGlobal

0 commit comments

Comments
 (0)