Skip to content

Commit

Permalink
refactor: Implement lazy page loading
Browse files Browse the repository at this point in the history
Speedup initial page load by lazy loading page imports.
  • Loading branch information
LuukvH committed Mar 5, 2024
1 parent 3987551 commit 1d37c23
Show file tree
Hide file tree
Showing 10 changed files with 4,338 additions and 8,367 deletions.
88 changes: 88 additions & 0 deletions KDVManager.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4DDC6A78-B681-49AE-BA50-D25B6A78B68A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Services", "Services", "{71874CA2-F84E-4CF9-B9BF-04520FBA60E7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scheduling", "Scheduling", "{FA8CF6B9-B1D0-4758-9455-3348389B27FB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Api", "src\Services\Scheduling\Api\Api.csproj", "{3A851B21-17FC-4186-8FEA-A3DA28988A52}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application", "src\Services\Scheduling\Application\Application.csproj", "{AD225783-F61C-4A67-8305-65E7240F52A0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "src\Services\Scheduling\Infrastructure\Infrastructure.csproj", "{D6D808CB-79D3-43E6-A8F0-2D62F7A4E33B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain", "src\Services\Scheduling\Domain\Domain.csproj", "{40B3A996-B869-409B-B84B-2721B61770FF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CRM", "CRM", "{F80C7039-B61B-4E56-BB9D-78D5B2521170}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Api", "src\Services\CRM\Api\Api.csproj", "{B99B7AB1-6B1C-49AA-8567-B63BE64E0B2E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application", "src\Services\CRM\Application\Application.csproj", "{F96AA49F-C8F6-40C3-8709-8A9B253D1FB6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "src\Services\CRM\Infrastructure\Infrastructure.csproj", "{9DB5F1B7-AD53-47CE-8F08-B16F42B7568F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain", "src\Services\CRM\Domain\Domain.csproj", "{656DDB8F-0EA2-4E68-8133-16519DF72376}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3A851B21-17FC-4186-8FEA-A3DA28988A52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3A851B21-17FC-4186-8FEA-A3DA28988A52}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3A851B21-17FC-4186-8FEA-A3DA28988A52}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3A851B21-17FC-4186-8FEA-A3DA28988A52}.Release|Any CPU.Build.0 = Release|Any CPU
{AD225783-F61C-4A67-8305-65E7240F52A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD225783-F61C-4A67-8305-65E7240F52A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD225783-F61C-4A67-8305-65E7240F52A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD225783-F61C-4A67-8305-65E7240F52A0}.Release|Any CPU.Build.0 = Release|Any CPU
{D6D808CB-79D3-43E6-A8F0-2D62F7A4E33B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D6D808CB-79D3-43E6-A8F0-2D62F7A4E33B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6D808CB-79D3-43E6-A8F0-2D62F7A4E33B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6D808CB-79D3-43E6-A8F0-2D62F7A4E33B}.Release|Any CPU.Build.0 = Release|Any CPU
{40B3A996-B869-409B-B84B-2721B61770FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40B3A996-B869-409B-B84B-2721B61770FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40B3A996-B869-409B-B84B-2721B61770FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40B3A996-B869-409B-B84B-2721B61770FF}.Release|Any CPU.Build.0 = Release|Any CPU
{B99B7AB1-6B1C-49AA-8567-B63BE64E0B2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B99B7AB1-6B1C-49AA-8567-B63BE64E0B2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B99B7AB1-6B1C-49AA-8567-B63BE64E0B2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B99B7AB1-6B1C-49AA-8567-B63BE64E0B2E}.Release|Any CPU.Build.0 = Release|Any CPU
{F96AA49F-C8F6-40C3-8709-8A9B253D1FB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F96AA49F-C8F6-40C3-8709-8A9B253D1FB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F96AA49F-C8F6-40C3-8709-8A9B253D1FB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F96AA49F-C8F6-40C3-8709-8A9B253D1FB6}.Release|Any CPU.Build.0 = Release|Any CPU
{9DB5F1B7-AD53-47CE-8F08-B16F42B7568F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9DB5F1B7-AD53-47CE-8F08-B16F42B7568F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9DB5F1B7-AD53-47CE-8F08-B16F42B7568F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9DB5F1B7-AD53-47CE-8F08-B16F42B7568F}.Release|Any CPU.Build.0 = Release|Any CPU
{656DDB8F-0EA2-4E68-8133-16519DF72376}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{656DDB8F-0EA2-4E68-8133-16519DF72376}.Debug|Any CPU.Build.0 = Debug|Any CPU
{656DDB8F-0EA2-4E68-8133-16519DF72376}.Release|Any CPU.ActiveCfg = Release|Any CPU
{656DDB8F-0EA2-4E68-8133-16519DF72376}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{71874CA2-F84E-4CF9-B9BF-04520FBA60E7} = {4DDC6A78-B681-49AE-BA50-D25B6A78B68A}
{FA8CF6B9-B1D0-4758-9455-3348389B27FB} = {71874CA2-F84E-4CF9-B9BF-04520FBA60E7}
{3A851B21-17FC-4186-8FEA-A3DA28988A52} = {FA8CF6B9-B1D0-4758-9455-3348389B27FB}
{AD225783-F61C-4A67-8305-65E7240F52A0} = {FA8CF6B9-B1D0-4758-9455-3348389B27FB}
{D6D808CB-79D3-43E6-A8F0-2D62F7A4E33B} = {FA8CF6B9-B1D0-4758-9455-3348389B27FB}
{40B3A996-B869-409B-B84B-2721B61770FF} = {FA8CF6B9-B1D0-4758-9455-3348389B27FB}
{F80C7039-B61B-4E56-BB9D-78D5B2521170} = {71874CA2-F84E-4CF9-B9BF-04520FBA60E7}
{B99B7AB1-6B1C-49AA-8567-B63BE64E0B2E} = {F80C7039-B61B-4E56-BB9D-78D5B2521170}
{F96AA49F-C8F6-40C3-8709-8A9B253D1FB6} = {F80C7039-B61B-4E56-BB9D-78D5B2521170}
{9DB5F1B7-AD53-47CE-8F08-B16F42B7568F} = {F80C7039-B61B-4E56-BB9D-78D5B2521170}
{656DDB8F-0EA2-4E68-8133-16519DF72376} = {F80C7039-B61B-4E56-BB9D-78D5B2521170}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1383A17A-5CBB-4D5A-8BD9-3F4526F14ACC}
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion src/Services/CRM/Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

app.UseSwagger();

app.UseHttpsRedirection();
// app.UseHttpsRedirection();

app.UseRouting();

Expand Down
4 changes: 2 additions & 2 deletions src/Services/Scheduling/Api/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"KDVManagerSchedulingConnectionString": "Server=127.0.0.1; port=5432; database=KDVManagerSchedulingDB; pooling=true; Integrated Security=true;"
},
"Auth0": {
"Domain": "https://kdvmanager.eu.auth0.com/",
"ApiIdentifier": "https://api.kdvmanager.nl"
"Domain": "kdvmanager.eu.auth0.com",
"Audience": "https://api.kdvmanager.nl/"
},
"Logging": {
"LogLevel": {
Expand Down
Loading

0 comments on commit 1d37c23

Please sign in to comment.