Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 0 additions & 22 deletions MeshWeaver.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
<Folder Name="/samples/">
<File Path="samples/Directory.Build.props" />
</Folder>
<Folder Name="/samples/Insurance/">
<Project Path="samples/Insurance/MeshWeaver.Insurance.Domain/MeshWeaver.Insurance.Domain.csproj" />
<Project Path="samples/Insurance/MeshWeaver.Insurance.SampleData/MeshWeaver.Insurance.SampleData.csproj" />
<Project Path="samples/Insurance/MeshWeaver.Insurance.Test/MeshWeaver.Insurance.Test.csproj" />
</Folder>
<Folder Name="/samples/Northwind/">
<Project Path="samples/Northwind/MeshWeaver.Northwind.Application/MeshWeaver.Northwind.Application.csproj" />
<Project Path="samples/Northwind/MeshWeaver.Northwind.Domain/MeshWeaver.Northwind.Domain.csproj" />
<Project Path="samples/Northwind/MeshWeaver.Northwind.Model/MeshWeaver.Northwind.Model.csproj" />
</Folder>
<Folder Name="/memex/">
<Project Path="memex/Memex.Portal.Shared/Memex.Portal.Shared.csproj" />
<Project Path="memex/Memex.Portal.Monolith/Memex.Portal.Monolith.csproj" />
Expand Down Expand Up @@ -65,20 +55,12 @@
<Project Path="src/MeshWeaver.ContentCollections.Indexing.Graph/MeshWeaver.ContentCollections.Indexing.Graph.csproj" />
<Project Path="src/MeshWeaver.Data.Contract/MeshWeaver.Data.Contract.csproj" />
<Project Path="src/MeshWeaver.Data/MeshWeaver.Data.csproj" />
<Project Path="src/MeshWeaver.DataSetReader.Csv/MeshWeaver.DataSetReader.Csv.csproj" />
<Project Path="src/MeshWeaver.DataSetReader.Excel.BinaryFormat/MeshWeaver.DataSetReader.Excel.BinaryFormat.csproj" />
<Project Path="src/MeshWeaver.DataSetReader.Excel.OpenXmlFormat/MeshWeaver.DataSetReader.Excel.OpenXmlFormat.csproj" />
<Project Path="src/MeshWeaver.DataSetReader.Excel.Utils/MeshWeaver.DataSetReader.Excel.Utils.csproj" />
<Project Path="src/MeshWeaver.DataSetReader.Excel/MeshWeaver.DataSetReader.Excel.csproj" />
<Project Path="src/MeshWeaver.DataSetReader/MeshWeaver.DataSetReader.csproj" />
<Project Path="src/MeshWeaver.DataStructures/MeshWeaver.DataStructures.csproj" />
<Project Path="src/MeshWeaver.Documentation/MeshWeaver.Documentation.csproj" />
<Project Path="src/MeshWeaver.Domain/MeshWeaver.Domain.csproj" />
<Project Path="src/MeshWeaver.Fixture/MeshWeaver.Fixture.csproj" />
<Project Path="src/MeshWeaver.Reactive.Assertions/MeshWeaver.Reactive.Assertions.csproj" />
<Project Path="src/MeshWeaver.Maps/MeshWeaver.Maps.csproj" />
<Project Path="src/MeshWeaver.Hosting.AspNetCore/MeshWeaver.Hosting.AspNetCore.csproj" />
<Project Path="src/MeshWeaver.OgCard/MeshWeaver.OgCard.csproj" />
<Project Path="src/MeshWeaver.Graph/MeshWeaver.Graph.csproj" />
<Project Path="src/MeshWeaver.GitSync/MeshWeaver.GitSync.csproj" />
<Project Path="src/MeshWeaver.InstanceSync/MeshWeaver.InstanceSync.csproj" />
Expand All @@ -93,7 +75,6 @@
<Project Path="src/MeshWeaver.Hosting.Sqlite/MeshWeaver.Hosting.Sqlite.csproj" />
<Project Path="src/MeshWeaver.Hosting.SignalR/MeshWeaver.Hosting.SignalR.csproj" />
<Project Path="src/MeshWeaver.Hosting/MeshWeaver.Hosting.csproj" />
<Project Path="src/MeshWeaver.Import/MeshWeaver.Import.csproj" />
<Project Path="src/MeshWeaver.Kernel.Hub/MeshWeaver.Kernel.Hub.csproj" />
<Project Path="src/MeshWeaver.Kernel/MeshWeaver.Kernel.csproj" />
<Project Path="src/MeshWeaver.Layout/MeshWeaver.Layout.csproj" />
Expand Down Expand Up @@ -130,11 +111,9 @@
<Project Path="test/MeshWeaver.Data.Test/MeshWeaver.Data.Test.csproj" />
<Project Path="test/MeshWeaver.Documentation.Test/MeshWeaver.Documentation.Test.csproj" />
<Project Path="test/MeshWeaver.Data.TestDomain/MeshWeaver.Data.TestDomain.csproj" />
<Project Path="test/MeshWeaver.DataSetReader.Test/MeshWeaver.DataSetReader.Test.csproj" />
<Project Path="test/MeshWeaver.Hosting.Grpc.Test/MeshWeaver.Hosting.Grpc.Test.csproj" />
<Project Path="test/MeshWeaver.Hosting.Monolith.Test/MeshWeaver.Hosting.Monolith.Test.csproj" />
<Project Path="test/MeshWeaver.Hosting.Orleans.Test/MeshWeaver.Hosting.Orleans.Test.csproj" />
<Project Path="test/MeshWeaver.Import.Test/MeshWeaver.Import.Test.csproj" />
<Project Path="test/MeshWeaver.Json.Test/MeshWeaver.Json.Test.csproj" />
<Project Path="test/MeshWeaver.Layout.Test/MeshWeaver.Layout.Test.csproj" />
<Project Path="test/MeshWeaver.Markdown.Test/MeshWeaver.Markdown.Test.csproj" />
Expand All @@ -146,7 +125,6 @@
<Project Path="test/MeshWeaver.Messaging.Hub.Test/MeshWeaver.Messaging.Hub.Test.csproj" />
<Project Path="test/MeshWeaver.NodeOperations.Test/MeshWeaver.NodeOperations.Test.csproj" />
<Project Path="test/MeshWeaver.PluginCatalog.Test/MeshWeaver.PluginCatalog.Test.csproj" />
<Project Path="test/MeshWeaver.Northwind.Test/MeshWeaver.Northwind.Test.csproj" />
<Project Path="test/MeshWeaver.Search.Test/MeshWeaver.Search.Test.csproj" />
<Project Path="test/MeshWeaver.Security.Test/MeshWeaver.Security.Test.csproj" />
<Project Path="test/MeshWeaver.Social.Test/MeshWeaver.Social.Test.csproj" />
Expand Down
1 change: 0 additions & 1 deletion memex/Memex.Portal.Monolith/Memex.Portal.Monolith.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
references no sample. -->
<ProjectReference Include="..\aspire\Memex.Portal.ServiceDefaults\Memex.Portal.ServiceDefaults.csproj" />
<ProjectReference Include="..\Memex.Portal.Shared\Memex.Portal.Shared.csproj" />
<ProjectReference Include="..\..\samples\Northwind\MeshWeaver.Northwind.Application\MeshWeaver.Northwind.Application.csproj" />
</ItemGroup>

