Browse Source

Update Modular CRM docs: HTTP clients & links

Register AddHttpClientProxies for ModularCrmContractsModule and CatalogContractsModule alongside OrderingContractsModule in the client module example, and add a clarifying comment. Remove a Blazor WebApp placeholder screenshot reference in part-05. Update the download link in part-08 to point to the ModularCRM-BlazorWebApp sample repository. These changes align the docs with the Blazor WebApp sample and ensure required HTTP client proxies are shown.
pull/24987/head
SALİH ÖZKARA 7 months ago
parent
commit
2c2b1419c2
  1. 6
      docs/en/tutorials/modular-crm/part-05.md
  2. 2
      docs/en/tutorials/modular-crm/part-08.md

6
docs/en/tutorials/modular-crm/part-05.md

@ -381,7 +381,10 @@ public class ModularCrmClientModule : AbpModule
{ {
public override void ConfigureServices(ServiceConfigurationContext context) public override void ConfigureServices(ServiceConfigurationContext context)
{ {
context.Services.AddHttpClientProxies(typeof(OrderingContractsModule).Assembly); ...
context.Services.AddHttpClientProxies(typeof(ModularCrmContractsModule).Assembly);
context.Services.AddHttpClientProxies(typeof(CatalogContractsModule).Assembly);
context.Services.AddHttpClientProxies(typeof(OrderingContractsModule).Assembly); // NEW: ADD HttpClientProxies
} }
} }
```` ````
@ -519,7 +522,6 @@ public class OrderingMenuContributor : IMenuContributor
{{else if UI == "BlazorWebApp"}} {{else if UI == "BlazorWebApp"}}
Replace the `Index.razor` content in the `Pages/Ordering` folder of the `ModularCrm.Ordering.Blazor` project with the following code block: Replace the `Index.razor` content in the `Pages/Ordering` folder of the `ModularCrm.Ordering.Blazor` project with the following code block:
> Blazor WebApp placeholder screenshot file: `images/vscode-ordering-index-razor-blazor-webapp.png`
````razor ````razor
@page "/ordering" @page "/ordering"

2
docs/en/tutorials/modular-crm/part-08.md

@ -176,7 +176,7 @@ Now, you know the fundamental principles and mechanics of building sophisticated
## Download the Source Code ## Download the Source Code
You can download the completed sample solution [here](https://github.com/abpframework/abp-samples/tree/master/ModularCRM). You can download the completed sample solution [here](https://github.com/abpframework/abp-samples/tree/master/ModularCRM-BlazorWebApp).
## See Also ## See Also

Loading…
Cancel
Save