Skip to content

Commit

Permalink
move Shared.Web to Shared.DomainFeatures
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Dec 10, 2023
1 parent 67f5bf5 commit 816a9cf
Show file tree
Hide file tree
Showing 11 changed files with 628 additions and 15 deletions.
7 changes: 0 additions & 7 deletions ModularMonolith.sln
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscription.Domain
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscription.Server", "Source\Modules\Subscription\Server\Modules.Subscription.Server.csproj", "{7DECAA22-D38F-486F-BE0C-1F4551825E1D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared.Web", "Source\Shared\Web\Shared.Web.csproj", "{D6A73553-E343-4A94-A888-CA495C719A68}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscription.IntegrationEvents", "Source\Modules\Subscription\IntegrationEvents\Modules.Subscription.IntegrationEvents.csproj", "{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA}"
EndProject
Global
Expand Down Expand Up @@ -99,10 +97,6 @@ Global
{7DECAA22-D38F-486F-BE0C-1F4551825E1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7DECAA22-D38F-486F-BE0C-1F4551825E1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7DECAA22-D38F-486F-BE0C-1F4551825E1D}.Release|Any CPU.Build.0 = Release|Any CPU
{D6A73553-E343-4A94-A888-CA495C719A68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D6A73553-E343-4A94-A888-CA495C719A68}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6A73553-E343-4A94-A888-CA495C719A68}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6A73553-E343-4A94-A888-CA495C719A68}.Release|Any CPU.Build.0 = Release|Any CPU
{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -128,7 +122,6 @@ Global
{78544110-543F-4351-8096-077CC56B4E1E} = {5EFD35D5-4900-4756-9C87-9BB98381C3E8}
{3E8654C7-7D3C-4750-AD7B-1AE34D79493E} = {78544110-543F-4351-8096-077CC56B4E1E}
{7DECAA22-D38F-486F-BE0C-1F4551825E1D} = {78544110-543F-4351-8096-077CC56B4E1E}
{D6A73553-E343-4A94-A888-CA495C719A68} = {D3B7FB8B-F843-4BB2-9A39-FCF048E743DB}
{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA} = {78544110-543F-4351-8096-077CC56B4E1E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

<ItemGroup>
<ProjectReference Include="..\..\..\Shared\DomainFeatures\Shared.DomainFeatures.csproj" />
<ProjectReference Include="..\..\..\Shared\Infrastructure\Shared.DomainFeatures.csproj" />
<ProjectReference Include="..\..\..\Shared\Web\Shared.Web.csproj" />
</ItemGroup>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@using Modules.LandingPages.Web.Server
@using Shared.Web
@using Shared.Kernel.Constants
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
1 change: 1 addition & 0 deletions Source/Shared/Kernel/BaseComponent.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

13 changes: 13 additions & 0 deletions Source/Shared/Kernel/Constants/EndpointConstants.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Shared.Kernel.Constants
{
public class EndpointConstants
{
public const string IdentityAccountPath = "/Identity/Account";
public const string SignUpPath = "Identity/SignUp";
public const string LoginPath = "Identity/Login";
public const string LogoutPath = "api/user/Logout";
public const string UserClaimsPath = "api/user";
public const string StripePremiumSubscriptionPath = "/api/stripe/subscribe/premium";
public const string StripeEnterpriseSubscriptionPath = "/api/stripe/subscribe/enterprise";
}
}
7 changes: 7 additions & 0 deletions Source/Shared/Kernel/Constants/TailwindSourceConstant.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Shared.Kernel.Constants
{
public class TailwindSourceConstant
{
public const string TailwindOutputPath = "/dist/output.css";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System;
using System.Net.Http.Json;
using Web.Client.BuildingBlocks.Auth.Antiforgery;
using Shared.Web;
using Shared.Kernel.Constants;

namespace Web.Client.BuildingBlocks.Auth
{
Expand Down
1 change: 0 additions & 1 deletion Source/Web/Client/Web.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<ItemGroup>
<ProjectReference Include="..\..\Modules\TenantIdentity\Web\Client\Modules.TenantIdentity.Web.Client.csproj" />
<ProjectReference Include="..\..\Shared\Web\Shared.Web.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Source/Web/Server/Pages/_ViewImports.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using Shared.Web
@using Shared.Kernel.Constants
@using Web.Client
@using Modules.LandingPages.Web.Server.MyFeature.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
2 changes: 0 additions & 2 deletions Source/Web/Server/Web.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<ProjectReference Include="..\..\Modules\Subscription\Server\Modules.Subscription.Server.csproj" />
<ProjectReference Include="..\..\Modules\TenantIdentity\Web\Server\Modules.TenantIdentity.Web.Server.csproj" />
<ProjectReference Include="..\..\Shared\DomainFeatures\Shared.DomainFeatures.csproj" />
<ProjectReference Include="..\..\Shared\Infrastructure\Shared.DomainFeatures.csproj" />
<ProjectReference Include="..\..\Shared\Web\Shared.Web.csproj" />
<ProjectReference Include="..\Client\Web.Client.csproj" />
</ItemGroup>

Expand Down
Loading

0 comments on commit 816a9cf

Please sign in to comment.