Skip to content

Commit

Permalink
Merge pull request #3688 from rockfordlhotka/2551-projecttracker
Browse files Browse the repository at this point in the history
Major update of ProjectTracker for CSLA 8
  • Loading branch information
rockfordlhotka authored Mar 12, 2024
2 parents 5dc637b + e32c73a commit 51cdb7f
Show file tree
Hide file tree
Showing 449 changed files with 2,142 additions and 52,633 deletions.
Binary file modified NuGet/Tools/NuGet.exe
Binary file not shown.
9 changes: 0 additions & 9 deletions Samples/ProjectTracker/.dockerignore

This file was deleted.

65 changes: 0 additions & 65 deletions Samples/ProjectTracker/AttributeGetter/AttributeGetter.csproj

This file was deleted.

65 changes: 0 additions & 65 deletions Samples/ProjectTracker/AttributeGetter/AttributeGetter.csproj.bak

This file was deleted.

25 changes: 0 additions & 25 deletions Samples/ProjectTracker/AttributeGetter/DisplayGetter.cs

This file was deleted.

30 changes: 0 additions & 30 deletions Samples/ProjectTracker/AttributeGetter/Properties/AssemblyInfo.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions Samples/ProjectTracker/How to run WPF.txt

This file was deleted.

7 changes: 0 additions & 7 deletions Samples/ProjectTracker/How to run WinForms.txt

This file was deleted.

11 changes: 0 additions & 11 deletions Samples/ProjectTracker/HowtoRunBlazor.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using Microsoft.AspNetCore.Mvc;
using Csla;
using Csla.State;

namespace ProjectTracker.AppServer.Controllers
{
/// <summary>
/// Gets and puts the current user session data
/// from the Blazor wasm client components.
/// </summary>
/// <param name="applicationContext"></param>
/// <param name="sessionManager"></param>
[ApiController]
[Route("[controller]")]
public class CslaStateController(ApplicationContext applicationContext, ISessionManager sessionManager) :
Csla.AspNetCore.Blazor.State.StateController(applicationContext, sessionManager)
{
public override byte[] Get() => base.Get();

public override void Put(byte[] updatedSessionData) => base.Put(updatedSessionData);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using Csla;
using Microsoft.AspNetCore.Mvc;

namespace ProjectTracker.AppServer.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class DataPortalController(ApplicationContext applicationContext)
: Csla.Server.Hosts.HttpPortalController(applicationContext)
{
[HttpGet]
public string Get()
{
return "DataPortal running...";
}
}
}
Loading

0 comments on commit 51cdb7f

Please sign in to comment.