Skip to content

Commit

Permalink
shared client project
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Feb 27, 2024
1 parent 9d9af8a commit 0ba89de
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ModularMonolith.sln
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscriptions.Integ
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Web", "Web", "{079BF8CF-63EB-4836-ABB1-FD49B5EE5AD5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared.Client", "Source\Shared\Client\Shared.Client.csproj", "{FCC4866D-C903-4F2D-8A03-19AE86DA180B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -103,6 +105,10 @@ Global
{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
{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA}.Release|Any CPU.Build.0 = Release|Any CPU
{FCC4866D-C903-4F2D-8A03-19AE86DA180B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FCC4866D-C903-4F2D-8A03-19AE86DA180B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FCC4866D-C903-4F2D-8A03-19AE86DA180B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FCC4866D-C903-4F2D-8A03-19AE86DA180B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -126,6 +132,7 @@ Global
{7DECAA22-D38F-486F-BE0C-1F4551825E1D} = {079BF8CF-63EB-4836-ABB1-FD49B5EE5AD5}
{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA} = {78544110-543F-4351-8096-077CC56B4E1E}
{079BF8CF-63EB-4836-ABB1-FD49B5EE5AD5} = {78544110-543F-4351-8096-077CC56B4E1E}
{FCC4866D-C903-4F2D-8A03-19AE86DA180B} = {D3B7FB8B-F843-4BB2-9A39-FCF048E743DB}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D92CEBB5-9641-478B-8F3B-FC3251AB75EE}
Expand Down
18 changes: 18 additions & 0 deletions Source/Shared/Client/Shared.Client.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>


<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions Source/Shared/Client/_Imports.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@using Microsoft.AspNetCore.Components.Web
Binary file added Source/Shared/Client/wwwroot/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions Source/Shared/Client/wwwroot/exampleJsInterop.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// This is a JavaScript module that is loaded on demand. It can export any number of
// functions, and may import other JavaScript modules if required.

export function showPrompt(message) {
return prompt(message, 'Type anything here');
}
12 changes: 12 additions & 0 deletions Source/Shared/Features/Server/ServerContextExecutionBase.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shared.Features.Server
{
public class ServerContextExecutionBase
{
}
}

0 comments on commit 0ba89de

Please sign in to comment.