<Import Project="..\MeshModulesPublish.targets" />
Expand Down
2 changes: 0 additions & 2 deletions memex/Memex.Portal.Monolith/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@
"Assemblies": [
// 🚨 FIRST: the in-mesh compile reference set is composed from the installed modules in
// list order, so a module whose content compiles against MeshWeaver.Import must follow it.
"MeshWeaver.Import.dll",
"MeshWeaver.Blazor.Radzen.dll",
"MeshWeaver.Blazor.Analysis.dll",
"MeshWeaver.Blazor.GoogleMaps.dll",
"MeshWeaver.Speech.dll",
"MeshWeaver.OgCard.dll",
"MeshWeaver.Social.dll",
"MeshWeaver.Hosting.Grpc.dll"
]
Expand Down
2 changes: 0 additions & 2 deletions memex/MeshModulesPublish.targets
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
<!-- Social: flipped once the portal stopped compiling against it for the ApiCredential
type (the module registers that itself now). Its closure ships here. -->
<MeshModuleClosure Include="$(MSBuildThisFileDirectory)../src/MeshWeaver.Social/MeshWeaver.Social.csproj" />
<MeshModuleClosure Include="$(MSBuildThisFileDirectory)../src/MeshWeaver.OgCard/MeshWeaver.OgCard.csproj" />
<!-- Import + its PRIVATE closure: the SIX MeshWeaver.DataSetReader* projects (the base, Csv,
Excel, Excel.BinaryFormat, Excel.OpenXmlFormat, Excel.Utils) and MeshWeaver.DataStructures
beneath them — nothing outside their own test project references any of them.
Expand All @@ -80,7 +79,6 @@
carries that surface instead (InstallAssemblies -> InstalledModuleAssembly ->
CompileReferences.ComposeWithModules). NOT a dependency win: ClosedXML / OpenXml / CsvHelper
stay in the image via MeshWeaver.Blazor + MeshWeaver.ContentCollections and prune out here. -->
<MeshModuleClosure Include="$(MSBuildThisFileDirectory)../src/MeshWeaver.Import/MeshWeaver.Import.csproj" />

