-
-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3688 from rockfordlhotka/2551-projecttracker
Major update of ProjectTracker for CSLA 8
- Loading branch information
Showing
449 changed files
with
2,142 additions
and
52,633 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
65 changes: 0 additions & 65 deletions
65
Samples/ProjectTracker/AttributeGetter/AttributeGetter.csproj
This file was deleted.
Oops, something went wrong.
65 changes: 0 additions & 65 deletions
65
Samples/ProjectTracker/AttributeGetter/AttributeGetter.csproj.bak
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
Samples/ProjectTracker/AttributeGetter/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
Samples/ProjectTracker/AttributeGetter/Resources/AboutResources.txt
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
Samples/ProjectTracker/AttributeGetter/Resources/Resource.Designer.cs
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
Samples/ProjectTracker/AttributeGetter/Resources/Values/Strings.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
Samples/ProjectTracker/ProjectTracker.AppServer/Controllers/CslaStateController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Samples/ProjectTracker/ProjectTracker.AppServer/Controllers/DataPortalController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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..."; | ||
} | ||
} | ||
} |
Oops, something went wrong.