IAbpWebCommonModuleConfiguration.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections.Generic;
  2. using Abp.Web.Api.ProxyScripting.Configuration;
  3. using Abp.Web.MultiTenancy;
  4. using Abp.Web.Security.AntiForgery;
  5. namespace Abp.Web.Configuration
  6. {
  7. /// <summary>
  8. /// Used to configure ABP Web Common module.
  9. /// </summary>
  10. public interface IAbpWebCommonModuleConfiguration
  11. {
  12. /// <summary>
  13. /// If this is set to true, all exception and details are sent directly to clients on an error.
  14. /// Default: false (ABP hides exception details from clients except special exceptions.)
  15. /// </summary>
  16. bool SendAllExceptionsToClients { get; set; }
  17. /// <summary>
  18. /// Used to configure Api proxy scripting.
  19. /// </summary>
  20. IApiProxyScriptingConfiguration ApiProxyScripting { get; }
  21. /// <summary>
  22. /// Used to configure Anti Forgery security settings.
  23. /// </summary>
  24. IAbpAntiForgeryConfiguration AntiForgery { get; }
  25. /// <summary>
  26. /// Used to configure embedded resource system for web applications.
  27. /// </summary>
  28. IWebEmbeddedResourcesConfiguration EmbeddedResources { get; }
  29. IWebMultiTenancyConfiguration MultiTenancy { get; }
  30. }
  31. }