Skip to content

Commit 4ebca37

Browse files
v31.2.2
1 parent 6cc416b commit 4ebca37

2,537 files changed

Lines changed: 805544 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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
/**/wwwroot/*.min.js
13+
/**/*.user
14+
/**/**/bin
15+
/**/**/.vs
16+
/**/**/.vscode
17+
/**/**/obj
18+
/**/bin
19+
/**/.vs
20+
/**/.vscode
21+
/**/obj
22+
/**/node_modules
23+
/**/package-lock.json
24+
AxeReport/
25+
publish/
26+
./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: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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.min.js; $(Files)\**\syncfusion-blazor-documenteditor.min.js;$(Files)\**\syncfusion-blazor-spreadsheet.min.js;$(Files)\Syncfusion.Blazor.Themes\**;$(Files)\Blazor_Server_Common_NET8\**;&#xD;&#xA; $(Files)\**\syncfusion-blazor-base.min.js;$(Files)\**\syncfusion-blazor-extended.min.js;$(Files)\**\data.min.js;$(Files)\**\diagrams.min.js;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.lib.module.js;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.bundle.scp.css;" />
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+
<Content Remove="App.razor" />
96+
<Content Remove="wwwroot\Blazor_Server_Demos_NET9.lib.module.js" />
97+
</ItemGroup>
98+
99+
<ItemGroup>
100+
<ProjectReference Include="..\Common\Blazor_Server_Common_NET8.csproj" />
101+
</ItemGroup>
102+
103+
</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
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net9.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.min.js;$(Files)\**\syncfusion-blazor.min.js.gz;$(Files)\**\syncfusion-blazor.min.js.br; $(Files)\**\syncfusion-blazor-documenteditor.min.js;$(Files)\**\syncfusion-blazor-documenteditor.min.js.gz;$(Files)\**\syncfusion-blazor-documenteditor.min.js.br;$(Files)\**\syncfusion-blazor-spreadsheet.min.js;$(Files)\**\syncfusion-blazor-spreadsheet.min.js.gz;$(Files)\**\syncfusion-blazor-spreadsheet.min.js.br;$(Files)\Syncfusion.Blazor.Themes\**;$(Files)\Blazor_Server_Common_NET9\**;&#xD;&#xA; $(Files)\**\syncfusion-blazor-base.min.js;$(Files)\**\syncfusion-blazor-base.min.js.gz;$(Files)\**\syncfusion-blazor-base.min.js.br;$(Files)\**\syncfusion-blazor-extended.min.js;$(Files)\**\syncfusion-blazor-extended.min.js.gz;$(Files)\**\syncfusion-blazor-extended.min.js.br;$(Files)\**\data.min.js;$(Files)\**\data.min.js.gz;$(Files)\**\data.min.js.br;$(Files)\**\diagrams.min.js;$(Files)\**\diagrams.min.js.gz;$(Files)\**\diagrams.min.js.br;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.lib.module.js;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.lib.module.js.gz;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.lib.module.js.br;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.bundle.scp.css;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.bundle.scp.css.gz;$(Files)\**\Syncfusion.Blazor.SmartComponents.*.bundle.scp.css.br;" />
19+
</ItemGroup>
20+
21+
<Delete Files="@(Directories)" ContinueOnError="true" />
22+
</Target>
23+
24+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
25+
<DefineConstants>TRACE;RELEASE;NET9_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;NET9_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":"net9.0","configuration":"$(AppEnvironment)"}' />
92+
</Target>
93+
94+
<ItemGroup>
95+
<Content Remove="App.razor" />
96+
<Content Remove="wwwroot\Blazor_Server_Demos_NET8.lib.module.js" />
97+
</ItemGroup>
98+
99+
<ItemGroup>
100+
<ProjectReference Include="..\Common\Blazor_Server_Common_NET9.csproj" />
101+
</ItemGroup>
102+
103+
</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.11.35312.102
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazor_Server_Demos_NET9", "Blazor_Server_Demos_NET9.csproj", "{2DA6B30E-014B-4B2B-864C-8E46BB2E52A5}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazor_Server_Common_NET9", "..\Common\Blazor_Server_Common_NET9.csproj", "{E5181D47-F7F0-42C9-8CFE-94ADC2EC4763}"
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+
{2DA6B30E-014B-4B2B-864C-8E46BB2E52A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{2DA6B30E-014B-4B2B-864C-8E46BB2E52A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{2DA6B30E-014B-4B2B-864C-8E46BB2E52A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{2DA6B30E-014B-4B2B-864C-8E46BB2E52A5}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{E5181D47-F7F0-42C9-8CFE-94ADC2EC4763}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{E5181D47-F7F0-42C9-8CFE-94ADC2EC4763}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{E5181D47-F7F0-42C9-8CFE-94ADC2EC4763}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{E5181D47-F7F0-42C9-8CFE-94ADC2EC4763}.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 = {04EAA34A-9436-4B00-8EA4-0EA9E0223A60}
30+
EndGlobalSection
31+
EndGlobal

0 commit comments

Comments
 (0)