<!-- Alternative storage backends. These were BORN flipped: no host has ever referenced them
(only their own test projects do), and both attributes state the intent verbatim —
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,6 @@
root — where the closure lane's prune then dropped it from modules/MeshWeaver.Import/ as a
same-relative-path duplicate. Eight ImportModuleLayoutTest cases went red on exactly that.
A surface declaration is this host's business; nothing downstream should inherit it. -->
<ProjectReference Include="..\..\..\src\MeshWeaver.Import\MeshWeaver.Import.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
<ProjectReference Include="..\..\..\src\MeshWeaver.DataSetReader\MeshWeaver.DataSetReader.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
<ProjectReference Include="..\..\..\src\MeshWeaver.DataSetReader.Csv\MeshWeaver.DataSetReader.Csv.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
<ProjectReference Include="..\..\..\src\MeshWeaver.DataSetReader.Excel\MeshWeaver.DataSetReader.Excel.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
<ProjectReference Include="..\..\..\src\MeshWeaver.DataSetReader.Excel.BinaryFormat\MeshWeaver.DataSetReader.Excel.BinaryFormat.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
<ProjectReference Include="..\..\..\src\MeshWeaver.DataSetReader.Excel.OpenXmlFormat\MeshWeaver.DataSetReader.Excel.OpenXmlFormat.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
<ProjectReference Include="..\..\..\src\MeshWeaver.DataSetReader.Excel.Utils\MeshWeaver.DataSetReader.Excel.Utils.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
<ProjectReference Include="..\..\..\src\MeshWeaver.DataStructures\MeshWeaver.DataStructures.csproj" Private="false" ExcludeAssets="runtime" PrivateAssets="all" />
</ItemGroup>

