Leigh Pointer
60b2e50511
Rename services to Client/Server and update refs
...
Rename the client service class/file from [Module]Service to Client[Module]Service and the server service to Server[Module]Service. Update Edit.razor and Index.razor to inject Client[Module]Service and adjust all calls accordingly. Update DI registration in ClientStartup to register Client[Module]Service. Also remove the System.Net.Http.Json package reference from the client .csproj. File renames and reference updates keep class names and registrations consistent between client and server templates.
2026-02-06 18:25:21 +01:00
Leigh Pointer
d638f9492d
Move I[Module]Service to Shared
...
Relocate the I[Module]Service interface from the client Services file to a new Shared/Interfaces/I[Module]Service.cs so the interface becomes a shared contract. Remove the duplicate interface from the client-side [Module]Service implementation.
It was move in error, release 6.1.5 PR add a new Visual Studio Project Template #5493
2026-01-30 14:03:21 +01:00
sbwalker
bf932719b2
follow same pattern as core framework
2025-08-11 17:10:58 -04:00
sbwalker
997e9213f2
updated default module template to use Service consistently
2024-12-23 14:09:54 -05:00
sbwalker
422bf8da59
use HttpClient rather than IHttpClientFactory as IHttpClientFactory does not pass cookies in .NET MAUI
2024-11-11 08:14:53 -05:00
sbwalker
3cb875d139
fix issues in default template for Interactive Client (WebAssembly) scenarios
2024-08-20 15:33:46 -04:00
sbwalker
448e3a4639
updates to module template for static rendering (ActionDialog Id property, Service interface moved to Shared, Client Service using IHttpClientFactory, Async methods added to Repository, Server Service implementation added, Controller uses Server Service implementation, Server Service registered in Startup)
2024-03-21 14:55:07 -04:00
sbwalker
1e466dc1fe
use new GetJsonAsync method in external module template
2023-08-06 08:17:56 -04:00
Leigh Pointer
88c06eea6e
Fixes Module Creator problem #3041
...
This fix is to handle a returned null from the database. This issue came to light while using Postgresql
2023-07-19 09:58:36 +02:00
vnetonline
3abe47ae9e
[ENHANCE] - Added Module to NameSpace [Owner].Module.[Module]
...
[ENHANCE] - Added Module to NameSpace [Owner].Module.[Module]
2023-06-20 16:58:30 +10:00
Shaun Walker
32c49f74d3
fix module template issues
2021-06-17 12:12:19 -04:00
Shaun Walker
912b775553
preserve backward compatibility of CreateAuthorizationPolicyUrl method
2021-06-02 12:20:31 -04:00
Shaun Walker
54a639d1d5
Module Creator external template changes for 2.1 - supporting mutliple databases, EF Core migrations, and other multi-tenancy improvements
2021-05-28 17:01:25 -04:00
Shaun Walker
282579fcf2
resolve #526 remove pluralization from module creation templates
2020-08-14 12:44:37 -04:00
Mike Casas
23e7f66188
Delete module id as it is getting added in CreateAuthPolicyUrl method.
2020-07-14 11:47:59 -04:00
Mike Casas
fe302aa9e4
Should be moduleid as the entity id is added in the CreateAuthPolicyUrl method.
2020-07-12 18:59:20 -04:00
Shaun Walker
f515def414
Html encode job log messages, add new IModule property to allow modules to specify Runtime support, provide feedback during module content import, remove default EditMode option at the Page level (should be implemented at Module level) - resolves issue where Admin modules could not be deleted, include link to Event Log in AddModuleMessage for Error message type, fixed fallback support for themes in siterouter, integrated auth policy into site templates for Module Creator
2020-07-08 19:56:02 -04:00
Shaun Walker
d8fca5de20
module creator templates need to be in the server project in order to be distributed with application
2020-05-20 15:31:09 -04:00