Skip to content

Commit

Permalink
#2300 Add HttpApi module assemblies to Application Parts for the iden…
Browse files Browse the repository at this point in the history
…tity module.
  • Loading branch information
hikalkan committed Dec 3, 2019
1 parent fbe5813 commit cb29322
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,21 @@
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Localization.Resources.AbpUi;
using Microsoft.Extensions.DependencyInjection;

namespace Volo.Abp.Identity
{
[DependsOn(typeof(AbpIdentityApplicationContractsModule), typeof(AbpAspNetCoreMvcModule))]
public class AbpIdentityHttpApiModule : AbpModule
{
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<IMvcBuilder>(mvcBuilder =>
{
mvcBuilder.AddApplicationPartIfNotExists(typeof(AbpIdentityHttpApiModule).Assembly);
});
}

public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpLocalizationOptions>(options =>
Expand Down

0 comments on commit cb29322

Please sign in to comment.