<!-- Ship nuget.config into the image so the runtime `#r "nuget:..."` resolver can
Expand Down
2 changes: 0 additions & 2 deletions memex/aspire/Memex.Portal.Distributed/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
"Assemblies": [
// 🚨 FIRST: the in-mesh compile reference set is composed from the installed modules in
// list order, so a module whose content compiles against MeshWeaver.Import must follow it.
"MeshWeaver.Import.dll",
"MeshWeaver.Blazor.Radzen.dll",
"MeshWeaver.Blazor.Analysis.dll",
"MeshWeaver.Blazor.GoogleMaps.dll",
"MeshWeaver.Speech.dll",
"MeshWeaver.OgCard.dll",
"MeshWeaver.Social.dll",
"MeshWeaver.Hosting.Grpc.dll"
]
Expand Down
25 changes: 24 additions & 1 deletion samples/Graph/Data/Cornerstone/Pricing.json
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
{"$type":"MeshNode","id":"Pricing","namespace":"Cornerstone","path":"Cornerstone/Pricing","mainNode":"Cornerstone/Pricing","name":"Pricing","description":"Cornerstone pricing with property risks and reinsurance structure","nodeType":"NodeType","category":"Types","icon":"/api/content/Cornerstone/icons/pricing.svg","lastModified":"2026-06-26T09:24:11.080473+00:00","lastModifiedBy":"system-security","version":10,"state":"Active","content":{"$type":"NodeTypeDefinition","description":"Cornerstone pricing with property risks and reinsurance structure","configuration":"config =\u003E config.WithContentType\u003CPricing\u003E().AddContentCollection(sp =\u003E { var hub = sp.GetRequiredService\u003CIMessageHub\u003E(); var pricingId = hub.Address.Id; var basePath = System.IO.Path.Combine(\u0022../../samples/Graph/attachments/Cornerstone\u0022, hub.Address.Segments[1], hub.Address.Segments[2], \u0022Submissions\u0022); return new ContentCollectionConfig { SourceType = FileSystemStreamProvider.SourceType, Name = $\u0022Submissions@{pricingId}\u0022, BasePath = basePath, DisplayName = \u0022Submission Files\u0022 }; }).AddData(data =\u003E data.AddSource(source =\u003E { var hub = source.Workspace.Hub; var pricingId = hub.Address.Id; var insuredName = hub.Address.Segments[1]; var isMicrosoft = insuredName == \u0022Microsoft\u0022; return source.WithType\u003CLineOfBusiness\u003E(t =\u003E t.WithInitialData(LineOfBusiness.All)).WithType\u003CCountry\u003E(t =\u003E t.WithInitialData(Country.All)).WithType\u003CCurrency\u003E(t =\u003E t.WithInitialData(Currency.All)).WithType\u003CLegalEntity\u003E(t =\u003E t.WithInitialData(LegalEntity.All)).WithType\u003CPricingStatus\u003E(t =\u003E t.WithInitialData(PricingStatus.All)).WithType\u003CPropertyRisk\u003E(t =\u003E isMicrosoft ? t.WithInitialData(() =\u003E MicrosoftDataLoader.LoadPropertyRisks(hub)) : t.WithInitialData(Array.Empty\u003CPropertyRisk\u003E())).WithType\u003CReinsuranceAcceptance\u003E(t =\u003E isMicrosoft ? t.WithInitialData(() =\u003E MicrosoftDataLoader.LoadReinsuranceAcceptances(hub, pricingId)) : t.WithInitialData(Array.Empty\u003CReinsuranceAcceptance\u003E())).WithType\u003CReinsuranceSection\u003E(t =\u003E isMicrosoft ? t.WithInitialData(() =\u003E MicrosoftDataLoader.LoadReinsuranceSections(hub, pricingId)) : t.WithInitialData(Array.Empty\u003CReinsuranceSection\u003E())).WithType\u003CExcelImportConfiguration\u003E(t =\u003E t.WithInitialData(isMicrosoft ? MicrosoftSampleData.ImportConfigs : Array.Empty\u003CExcelImportConfiguration\u003E())); })).AddDefaultLayoutAreas().AddLayout(layout =\u003E layout.WithDefaultArea(\u0022Overview\u0022).AddPricingLayoutAreas())","showChildrenInDetails":true,"detailsChildrenLimit":10,"includeGlobalTypes":true}}
{
"$type": "MeshNode",
"id": "Pricing",
"namespace": "Cornerstone",
"path": "Cornerstone/Pricing",
"mainNode": "Cornerstone/Pricing",
"name": "Pricing",
"description": "Cornerstone pricing with property risks and reinsurance structure",
"nodeType": "NodeType",
"category": "Types",
"icon": "/api/content/Cornerstone/icons/pricing.svg",
"lastModified": "2026-06-26T09:24:11.080473+00:00",
"lastModifiedBy": "system-security",
"version": 10,
"state": "Active",
"content": {
"$type": "NodeTypeDefinition",
"description": "Cornerstone pricing with property risks and reinsurance structure",
"configuration": "config => config.WithContentType<Pricing>().AddContentCollection(sp => { var hub = sp.GetRequiredService<IMessageHub>(); var pricingId = hub.Address.Id; var basePath = System.IO.Path.Combine(\"../../samples/Graph/attachments/Cornerstone\", hub.Address.Segments[1], hub.Address.Segments[2], \"Submissions\"); return new ContentCollectionConfig { SourceType = FileSystemStreamProvider.SourceType, Name = $\"Submissions@{pricingId}\", BasePath = basePath, DisplayName = \"Submission Files\" }; }).AddData(data => data.AddSource(source => { var hub = source.Workspace.Hub; var pricingId = hub.Address.Id; var insuredName = hub.Address.Segments[1]; var isMicrosoft = insuredName == \"Microsoft\"; return source.WithType<LineOfBusiness>(t => t.WithInitialData(LineOfBusiness.All)).WithType<Country>(t => t.WithInitialData(Country.All)).WithType<Currency>(t => t.WithInitialData(Currency.All)).WithType<LegalEntity>(t => t.WithInitialData(LegalEntity.All)).WithType<PricingStatus>(t => t.WithInitialData(PricingStatus.All)).WithType<PropertyRisk>(t => isMicrosoft ? t.WithInitialData(() => MicrosoftDataLoader.LoadPropertyRisks(hub)) : t.WithInitialData(Array.Empty<PropertyRisk>())).WithType<ReinsuranceAcceptance>(t => isMicrosoft ? t.WithInitialData(() => MicrosoftDataLoader.LoadReinsuranceAcceptances(hub, pricingId)) : t.WithInitialData(Array.Empty<ReinsuranceAcceptance>())).WithType<ReinsuranceSection>(t => isMicrosoft ? t.WithInitialData(() => MicrosoftDataLoader.LoadReinsuranceSections(hub, pricingId)) : t.WithInitialData(Array.Empty<ReinsuranceSection>())); })).AddDefaultLayoutAreas().AddLayout(layout => layout.WithDefaultArea(\"Overview\").AddPricingLayoutAreas())",
"showChildrenInDetails": true,
"detailsChildrenLimit": 10,
"includeGlobalTypes": true
}
}

This file was deleted.

Loading
Loading