Merge pull request #4054 from gdlcf88/AddTipToModuleOverridingDoc

Add a RemoteService tip to the module overriding doc
pull/4170/head
maliming 5 years ago committed by GitHub
commit 7735ccf333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,6 +59,7 @@ In most cases, you will want to change one or a few methods of the current imple
### Example: Overriding an Application Service
````csharp
//[RemoteService(IsEnabled = false)] // If you use dynamic controller feature you can disable remote service. Prevent creating duplicate controller for the application service.
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IIdentityUserAppService), typeof(IdentityUserAppService))]
public class MyIdentityUserAppService : IdentityUserAppService

Loading…
Cancel
Save