From 78c11cd5a51ffb95127276571a8333f21f28058b Mon Sep 17 00:00:00 2001 From: nikiforovall Date: Sun, 2 Jun 2024 09:26:44 +0300 Subject: [PATCH] Add Separate Aspire solution file --- KeycloakAuthorizationServicesDotNet.sln | 24 ------------ docs/.vitepress/config.mts | 7 ++++ docs/devex/aspire.md | 2 + docs/devex/templates.md | 1 + .../GettingStartedAndAspire.sln | 37 +++++++++---------- .../Keycloak.AuthServices.Templates.csproj | 26 +++++++++++++ 6 files changed, 53 insertions(+), 44 deletions(-) create mode 100644 docs/devex/aspire.md create mode 100644 docs/devex/templates.md create mode 100644 src/Keycloak.AuthServices.Templates/Keycloak.AuthServices.Templates.csproj diff --git a/KeycloakAuthorizationServicesDotNet.sln b/KeycloakAuthorizationServicesDotNet.sln index 5ac5065f..584f665a 100644 --- a/KeycloakAuthorizationServicesDotNet.sln +++ b/KeycloakAuthorizationServicesDotNet.sln @@ -80,14 +80,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApp", "samples\WebApp\We EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Keycloak.AuthServices.Aspire.Hosting", "src\Keycloak.AuthServices.Aspire.Hosting\Keycloak.AuthServices.Aspire.Hosting.csproj", "{0943D3CE-5B15-46F8-9B0C-0C2911FD70A3}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Aspire", "Aspire", "{9B7A1C7B-D081-4E7B-94C9-3B621E4008F1}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Api", "samples\GettingStartedAndAspire\Api\Api.csproj", "{BF235D87-9915-4672-941F-3FD2D7EC8E89}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppHost", "samples\GettingStartedAndAspire\AppHost\AppHost.csproj", "{D2078894-A3DA-42B7-8233-1EF02C5A48D9}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceDefaults", "samples\GettingStartedAndAspire\ServiceDefaults\ServiceDefaults.csproj", "{5B3B61DC-3F92-4A37-B051-49D5C57B1343}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -186,18 +178,6 @@ Global {0943D3CE-5B15-46F8-9B0C-0C2911FD70A3}.Debug|Any CPU.Build.0 = Debug|Any CPU {0943D3CE-5B15-46F8-9B0C-0C2911FD70A3}.Release|Any CPU.ActiveCfg = Release|Any CPU {0943D3CE-5B15-46F8-9B0C-0C2911FD70A3}.Release|Any CPU.Build.0 = Release|Any CPU - {BF235D87-9915-4672-941F-3FD2D7EC8E89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BF235D87-9915-4672-941F-3FD2D7EC8E89}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BF235D87-9915-4672-941F-3FD2D7EC8E89}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BF235D87-9915-4672-941F-3FD2D7EC8E89}.Release|Any CPU.Build.0 = Release|Any CPU - {D2078894-A3DA-42B7-8233-1EF02C5A48D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D2078894-A3DA-42B7-8233-1EF02C5A48D9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D2078894-A3DA-42B7-8233-1EF02C5A48D9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D2078894-A3DA-42B7-8233-1EF02C5A48D9}.Release|Any CPU.Build.0 = Release|Any CPU - {5B3B61DC-3F92-4A37-B051-49D5C57B1343}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5B3B61DC-3F92-4A37-B051-49D5C57B1343}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5B3B61DC-3F92-4A37-B051-49D5C57B1343}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5B3B61DC-3F92-4A37-B051-49D5C57B1343}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -227,10 +207,6 @@ Global {3FE98A91-BA4E-4D4F-A6A5-A43123644ACD} = {F9D5C5B8-9933-4AE0-ADAC-6B8C15F7552A} {4AF4CE52-F007-4FEE-9324-7E52314398FF} = {AEBE10B1-96B1-4060-B8C1-1F9BFA7A586C} {0943D3CE-5B15-46F8-9B0C-0C2911FD70A3} = {F9D5C5B8-9933-4AE0-ADAC-6B8C15F7552A} - {9B7A1C7B-D081-4E7B-94C9-3B621E4008F1} = {AEBE10B1-96B1-4060-B8C1-1F9BFA7A586C} - {BF235D87-9915-4672-941F-3FD2D7EC8E89} = {9B7A1C7B-D081-4E7B-94C9-3B621E4008F1} - {D2078894-A3DA-42B7-8233-1EF02C5A48D9} = {9B7A1C7B-D081-4E7B-94C9-3B621E4008F1} - {5B3B61DC-3F92-4A37-B051-49D5C57B1343} = {9B7A1C7B-D081-4E7B-94C9-3B621E4008F1} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {E1907BFD-C144-4B48-AA40-972F499D4E08} diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index ab9c4fb4..e36259bf 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -103,6 +103,13 @@ export default withMermaid({ }, ] }, + { + text: 'Developer Experience 👷‍♂️🛠️', + items: [ + { text: 'Aspire', link: '/devex/aspire' }, + { text: 'Templates', link: '/devex/templates' }, + ] + }, { text: 'Maintenance👨‍🔬', items: [ diff --git a/docs/devex/aspire.md b/docs/devex/aspire.md new file mode 100644 index 00000000..4c8c7fed --- /dev/null +++ b/docs/devex/aspire.md @@ -0,0 +1,2 @@ +# Aspire Support + diff --git a/docs/devex/templates.md b/docs/devex/templates.md new file mode 100644 index 00000000..577c3418 --- /dev/null +++ b/docs/devex/templates.md @@ -0,0 +1 @@ +# Use Templates diff --git a/samples/GettingStartedAndAspire/GettingStartedAndAspire.sln b/samples/GettingStartedAndAspire/GettingStartedAndAspire.sln index 19c0f56b..706a7c20 100644 --- a/samples/GettingStartedAndAspire/GettingStartedAndAspire.sln +++ b/samples/GettingStartedAndAspire/GettingStartedAndAspire.sln @@ -1,37 +1,34 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 -VisualStudioVersion = 17.5.002.0 +VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GettingStartedAndAspire", "Api\GettingStartedAndAspire.csproj", "{B5DC7EC1-777F-4C4D-B0B3-54AC5DEF00CB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Api", "Api\Api.csproj", "{D0C22C1E-C3BD-4BBE-8D9F-33DAF1B5CB40}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppHost", "AppHost\AppHost.csproj", "{469030DE-1019-4734-AD8F-6842F043C9A8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppHost", "AppHost\AppHost.csproj", "{2D658505-DDE3-49DF-AF39-2E921C7A984C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServiceDefaults", "ServiceDefaults\ServiceDefaults.csproj", "{93D6E369-D59A-47BD-B5B2-39F9D2EC813D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceDefaults", "ServiceDefaults\ServiceDefaults.csproj", "{6C56AC38-F4CE-492F-BFE5-8444CE785FE4}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B5DC7EC1-777F-4C4D-B0B3-54AC5DEF00CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B5DC7EC1-777F-4C4D-B0B3-54AC5DEF00CB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B5DC7EC1-777F-4C4D-B0B3-54AC5DEF00CB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B5DC7EC1-777F-4C4D-B0B3-54AC5DEF00CB}.Release|Any CPU.Build.0 = Release|Any CPU - {469030DE-1019-4734-AD8F-6842F043C9A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {469030DE-1019-4734-AD8F-6842F043C9A8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {469030DE-1019-4734-AD8F-6842F043C9A8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {469030DE-1019-4734-AD8F-6842F043C9A8}.Release|Any CPU.Build.0 = Release|Any CPU - {93D6E369-D59A-47BD-B5B2-39F9D2EC813D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {93D6E369-D59A-47BD-B5B2-39F9D2EC813D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {93D6E369-D59A-47BD-B5B2-39F9D2EC813D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {93D6E369-D59A-47BD-B5B2-39F9D2EC813D}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {C60554A9-ADCB-493B-BF6C-39DFFCCF667C} + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D0C22C1E-C3BD-4BBE-8D9F-33DAF1B5CB40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D0C22C1E-C3BD-4BBE-8D9F-33DAF1B5CB40}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D0C22C1E-C3BD-4BBE-8D9F-33DAF1B5CB40}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D0C22C1E-C3BD-4BBE-8D9F-33DAF1B5CB40}.Release|Any CPU.Build.0 = Release|Any CPU + {2D658505-DDE3-49DF-AF39-2E921C7A984C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2D658505-DDE3-49DF-AF39-2E921C7A984C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2D658505-DDE3-49DF-AF39-2E921C7A984C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2D658505-DDE3-49DF-AF39-2E921C7A984C}.Release|Any CPU.Build.0 = Release|Any CPU + {6C56AC38-F4CE-492F-BFE5-8444CE785FE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C56AC38-F4CE-492F-BFE5-8444CE785FE4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C56AC38-F4CE-492F-BFE5-8444CE785FE4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C56AC38-F4CE-492F-BFE5-8444CE785FE4}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/src/Keycloak.AuthServices.Templates/Keycloak.AuthServices.Templates.csproj b/src/Keycloak.AuthServices.Templates/Keycloak.AuthServices.Templates.csproj new file mode 100644 index 00000000..904f79c7 --- /dev/null +++ b/src/Keycloak.AuthServices.Templates/Keycloak.AuthServices.Templates.csproj @@ -0,0 +1,26 @@ + + + + Template + net8.0 + true + false + content + true + + + + na-templates + dotnetnew;template;microservices;cleanarchitecture;eventsourcing;productivity + + + + + + + + + + + +