Skip to content

Commit 753960c

Browse files
Update samples for net10.0 and CSLA 10 (#4790)
* Update to net10.0 and csla 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Remove sample * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Update for net10 and csla 10, except for wpf, b/c bxf doesn't work with net10 * Update for net10.0 and CSLA 10 * Update for net10.0 and CSLA 10 * Initial/partial update for net10.0 and csla 10 * Update to csla 10 coding pattern for properties * Implement resource add/edit * Implement role editing * Enhance the visual appearance of ProjectTracker * Add Sqlite DAL to ProjectTracker * Update the appserver project so it builds with the latest changes
1 parent 6044479 commit 753960c

File tree

264 files changed

+2153
-2954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+2153
-2954
lines changed

.claude/settings.local.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
"permissions": {
33
"allow": [
44
"Bash(dotnet nbgv:*)",
5-
"Bash(dotnet build:*)"
5+
"Bash(dotnet build:*)",
6+
"Bash(dotnet run)",
7+
"Bash(dotnet nuget list:*)",
8+
"Bash(dotnet restore:*)",
9+
"Bash(dotnet clean:*)",
10+
"Bash(dotnet list:*)",
11+
"Bash(findstr:*)",
12+
"Bash(dir \"S:\\\\src\\\\rdl\\\\csla\\\\Samples\\\\RuleTutorial\\\\AuthzFactoryMethods\\\\*.cs\" /b)",
13+
"Bash(powershell:*)"
614
]
715
}
816
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,4 @@ Source/Csla.Xaml.Uwp/project.lock.json
181181
/Samples/ProjectTracker/ProjectTracker.Ui.UWP/ProjectTracker.Ui.UWP.nuget.targets
182182
.vscode
183183
.idea
184+
Samples/ProjectTracker/ProjectTracker.Blazor/ProjectTracker.Blazor/PTracker.db

Samples/BlazorExample/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4-
<CslaVersion>10.0.0-beta-0021-g8302410d05</CslaVersion>
4+
<CslaVersion>10.0.0-beta-0022-gbd53196668</CslaVersion>
55
</PropertyGroup>
66
<ItemGroup>
77
<PackageVersion Include="Csla" Version="$(CslaVersion)" />

Samples/BusinessRuleDemo/BusinessRuleDemo.sln

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,22 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio 15
3-
VisualStudioVersion = 15.0.26730.12
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.0.00000.0
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BusinessRuleDemo", "BusinessRuleDemo\BusinessRuleDemo.csproj", "{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
99
Debug|Any CPU = Debug|Any CPU
10-
Debug|Mixed Platforms = Debug|Mixed Platforms
11-
Debug|x86 = Debug|x86
1210
Release|Any CPU = Release|Any CPU
13-
Release|Mixed Platforms = Release|Mixed Platforms
14-
Release|x86 = Release|x86
1511
Testing|Any CPU = Testing|Any CPU
16-
Testing|Mixed Platforms = Testing|Mixed Platforms
17-
Testing|x86 = Testing|x86
1812
EndGlobalSection
1913
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Debug|Any CPU.ActiveCfg = Debug|x86
21-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
22-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Debug|Mixed Platforms.Build.0 = Debug|x86
23-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Debug|x86.ActiveCfg = Debug|x86
24-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Debug|x86.Build.0 = Debug|x86
25-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Release|Any CPU.ActiveCfg = Release|x86
26-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Release|Mixed Platforms.ActiveCfg = Release|x86
27-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Release|Mixed Platforms.Build.0 = Release|x86
28-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Release|x86.ActiveCfg = Release|x86
29-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Release|x86.Build.0 = Release|x86
30-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Testing|Any CPU.ActiveCfg = Release|x86
31-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Testing|Mixed Platforms.ActiveCfg = Release|x86
32-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Testing|Mixed Platforms.Build.0 = Release|x86
33-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Testing|x86.ActiveCfg = Release|x86
34-
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Testing|x86.Build.0 = Release|x86
14+
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Release|Any CPU.Build.0 = Release|Any CPU
18+
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Testing|Any CPU.ActiveCfg = Release|Any CPU
19+
{393E5B9B-3781-4F3A-88A2-B2A3E43CC8E1}.Testing|Any CPU.Build.0 = Release|Any CPU
3520
EndGlobalSection
3621
GlobalSection(SolutionProperties) = preSolution
3722
HideSolutionNode = FALSE
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
using Csla;
2-
3-
namespace BusinessRuleDemo
1+
namespace BusinessRuleDemo
42
{
53
public static class App
64
{
7-
public static ApplicationContext ApplicationContext { get; set; }
5+
public static Csla.ApplicationContext ApplicationContext { get; set; }
86
}
97
}

Samples/BusinessRuleDemo/BusinessRuleDemo/BusinessRuleDemo.csproj

Lines changed: 10 additions & 312 deletions
Large diffs are not rendered by default.

Samples/BusinessRuleDemo/BusinessRuleDemo/Controls/ReadWriteAuthorization.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-

1+
22
using System.ComponentModel;
3+
using System.Runtime.Versioning;
34

45
namespace BusinessRuleDemo.Controls
56
{
7+
[SupportedOSPlatform("windows")]
68
public class ReadWriteAuthorization : Csla.Windows.ReadWriteAuthorization
79
{
810
public ReadWriteAuthorization(IContainer container)

Samples/BusinessRuleDemo/BusinessRuleDemo/Form1.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
using System.Windows.Forms;
1+
using System.Runtime.Versioning;
2+
using System.Windows.Forms;
23
using Csla;
34

45
namespace BusinessRuleDemo
56
{
7+
[SupportedOSPlatform("windows")]
68
public partial class Form1 : Form
79
{
810
public Form1()

Samples/BusinessRuleDemo/BusinessRuleDemo/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4+
using System.Runtime.Versioning;
45
using System.Windows.Forms;
56
using Csla.Configuration;
67
using Microsoft.Extensions.DependencyInjection;
@@ -13,6 +14,7 @@ static class Program
1314
/// The main entry point for the application.
1415
/// </summary>
1516
[STAThread]
17+
[SupportedOSPlatform("windows")]
1618
static void Main()
1719
{
1820
var services = new ServiceCollection();
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<ProjectReference Include="..\DataAccessLayer\DataAccessLayer.csproj" />
77
</ItemGroup>
88
<ItemGroup>
99
<PackageReference Include="Csla" />
10+
<PackageReference Include="Csla.Generator.AutoImplementProperties.CSharp" />
1011
</ItemGroup>
1112
</Project>

0 commit comments

Comments
 (0)