Working on microservice demo.

pull/216/head
Halil İbrahim Kalkan 8 years ago
parent 631c3dc63a
commit 88d645aa7e

@ -298,7 +298,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MicroserviceDemo.Web", "src
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MicroserviceDemo.TenancyService", "src\MicroserviceDemo\MicroserviceDemo.TenancyService\MicroserviceDemo.TenancyService.csproj", "{067627C7-6891-453A-A219-35141733D776}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MicroserviceDemo.PermissionService", "src\MicroserviceDemo\MicroserviceDemo.PermissionService\MicroserviceDemo.PermissionService.csproj", "{2F866856-EF73-4B28-89CD-A43AF7CBD08B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.MultiTenancy.HttpApi.Client", "src\Volo.Abp.MultiTenancy.HttpApi.Client\Volo.Abp.MultiTenancy.HttpApi.Client.csproj", "{76D24E2C-8DB0-48B7-9FC4-02231B8B9F39}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -786,10 +786,10 @@ Global
{067627C7-6891-453A-A219-35141733D776}.Debug|Any CPU.Build.0 = Debug|Any CPU
{067627C7-6891-453A-A219-35141733D776}.Release|Any CPU.ActiveCfg = Release|Any CPU
{067627C7-6891-453A-A219-35141733D776}.Release|Any CPU.Build.0 = Release|Any CPU
{2F866856-EF73-4B28-89CD-A43AF7CBD08B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2F866856-EF73-4B28-89CD-A43AF7CBD08B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2F866856-EF73-4B28-89CD-A43AF7CBD08B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2F866856-EF73-4B28-89CD-A43AF7CBD08B}.Release|Any CPU.Build.0 = Release|Any CPU
{76D24E2C-8DB0-48B7-9FC4-02231B8B9F39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{76D24E2C-8DB0-48B7-9FC4-02231B8B9F39}.Debug|Any CPU.Build.0 = Debug|Any CPU
{76D24E2C-8DB0-48B7-9FC4-02231B8B9F39}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76D24E2C-8DB0-48B7-9FC4-02231B8B9F39}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -935,7 +935,7 @@ Global
{3510E248-DC9F-4A07-8134-02E7F5CC5783} = {282A5684-F573-47BB-B044-10F3F710E22A}
{258B4E36-BF5B-484D-B10E-7D5AF868FA44} = {3510E248-DC9F-4A07-8134-02E7F5CC5783}
{067627C7-6891-453A-A219-35141733D776} = {3510E248-DC9F-4A07-8134-02E7F5CC5783}
{2F866856-EF73-4B28-89CD-A43AF7CBD08B} = {3510E248-DC9F-4A07-8134-02E7F5CC5783}
{76D24E2C-8DB0-48B7-9FC4-02231B8B9F39} = {CA154803-3589-47B3-B7CB-B18F94FE1EB6}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BB97ECF4-9A84-433F-A80B-2A3285BDD1D5}

@ -1,22 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" />
<PackageReference Include="Serilog.Extensions.Logging" Version="2.0.2" />
<PackageReference Include="Serilog.Sinks.RollingFile" Version="3.3.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="1.1.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Volo.Abp.AspNetCore.Mvc\Volo.Abp.AspNetCore.Mvc.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Identity.EntityFrameworkCore\Volo.Abp.Identity.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Permissions.Application\Volo.Abp.Permissions.Application.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Permissions.EntityFrameworkCore\Volo.Abp.Permissions.EntityFrameworkCore.csproj" />
</ItemGroup>
</Project>

@ -1,52 +0,0 @@
// <auto-generated />
using MicroserviceDemo.PermissionService.Db;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Internal;
using System;
namespace MicroserviceDemo.PermissionService.Migrations
{
[DbContext(typeof(MigrationDbContext))]
[Migration("20180226112104_Installed_Permissions_Module")]
partial class Installed_Permissions_Module
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "2.0.1-rtm-125")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
modelBuilder.Entity("Volo.Abp.Permissions.PermissionGrant", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(128);
b.Property<string>("ProviderKey")
.IsRequired()
.HasMaxLength(64);
b.Property<string>("ProviderName")
.IsRequired()
.HasMaxLength(64);
b.Property<Guid?>("TenantId");
b.HasKey("Id");
b.HasIndex("Name", "ProviderName", "ProviderKey");
b.ToTable("AbpPermissionGrants");
});
#pragma warning restore 612, 618
}
}
}

@ -1,38 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace MicroserviceDemo.PermissionService.Migrations
{
public partial class Installed_Permissions_Module : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AbpPermissionGrants",
columns: table => new
{
Id = table.Column<Guid>(nullable: false),
Name = table.Column<string>(maxLength: 128, nullable: false),
ProviderKey = table.Column<string>(maxLength: 64, nullable: false),
ProviderName = table.Column<string>(maxLength: 64, nullable: false),
TenantId = table.Column<Guid>(nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_AbpPermissionGrants", x => x.Id);
});
migrationBuilder.CreateIndex(
name: "IX_AbpPermissionGrants_Name_ProviderName_ProviderKey",
table: "AbpPermissionGrants",
columns: new[] { "Name", "ProviderName", "ProviderKey" });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "AbpPermissionGrants");
}
}
}

@ -1,21 +0,0 @@
using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace MicroserviceDemo.PermissionService
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHostInternal(args).Run();
}
public static IWebHost BuildWebHostInternal(string[] args) =>
new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()
.Build();
}
}

@ -1,27 +0,0 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:63908/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"MicroserviceDemo.PermissionService": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:63909/"
}
}
}

@ -1,36 +0,0 @@
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Serilog;
using Volo.Abp;
namespace MicroserviceDemo.PermissionService
{
public class Startup
{
public IServiceProvider ConfigureServices(IServiceCollection services)
{
services.AddApplication<MicroservicesDemoPermissionServiceModule>(options =>
{
options.UseAutofac();
});
return services.BuildServiceProviderFromFactory();
}
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
{
loggerFactory
.AddConsole()
.AddDebug()
.AddSerilog(new LoggerConfiguration()
.Enrich.FromLogContext()
.WriteTo.RollingFile("Logs/logs.txt")
.CreateLogger()
);
app.InitializeApplication();
}
}
}

@ -1,6 +0,0 @@
{
"ConnectionStrings": {
"Default": "Server=localhost;Database=MicroservicesDemo.Permissions;Trusted_Connection=True;MultipleActiveResultSets=true",
"AbpIdentity": "Server=localhost;Database=MicroservicesDemo.Web;Trusted_Connection=True;MultipleActiveResultSets=true"
}
}

@ -1,8 +1,8 @@
using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Permissions.EntityFrameworkCore;
using Volo.Abp.MultiTenancy.EntityFrameworkCore;
namespace MicroserviceDemo.PermissionService.Db
namespace MicroserviceDemo.TenancyService.Db
{
public class MigrationDbContext : AbpDbContext<MigrationDbContext>
{
@ -15,7 +15,7 @@ namespace MicroserviceDemo.PermissionService.Db
{
base.OnModelCreating(modelBuilder);
modelBuilder.ConfigureAbpPermissions();
modelBuilder.ConfigureMultiTenancy();
}
}
}

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace MicroserviceDemo.PermissionService.Db
namespace MicroserviceDemo.TenancyService.Db
{
/* This class is needed for EF Core command line tooling */
@ -10,7 +10,7 @@ namespace MicroserviceDemo.PermissionService.Db
public MigrationDbContext CreateDbContext(string[] args)
{
var builder = new DbContextOptionsBuilder<MigrationDbContext>();
builder.UseSqlServer("Server=localhost;Database=MicroservicesDemo.Permissions;Trusted_Connection=True;MultipleActiveResultSets=true");
builder.UseSqlServer("Server=localhost;Database=MicroservicesDemo.Tenancy;Trusted_Connection=True;MultipleActiveResultSets=true");
return new MigrationDbContext(builder.Options);
}
}

@ -0,0 +1,311 @@
2018-02-27 13:16:54.058 +03:00 [Information] Loaded modules:
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.Castle.AbpCastleCoreModule
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.Autofac.AbpAutofacModule
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.Data.AbpDataModule
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.Settings.AbpSettingsModule
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainSharedModule
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.Guids.AbpGuidsModule
2018-02-27 13:16:54.106 +03:00 [Information] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Threading.AbpThreadingModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.EventBus.AbpEventBusModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Validation.AbpValidationModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Security.AbpSecurityModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Authorization.AbpAuthorizationModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Http.AbpHttpAbstractionsModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.AbpDddModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Ui.AbpUiModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Localization.AbpLocalizationModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Session.AbpSessionModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Timing.AbpTimingModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.Json.AbpJsonModule
2018-02-27 13:16:54.107 +03:00 [Information] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.Serialization.AbpSerializationModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.Caching.AbpCachingModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.AbpCommonModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.MultiTenancy.EntityFrameworkCore.AbpMultiTenancyEntityFrameworkCoreModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationContractsModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.Http.AbpHttpModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2018-02-27 13:16:54.108 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyHttpApiModule
2018-02-27 13:16:54.108 +03:00 [Information] - MicroserviceDemo.TenancyService.MicroservicesDemoTenancyServiceModule
2018-02-27 13:16:54.947 +03:00 [Information] Initialized all modules.
2018-02-27 13:19:00.722 +03:00 [Information] Loaded modules:
2018-02-27 13:19:00.764 +03:00 [Information] - Volo.Abp.Castle.AbpCastleCoreModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Autofac.AbpAutofacModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Data.AbpDataModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Settings.AbpSettingsModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainSharedModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Guids.AbpGuidsModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Threading.AbpThreadingModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.EventBus.AbpEventBusModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Validation.AbpValidationModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Security.AbpSecurityModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Authorization.AbpAuthorizationModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Http.AbpHttpAbstractionsModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.AbpDddModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Ui.AbpUiModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Localization.AbpLocalizationModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Session.AbpSessionModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Timing.AbpTimingModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Json.AbpJsonModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Serialization.AbpSerializationModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.Caching.AbpCachingModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.AbpCommonModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2018-02-27 13:19:00.765 +03:00 [Information] - Volo.Abp.MultiTenancy.EntityFrameworkCore.AbpMultiTenancyEntityFrameworkCoreModule
2018-02-27 13:19:00.766 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationContractsModule
2018-02-27 13:19:00.766 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationModule
2018-02-27 13:19:00.766 +03:00 [Information] - Volo.Abp.Http.AbpHttpModule
2018-02-27 13:19:00.766 +03:00 [Information] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2018-02-27 13:19:00.766 +03:00 [Information] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2018-02-27 13:19:00.766 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyHttpApiModule
2018-02-27 13:19:00.766 +03:00 [Information] - MicroserviceDemo.TenancyService.MicroservicesDemoTenancyServiceModule
2018-02-27 13:19:01.414 +03:00 [Information] Initialized all modules.
2018-02-27 13:20:39.741 +03:00 [Information] Loaded modules:
2018-02-27 13:20:39.783 +03:00 [Information] - Volo.Abp.Castle.AbpCastleCoreModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Autofac.AbpAutofacModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Data.AbpDataModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Settings.AbpSettingsModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainSharedModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Guids.AbpGuidsModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Threading.AbpThreadingModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.EventBus.AbpEventBusModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Validation.AbpValidationModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Security.AbpSecurityModule
2018-02-27 13:20:39.784 +03:00 [Information] - Volo.Abp.Authorization.AbpAuthorizationModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Http.AbpHttpAbstractionsModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.AbpDddModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Ui.AbpUiModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Localization.AbpLocalizationModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Session.AbpSessionModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Timing.AbpTimingModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Json.AbpJsonModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Serialization.AbpSerializationModule
2018-02-27 13:20:39.785 +03:00 [Information] - Volo.Abp.Caching.AbpCachingModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.AbpCommonModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.MultiTenancy.EntityFrameworkCore.AbpMultiTenancyEntityFrameworkCoreModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationContractsModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.Http.AbpHttpModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2018-02-27 13:20:39.786 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyHttpApiModule
2018-02-27 13:20:39.786 +03:00 [Information] - MicroserviceDemo.TenancyService.MicroservicesDemoTenancyServiceModule
2018-02-27 13:20:40.484 +03:00 [Information] Initialized all modules.
2018-02-27 13:20:40.727 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/
2018-02-27 13:20:40.890 +03:00 [Information] Executing action method "Volo.Abp.Identity.HttpApi.Host.Controllers.HomeController.Index (MicroserviceDemo.TenancyService)" with arguments (null) - ModelState is Valid
2018-02-27 13:20:40.899 +03:00 [Information] Executing RedirectResult, redirecting to "/swagger".
2018-02-27 13:20:40.904 +03:00 [Information] Executed action "Volo.Abp.Identity.HttpApi.Host.Controllers.HomeController.Index (MicroserviceDemo.TenancyService)" in 38.9775ms
2018-02-27 13:20:40.910 +03:00 [Information] Request finished in 199.3981ms 302
2018-02-27 13:20:40.920 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger
2018-02-27 13:20:40.923 +03:00 [Information] Request finished in 3.0126ms 301
2018-02-27 13:20:40.930 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/
2018-02-27 13:20:40.935 +03:00 [Information] Sending file. Request path: '"/index.html"'. Physical path: '"N/A"'
2018-02-27 13:20:40.940 +03:00 [Information] Request finished in 9.6063ms 200 text/html
2018-02-27 13:20:40.970 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/typography.css
2018-02-27 13:20:40.971 +03:00 [Information] Sending file. Request path: '"/css/typography.css"'. Physical path: '"N/A"'
2018-02-27 13:20:40.971 +03:00 [Information] Request finished in 1.3932ms 200 text/css
2018-02-27 13:20:40.972 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/screen.css
2018-02-27 13:20:40.973 +03:00 [Information] Sending file. Request path: '"/css/screen.css"'. Physical path: '"N/A"'
2018-02-27 13:20:40.975 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/reset.css
2018-02-27 13:20:40.975 +03:00 [Information] Request finished in 2.2254ms 200 text/css
2018-02-27 13:20:40.975 +03:00 [Information] Sending file. Request path: '"/css/reset.css"'. Physical path: '"N/A"'
2018-02-27 13:20:40.976 +03:00 [Information] Request finished in 1.152ms 200 text/css
2018-02-27 13:20:40.980 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery-1.8.0.min.js
2018-02-27 13:20:40.980 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/print.css
2018-02-27 13:20:40.980 +03:00 [Information] Sending file. Request path: '"/css/print.css"'. Physical path: '"N/A"'
2018-02-27 13:20:40.980 +03:00 [Information] Sending file. Request path: '"/lib/jquery-1.8.0.min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:40.981 +03:00 [Information] Request finished in 0.8813ms 200 text/css
2018-02-27 13:20:40.981 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/object-assign-pollyfill.js
2018-02-27 13:20:40.982 +03:00 [Information] Sending file. Request path: '"/lib/object-assign-pollyfill.js"'. Physical path: '"N/A"'
2018-02-27 13:20:40.983 +03:00 [Information] Request finished in 1.4766ms 200 application/javascript
2018-02-27 13:20:40.987 +03:00 [Information] Request finished in 6.1895ms 200 application/javascript
2018-02-27 13:20:40.988 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery.slideto.min.js
2018-02-27 13:20:40.988 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery.wiggle.min.js
2018-02-27 13:20:40.989 +03:00 [Information] Sending file. Request path: '"/lib/jquery.wiggle.min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:40.989 +03:00 [Information] Sending file. Request path: '"/lib/jquery.slideto.min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:40.989 +03:00 [Information] Request finished in 1.0541ms 200 application/javascript
2018-02-27 13:20:40.994 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery.ba-bbq.min.js
2018-02-27 13:20:40.994 +03:00 [Information] Sending file. Request path: '"/lib/jquery.ba-bbq.min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:40.995 +03:00 [Information] Request finished in 1.1041ms 200 application/javascript
2018-02-27 13:20:40.999 +03:00 [Information] Request finished in 3.5784ms 200 application/javascript
2018-02-27 13:20:41.006 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/highlight.9.1.0.pack_extended.js
2018-02-27 13:20:41.006 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/handlebars-4.0.5.js
2018-02-27 13:20:41.006 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/lodash.min.js
2018-02-27 13:20:41.006 +03:00 [Information] Sending file. Request path: '"/lib/highlight.9.1.0.pack_extended.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.006 +03:00 [Information] Sending file. Request path: '"/lib/handlebars-4.0.5.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.006 +03:00 [Information] Sending file. Request path: '"/lib/lodash.min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.006 +03:00 [Information] Request finished in 0.7791ms 200 application/javascript
2018-02-27 13:20:41.007 +03:00 [Information] Request finished in 1.1563ms 200 application/javascript
2018-02-27 13:20:41.008 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/swagger-ui.min.js
2018-02-27 13:20:41.010 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/highlight.9.1.0.pack.js
2018-02-27 13:20:41.010 +03:00 [Information] Sending file. Request path: '"/lib/highlight.9.1.0.pack.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.010 +03:00 [Information] Request finished in 0.8219ms 200 application/javascript
2018-02-27 13:20:41.012 +03:00 [Information] Sending file. Request path: '"/swagger-ui.min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.017 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/backbone-min.js
2018-02-27 13:20:41.017 +03:00 [Information] Sending file. Request path: '"/lib/backbone-min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.017 +03:00 [Information] Request finished in 0.8069ms 200 application/javascript
2018-02-27 13:20:41.021 +03:00 [Information] Request finished in 15.2947ms 200 application/javascript
2018-02-27 13:20:41.021 +03:00 [Information] Request finished in 13.328ms 200 application/javascript
2018-02-27 13:20:41.115 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jsoneditor.min.js
2018-02-27 13:20:41.116 +03:00 [Information] Sending file. Request path: '"/lib/jsoneditor.min.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.118 +03:00 [Information] Request finished in 2.6261ms 200 application/javascript
2018-02-27 13:20:41.119 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/marked.js
2018-02-27 13:20:41.119 +03:00 [Information] Sending file. Request path: '"/lib/marked.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.120 +03:00 [Information] Request finished in 1.1965ms 200 application/javascript
2018-02-27 13:20:41.123 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/swagger-oauth.js
2018-02-27 13:20:41.125 +03:00 [Information] Sending file. Request path: '"/lib/swagger-oauth.js"'. Physical path: '"N/A"'
2018-02-27 13:20:41.125 +03:00 [Information] Request finished in 2.7206ms 200 application/javascript
2018-02-27 13:20:41.138 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/images/logo_small.png
2018-02-27 13:20:41.138 +03:00 [Information] Sending file. Request path: '"/images/logo_small.png"'. Physical path: '"N/A"'
2018-02-27 13:20:41.139 +03:00 [Information] Request finished in 0.8616ms 200 image/png
2018-02-27 13:20:41.268 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/images/favicon-16x16.png
2018-02-27 13:20:41.268 +03:00 [Information] Sending file. Request path: '"/images/favicon-16x16.png"'. Physical path: '"N/A"'
2018-02-27 13:20:41.269 +03:00 [Information] Request finished in 0.8604ms 200 image/png
2018-02-27 13:20:41.288 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/v1/swagger.json
2018-02-27 13:20:41.539 +03:00 [Information] Request finished in 251.1205ms 200 application/json
2018-02-27 13:20:52.263 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/images/throbber.gif
2018-02-27 13:20:52.263 +03:00 [Information] Sending file. Request path: '"/images/throbber.gif"'. Physical path: '"N/A"'
2018-02-27 13:20:52.264 +03:00 [Information] Request finished in 0.8997ms 200 image/gif
2018-02-27 13:20:52.268 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/Abp/ApplicationConfigurationScript
2018-02-27 13:20:52.286 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)" with arguments (null) - ModelState is Valid
2018-02-27 13:20:52.369 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:20:52.370 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)" in 89.1993ms
2018-02-27 13:20:52.371 +03:00 [Information] Request finished in 103.3378ms 200 text/plain; charset=utf-8
2018-02-27 13:21:04.659 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/Abp/ServiceProxyScript?UseCache=true
2018-02-27 13:21:04.706 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)" with arguments (["Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel"]) - ModelState is Valid
2018-02-27 13:21:04.760 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:21:04.760 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)" in 81.0285ms
2018-02-27 13:21:04.760 +03:00 [Information] Request finished in 101.7893ms 200 text/plain; charset=utf-8
2018-02-27 13:21:21.290 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/api/abp/application-configuration
2018-02-27 13:21:21.296 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.Get (Volo.Abp.AspNetCore.Mvc)" with arguments (null) - ModelState is Valid
2018-02-27 13:21:21.297 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:21:21.301 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.Get (Volo.Abp.AspNetCore.Mvc)" in 5.5583ms
2018-02-27 13:21:21.302 +03:00 [Information] Request finished in 11.6077ms 200 application/json; charset=utf-8
2018-02-27 13:21:32.534 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/api/abp/api-definition
2018-02-27 13:21:32.538 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController.Get (Volo.Abp.AspNetCore.Mvc)" with arguments (null) - ModelState is Valid
2018-02-27 13:21:32.540 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:21:32.560 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController.Get (Volo.Abp.AspNetCore.Mvc)" in 22.588ms
2018-02-27 13:21:32.560 +03:00 [Information] Request finished in 26.8605ms 200 application/json; charset=utf-8
2018-02-27 13:28:39.013 +03:00 [Information] Request starting HTTP/1.1 POST http://127.0.0.1:31738/iisintegration 0
2018-02-27 13:28:39.014 +03:00 [Information] Request finished in 0.8787ms 202
2018-02-27 13:34:27.480 +03:00 [Information] Loaded modules:
2018-02-27 13:34:27.522 +03:00 [Information] - Volo.Abp.Castle.AbpCastleCoreModule
2018-02-27 13:34:27.522 +03:00 [Information] - Volo.Abp.Autofac.AbpAutofacModule
2018-02-27 13:34:27.522 +03:00 [Information] - Volo.Abp.Data.AbpDataModule
2018-02-27 13:34:27.522 +03:00 [Information] - Volo.Abp.Settings.AbpSettingsModule
2018-02-27 13:34:27.522 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule
2018-02-27 13:34:27.522 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainSharedModule
2018-02-27 13:34:27.522 +03:00 [Information] - Volo.Abp.Guids.AbpGuidsModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.Threading.AbpThreadingModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.EventBus.AbpEventBusModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.Validation.AbpValidationModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.Security.AbpSecurityModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.Authorization.AbpAuthorizationModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.Http.AbpHttpAbstractionsModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.AbpDddModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.Ui.AbpUiModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2018-02-27 13:34:27.523 +03:00 [Information] - Volo.Abp.Localization.AbpLocalizationModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.Session.AbpSessionModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.Timing.AbpTimingModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.Json.AbpJsonModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.Serialization.AbpSerializationModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.Caching.AbpCachingModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.AbpCommonModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.MultiTenancy.EntityFrameworkCore.AbpMultiTenancyEntityFrameworkCoreModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationContractsModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationModule
2018-02-27 13:34:27.524 +03:00 [Information] - Volo.Abp.Http.AbpHttpModule
2018-02-27 13:34:27.525 +03:00 [Information] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2018-02-27 13:34:27.525 +03:00 [Information] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2018-02-27 13:34:27.525 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyHttpApiModule
2018-02-27 13:34:27.525 +03:00 [Information] - MicroserviceDemo.TenancyService.MicroservicesDemoTenancyServiceModule
2018-02-27 13:34:28.177 +03:00 [Information] Initialized all modules.
2018-02-27 13:34:28.463 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/
2018-02-27 13:34:28.487 +03:00 [Information] Sending file. Request path: '"/index.html"'. Physical path: '"N/A"'
2018-02-27 13:34:28.494 +03:00 [Information] Request finished in 46.1866ms 200 text/html
2018-02-27 13:34:28.535 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/typography.css
2018-02-27 13:34:28.537 +03:00 [Information] The file "/css/typography.css" was not modified
2018-02-27 13:34:28.539 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/reset.css
2018-02-27 13:34:28.540 +03:00 [Information] The file "/css/reset.css" was not modified
2018-02-27 13:34:28.540 +03:00 [Information] Request finished in 3.3479ms 304 text/css
2018-02-27 13:34:28.540 +03:00 [Information] Request finished in 5.8354ms 304 text/css
2018-02-27 13:34:28.541 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/screen.css
2018-02-27 13:34:28.543 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/object-assign-pollyfill.js
2018-02-27 13:34:28.543 +03:00 [Information] The file "/lib/object-assign-pollyfill.js" was not modified
2018-02-27 13:34:28.544 +03:00 [Information] Request finished in 1.0831ms 304 application/javascript
2018-02-27 13:34:28.544 +03:00 [Information] The file "/css/screen.css" was not modified
2018-02-27 13:34:28.544 +03:00 [Information] Request finished in 3.4976ms 304 text/css
2018-02-27 13:34:28.547 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/css/print.css
2018-02-27 13:34:28.548 +03:00 [Information] The file "/css/print.css" was not modified
2018-02-27 13:34:28.548 +03:00 [Information] Request finished in 1.1777ms 304 text/css
2018-02-27 13:34:28.554 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery.wiggle.min.js
2018-02-27 13:34:28.555 +03:00 [Information] The file "/lib/jquery.wiggle.min.js" was not modified
2018-02-27 13:34:28.555 +03:00 [Information] Request finished in 0.8159ms 304 application/javascript
2018-02-27 13:34:28.555 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery-1.8.0.min.js
2018-02-27 13:34:28.555 +03:00 [Information] The file "/lib/jquery-1.8.0.min.js" was not modified
2018-02-27 13:34:28.556 +03:00 [Information] Request finished in 0.8351ms 304 application/javascript
2018-02-27 13:34:28.556 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery.ba-bbq.min.js
2018-02-27 13:34:28.556 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jquery.slideto.min.js
2018-02-27 13:34:28.556 +03:00 [Information] The file "/lib/jquery.ba-bbq.min.js" was not modified
2018-02-27 13:34:28.557 +03:00 [Information] The file "/lib/jquery.slideto.min.js" was not modified
2018-02-27 13:34:28.557 +03:00 [Information] Request finished in 1.87ms 304 application/javascript
2018-02-27 13:34:28.558 +03:00 [Information] Request finished in 1.6994ms 304 application/javascript
2018-02-27 13:34:28.559 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/handlebars-4.0.5.js
2018-02-27 13:34:28.559 +03:00 [Information] The file "/lib/handlebars-4.0.5.js" was not modified
2018-02-27 13:34:28.559 +03:00 [Information] Request finished in 0.91ms 304 application/javascript
2018-02-27 13:34:28.561 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/lodash.min.js
2018-02-27 13:34:28.562 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/backbone-min.js
2018-02-27 13:34:28.563 +03:00 [Information] The file "/lib/backbone-min.js" was not modified
2018-02-27 13:34:28.563 +03:00 [Information] Request finished in 1.3136ms 304 application/javascript
2018-02-27 13:34:28.562 +03:00 [Information] The file "/lib/lodash.min.js" was not modified
2018-02-27 13:34:28.564 +03:00 [Information] Request finished in 2.724ms 304 application/javascript
2018-02-27 13:34:28.564 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/swagger-ui.min.js
2018-02-27 13:34:28.564 +03:00 [Information] The file "/swagger-ui.min.js" was not modified
2018-02-27 13:34:28.565 +03:00 [Information] Request finished in 0.5952ms 304 application/javascript
2018-02-27 13:34:28.566 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/highlight.9.1.0.pack.js
2018-02-27 13:34:28.567 +03:00 [Information] The file "/lib/highlight.9.1.0.pack.js" was not modified
2018-02-27 13:34:28.568 +03:00 [Information] Request finished in 1.3705ms 304 application/javascript
2018-02-27 13:34:28.571 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/jsoneditor.min.js
2018-02-27 13:34:28.572 +03:00 [Information] The file "/lib/jsoneditor.min.js" was not modified
2018-02-27 13:34:28.572 +03:00 [Information] Request finished in 1.0164ms 304 application/javascript
2018-02-27 13:34:28.572 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/highlight.9.1.0.pack_extended.js
2018-02-27 13:34:28.573 +03:00 [Information] The file "/lib/highlight.9.1.0.pack_extended.js" was not modified
2018-02-27 13:34:28.574 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/swagger-oauth.js
2018-02-27 13:34:28.574 +03:00 [Information] Request finished in 1.5159ms 304 application/javascript
2018-02-27 13:34:28.574 +03:00 [Information] The file "/lib/swagger-oauth.js" was not modified
2018-02-27 13:34:28.575 +03:00 [Information] Request finished in 0.9989ms 304 application/javascript
2018-02-27 13:34:28.576 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/lib/marked.js
2018-02-27 13:34:28.576 +03:00 [Information] The file "/lib/marked.js" was not modified
2018-02-27 13:34:28.577 +03:00 [Information] Request finished in 0.7684ms 304 application/javascript
2018-02-27 13:34:28.760 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/images/logo_small.png
2018-02-27 13:34:28.761 +03:00 [Information] The file "/images/logo_small.png" was not modified
2018-02-27 13:34:28.761 +03:00 [Information] Request finished in 0.6752ms 304 image/png
2018-02-27 13:34:28.781 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:63877/swagger/v1/swagger.json
2018-02-27 13:34:29.095 +03:00 [Information] Request finished in 313.8835ms 200 application/json

@ -6,6 +6,15 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" />
<PackageReference Include="Serilog.Extensions.Logging" Version="2.0.2" />
<PackageReference Include="Serilog.Sinks.RollingFile" Version="3.3.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="1.1.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" />
<ProjectReference Include="..\..\Volo.Abp.MultiTenancy.EntityFrameworkCore\Volo.Abp.MultiTenancy.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\Volo.Abp.MultiTenancy.HttpApi\Volo.Abp.MultiTenancy.HttpApi.csproj" />
</ItemGroup>
</Project>

@ -3,25 +3,22 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Swashbuckle.AspNetCore.Swagger;
using Volo.Abp;
using Volo.Abp.AspNetCore.Modularity;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Autofac;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Identity.EntityFrameworkCore;
using Volo.Abp.Modularity;
using Volo.Abp.Permissions;
using Volo.Abp.Permissions.EntityFrameworkCore;
using Volo.Abp.MultiTenancy;
using Volo.Abp.MultiTenancy.EntityFrameworkCore;
namespace MicroserviceDemo.PermissionService
namespace MicroserviceDemo.TenancyService
{
[DependsOn(typeof(AbpAutofacModule))]
[DependsOn(typeof(AbpPermissionsApplicationModule))]
[DependsOn(typeof(AbpPermissionsEntityFrameworkCoreModule))]
[DependsOn(typeof(AbpAspNetCoreMvcModule))]
[DependsOn(typeof(AbpIdentityEntityFrameworkCoreModule))]
public class MicroservicesDemoPermissionServiceModule : AbpModule
[DependsOn(typeof(AbpMultiTenancyEntityFrameworkCoreModule))]
[DependsOn(typeof(AbpMultiTenancyHttpApiModule))]
public class MicroservicesDemoTenancyServiceModule : AbpModule
{
public override void ConfigureServices(IServiceCollection services)
{
@ -43,35 +40,16 @@ namespace MicroserviceDemo.PermissionService
context.DbContextOptions.UseSqlServer(context.ConnectionString);
}
});
});
//TODO: This should not be neededn when we fix the conn string name problem for interfaces
options.Configure<IdentityDbContext>(context =>
services.AddSwaggerGen(
options =>
{
context.DbContextOptions.UseSqlServer(configuration.GetConnectionString("AbpIdentity"));
options.SwaggerDoc("v1", new Info { Title = "Multi-Tenancy API", Version = "v1" });
options.DocInclusionPredicate((docName, description) => true);
});
});
services.Configure<AbpAspNetCoreMvcOptions>(options => //TODO: Will be moved to the AbpPermissionsHttpApiModule when it's available!
{
options.ConventionalControllers.Create(
typeof(AbpPermissionsApplicationModule).Assembly,
opts =>
{
opts.RootPath = "permission";
}
);
});
//services.AddSwaggerGen(
// options =>
// {
// options.SwaggerDoc("v1", new Info { Title = "Permissions API", Version = "v1" });
// options.DocInclusionPredicate((docName, description) => true);
// });
services.AddAlwaysAllowPermissionChecker(); //TODO: Remove when add authentication!
services.AddAssemblyOf<MicroservicesDemoPermissionServiceModule>();
services.AddAssemblyOf<MicroservicesDemoTenancyServiceModule>();
}
public override void OnApplicationInitialization(ApplicationInitializationContext context)
@ -80,12 +58,12 @@ namespace MicroserviceDemo.PermissionService
app.UseStaticFiles();
//app.UseSwagger();
//app.UseSwaggerUI(options =>
//{
// options.SwaggerEndpoint("/swagger/v1/swagger.json", "Permissions API");
//});
app.UseSwagger();
app.UseSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Multi-Tenancy API");
});
app.UseMvcWithDefaultRoute();
}

@ -0,0 +1,67 @@
// <auto-generated />
using MicroserviceDemo.TenancyService.Db;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Internal;
using System;
namespace MicroserviceDemo.TenancyService.Migrations
{
[DbContext(typeof(MigrationDbContext))]
[Migration("20180227101655_Added_MultiTenancy_Module")]
partial class Added_MultiTenancy_Module
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "2.0.1-rtm-125")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
modelBuilder.Entity("Volo.Abp.MultiTenancy.Tenant", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(64);
b.HasKey("Id");
b.HasIndex("Name")
.IsUnique();
b.ToTable("MtTenants");
});
modelBuilder.Entity("Volo.Abp.MultiTenancy.TenantConnectionString", b =>
{
b.Property<Guid>("TenantId");
b.Property<string>("Name")
.HasMaxLength(128);
b.Property<string>("Value")
.IsRequired()
.HasMaxLength(1024);
b.HasKey("TenantId", "Name");
b.ToTable("MtTenantConnectionStrings");
});
modelBuilder.Entity("Volo.Abp.MultiTenancy.TenantConnectionString", b =>
{
b.HasOne("Volo.Abp.MultiTenancy.Tenant")
.WithMany("ConnectionStrings")
.HasForeignKey("TenantId")
.OnDelete(DeleteBehavior.Cascade);
});
#pragma warning restore 612, 618
}
}
}

@ -0,0 +1,58 @@
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace MicroserviceDemo.TenancyService.Migrations
{
public partial class Added_MultiTenancy_Module : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "MtTenants",
columns: table => new
{
Id = table.Column<Guid>(nullable: false),
Name = table.Column<string>(maxLength: 64, nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_MtTenants", x => x.Id);
});
migrationBuilder.CreateTable(
name: "MtTenantConnectionStrings",
columns: table => new
{
TenantId = table.Column<Guid>(nullable: false),
Name = table.Column<string>(maxLength: 128, nullable: false),
Value = table.Column<string>(maxLength: 1024, nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_MtTenantConnectionStrings", x => new { x.TenantId, x.Name });
table.ForeignKey(
name: "FK_MtTenantConnectionStrings_MtTenants_TenantId",
column: x => x.TenantId,
principalTable: "MtTenants",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateIndex(
name: "IX_MtTenants_Name",
table: "MtTenants",
column: "Name",
unique: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "MtTenantConnectionStrings");
migrationBuilder.DropTable(
name: "MtTenants");
}
}
}

@ -1,5 +1,5 @@
// <auto-generated />
using MicroserviceDemo.PermissionService.Db;
using MicroserviceDemo.TenancyService.Db;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Internal;
using System;
namespace MicroserviceDemo.PermissionService.Migrations
namespace MicroserviceDemo.TenancyService.Migrations
{
[DbContext(typeof(MigrationDbContext))]
partial class MigrationDbContextModelSnapshot : ModelSnapshot
@ -20,30 +20,45 @@ namespace MicroserviceDemo.PermissionService.Migrations
.HasAnnotation("ProductVersion", "2.0.1-rtm-125")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
modelBuilder.Entity("Volo.Abp.Permissions.PermissionGrant", b =>
modelBuilder.Entity("Volo.Abp.MultiTenancy.Tenant", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(128);
b.Property<string>("ProviderKey")
.IsRequired()
.HasMaxLength(64);
b.Property<string>("ProviderName")
.IsRequired()
.HasMaxLength(64);
b.HasKey("Id");
b.Property<Guid?>("TenantId");
b.HasIndex("Name")
.IsUnique();
b.HasKey("Id");
b.ToTable("MtTenants");
});
modelBuilder.Entity("Volo.Abp.MultiTenancy.TenantConnectionString", b =>
{
b.Property<Guid>("TenantId");
b.HasIndex("Name", "ProviderName", "ProviderKey");
b.Property<string>("Name")
.HasMaxLength(128);
b.Property<string>("Value")
.IsRequired()
.HasMaxLength(1024);
b.ToTable("AbpPermissionGrants");
b.HasKey("TenantId", "Name");
b.ToTable("MtTenantConnectionStrings");
});
modelBuilder.Entity("Volo.Abp.MultiTenancy.TenantConnectionString", b =>
{
b.HasOne("Volo.Abp.MultiTenancy.Tenant")
.WithMany("ConnectionStrings")
.HasForeignKey("TenantId")
.OnDelete(DeleteBehavior.Cascade);
});
#pragma warning restore 612, 618
}

@ -1,22 +1,36 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Serilog;
using Volo.Abp;
namespace MicroserviceDemo.TenancyService
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
public IServiceProvider ConfigureServices(IServiceCollection services)
{
services.AddApplication<MicroservicesDemoTenancyServiceModule>(options =>
{
options.UseAutofac();
});
return services.BuildServiceProviderFromFactory();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
{
app.Run(async (context) =>
{
await context.Response.WriteAsync("Tenancy microservice!");
});
loggerFactory
.AddConsole()
.AddDebug()
.AddSerilog(new LoggerConfiguration()
.Enrich.FromLogContext()
.WriteTo.RollingFile("Logs/logs.txt")
.CreateLogger()
);
app.InitializeApplication();
}
}
}

@ -0,0 +1,5 @@
{
"ConnectionStrings": {
"Default": "Server=localhost;Database=MicroservicesDemo.Permissions;Trusted_Connection=True;MultipleActiveResultSets=true"
}
}

@ -0,0 +1,200 @@
2018-02-27 13:34:15.207 +03:00 [Information] Loaded modules:
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Castle.AbpCastleCoreModule
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Autofac.AbpAutofacModule
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Http.AbpHttpAbstractionsModule
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Timing.AbpTimingModule
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Json.AbpJsonModule
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Http.AbpHttpModule
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Http.Client.AbpHttpClientModule
2018-02-27 13:34:15.255 +03:00 [Information] - Volo.Abp.Security.AbpSecurityModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.Authorization.AbpAuthorizationModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.Guids.AbpGuidsModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.Data.AbpDataModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.Settings.AbpSettingsModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.Threading.AbpThreadingModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.EventBus.AbpEventBusModule
2018-02-27 13:34:15.256 +03:00 [Information] - Volo.Abp.Validation.AbpValidationModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.AbpDddModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Permissions.AbpPermissionsDomainSharedModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Serialization.AbpSerializationModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Caching.AbpCachingModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Permissions.AbpPermissionsDomainModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Localization.AbpLocalizationModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Session.AbpSessionModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.AbpCommonModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Permissions.EntityFrameworkCore.AbpPermissionsEntityFrameworkCoreModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Identity.AbpIdentityDomainModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Permissions.AbpPermissionsApplicationContractsModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Permissions.AbpPermissionsApplicationModule
2018-02-27 13:34:15.257 +03:00 [Information] - Volo.Abp.Identity.AbpIdentityApplicationModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Ui.AbpUiModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Identity.AbpIdentityHttpApiModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Ui.Navigation.AbpUiNavigationModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcUiModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Permissions.Web.AbpPermissionsWebModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Identity.Web.AbpIdentityWebModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Identity.EntityFrameworkCore.AbpIdentityEntityFrameworkCoreModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Account.AbpAccountApplicationContractsModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.Account.Web.AbpAccountWebModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyDomainSharedModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyApplicationContractsModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.MultiTenancy.AbpMultiTenancyHttpApiClientModule
2018-02-27 13:34:15.258 +03:00 [Information] - Volo.Abp.MultiTenancy.Web.AbpMultiTenancyWebModule
2018-02-27 13:34:15.258 +03:00 [Information] - MicroserviceDemo.Web.MicroservicesDemoWebModule
2018-02-27 13:34:15.958 +03:00 [Information] Initialized all modules.
2018-02-27 13:34:16.193 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/
2018-02-27 13:34:16.241 +03:00 [Information] "Identity.Application" was not authenticated. Failure message: "Unprotect ticket failed"
2018-02-27 13:34:19.526 +03:00 [Information] Executing handler method "OnGet" with arguments (null) - ModelState is Valid
2018-02-27 13:34:20.589 +03:00 [Information] Executed action "/Index" in 1070.9466ms
2018-02-27 13:34:20.594 +03:00 [Information] Request finished in 4417.4723ms 200 text/html; charset=utf-8
2018-02-27 13:34:20.623 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/font-awesome/css/font-awesome-min.css
2018-02-27 13:34:20.630 +03:00 [Information] Sending file. Request path: '"/libs/font-awesome/css/font-awesome-min.css"'. Physical path: '"/wwwroot/libs/font_awesome/css/font-awesome-min.css"'
2018-02-27 13:34:20.632 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/datatables/datatables.css
2018-02-27 13:34:20.632 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/material/css/material-min.css
2018-02-27 13:34:20.632 +03:00 [Information] Sending file. Request path: '"/libs/datatables/datatables.css"'. Physical path: '"/wwwroot/libs/datatables/datatables.css"'
2018-02-27 13:34:20.633 +03:00 [Information] Sending file. Request path: '"/libs/material/css/material-min.css"'. Physical path: '"/wwwroot/libs/material/css/material-min.css"'
2018-02-27 13:34:20.635 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/styles/libs/datatables.css
2018-02-27 13:34:20.635 +03:00 [Information] Request finished in 3.2773ms 200 text/css
2018-02-27 13:34:20.635 +03:00 [Information] Request finished in 12.2568ms 200 text/css
2018-02-27 13:34:20.635 +03:00 [Information] Sending file. Request path: '"/styles/libs/datatables.css"'. Physical path: '"/wwwroot/styles/libs/datatables.css"'
2018-02-27 13:34:20.636 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/abp/abp.js?_v636553352599936541
2018-02-27 13:34:20.636 +03:00 [Information] Request finished in 0.8308ms 200 text/css
2018-02-27 13:34:20.636 +03:00 [Information] Sending file. Request path: '"/libs/abp/abp.js"'. Physical path: '"/wwwroot/libs/abp/abp.js"'
2018-02-27 13:34:20.635 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/views/shared/_AppLayout.css
2018-02-27 13:34:20.644 +03:00 [Information] Request finished in 9.2146ms 200 application/javascript
2018-02-27 13:34:20.645 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery/jquery-3-1-1-min.js
2018-02-27 13:34:20.648 +03:00 [Information] Sending file. Request path: '"/libs/jquery/jquery-3-1-1-min.js"'. Physical path: '"/wwwroot/libs/jquery/jquery-3-1-1-min.js"'
2018-02-27 13:34:20.653 +03:00 [Information] Sending file. Request path: '"/views/shared/_AppLayout.css"'. Physical path: '"/wwwroot/views/shared/_AppLayout.css"'
2018-02-27 13:34:20.655 +03:00 [Information] Request finished in 22.6958ms 200 text/css
2018-02-27 13:34:20.655 +03:00 [Information] Request finished in 9.6354ms 200 application/javascript
2018-02-27 13:34:20.656 +03:00 [Information] Request finished in 19.6305ms 200 text/css
2018-02-27 13:34:20.662 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery-validation/jquery-validate.js
2018-02-27 13:34:20.664 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/bootstrap/js/bootstrap-bundle-min.js
2018-02-27 13:34:20.664 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery-validation-unobtrusive/jquery-validate-unobtrusive.js
2018-02-27 13:34:20.665 +03:00 [Information] Sending file. Request path: '"/libs/bootstrap/js/bootstrap-bundle-min.js"'. Physical path: '"/wwwroot/libs/bootstrap/js/bootstrap-bundle-min.js"'
2018-02-27 13:34:20.665 +03:00 [Information] Sending file. Request path: '"/libs/jquery-validation-unobtrusive/jquery-validate-unobtrusive.js"'. Physical path: '"/wwwroot/libs/jquery_validation_unobtrusive/jquery-validate-unobtrusive.js"'
2018-02-27 13:34:20.666 +03:00 [Information] Sending file. Request path: '"/libs/jquery-validation/jquery-validate.js"'. Physical path: '"/wwwroot/libs/jquery_validation/jquery-validate.js"'
2018-02-27 13:34:20.667 +03:00 [Information] Request finished in 1.4223ms 200 application/javascript
2018-02-27 13:34:20.668 +03:00 [Information] Request finished in 6.1061ms 200 application/javascript
2018-02-27 13:34:20.670 +03:00 [Information] Request finished in 4.8121ms 200 application/javascript
2018-02-27 13:34:20.670 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery-form/jquery-form-min.js
2018-02-27 13:34:20.671 +03:00 [Information] Sending file. Request path: '"/libs/jquery-form/jquery-form-min.js"'. Physical path: '"/wwwroot/libs/jquery_form/jquery-form-min.js"'
2018-02-27 13:34:20.671 +03:00 [Information] Request finished in 1.7994ms 200 application/javascript
2018-02-27 13:34:20.679 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/material/js/material-min.js
2018-02-27 13:34:20.680 +03:00 [Information] Sending file. Request path: '"/libs/material/js/material-min.js"'. Physical path: '"/wwwroot/libs/material/js/material-min.js"'
2018-02-27 13:34:20.681 +03:00 [Information] Request finished in 3.188ms 200 application/javascript
2018-02-27 13:34:20.688 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/abp/abp-jquery.js?_v636553352599967745
2018-02-27 13:34:20.688 +03:00 [Information] Sending file. Request path: '"/libs/abp/abp-jquery.js"'. Physical path: '"/wwwroot/libs/abp/abp-jquery.js"'
2018-02-27 13:34:20.689 +03:00 [Information] Request finished in 0.7534ms 200 application/javascript
2018-02-27 13:34:20.694 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/Abp/ServiceProxyScript?_v=636553352599971431
2018-02-27 13:34:20.695 +03:00 [Information] "Identity.Application" was not authenticated. Failure message: "Unprotect ticket failed"
2018-02-27 13:34:20.699 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/Abp/ApplicationConfigurationScript?_v=636553352599971401
2018-02-27 13:34:20.700 +03:00 [Information] "Identity.Application" was not authenticated. Failure message: "Unprotect ticket failed"
2018-02-27 13:34:20.706 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/datatables/datatables-min.js
2018-02-27 13:34:20.707 +03:00 [Information] Sending file. Request path: '"/libs/datatables/datatables-min.js"'. Physical path: '"/wwwroot/libs/datatables/datatables-min.js"'
2018-02-27 13:34:20.710 +03:00 [Information] Request finished in 3.5335ms 200 application/javascript
2018-02-27 13:34:20.715 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/vue/vue.js
2018-02-27 13:34:20.715 +03:00 [Information] Sending file. Request path: '"/libs/vue/vue.js"'. Physical path: '"/wwwroot/libs/vue/vue.js"'
2018-02-27 13:34:20.731 +03:00 [Information] Request finished in 17.8383ms 200 application/javascript
2018-02-27 13:34:20.793 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)" with arguments (null) - ModelState is Valid
2018-02-27 13:34:20.819 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)" with arguments (["Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel"]) - ModelState is Valid
2018-02-27 13:34:21.062 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:34:21.063 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)" in 347.9411ms
2018-02-27 13:34:21.063 +03:00 [Information] Request finished in 364.4316ms 200 text/plain; charset=utf-8
2018-02-27 13:34:21.108 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:34:21.108 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)" in 338.0393ms
2018-02-27 13:34:21.109 +03:00 [Information] Request finished in 415.279ms 200 text/plain; charset=utf-8
2018-02-27 13:34:31.486 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/MultiTenancy/Tenants
2018-02-27 13:34:31.487 +03:00 [Information] "Identity.Application" was not authenticated. Failure message: "Unprotect ticket failed"
2018-02-27 13:34:31.699 +03:00 [Information] Executing handler method "OnGet" with arguments (null) - ModelState is Valid
2018-02-27 13:34:31.729 +03:00 [Information] Executed action "/MultiTenancy/Tenants/Index" in 31.1206ms
2018-02-27 13:34:31.730 +03:00 [Information] Request finished in 243.9251ms 200 text/html; charset=utf-8
2018-02-27 13:34:31.770 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/font-awesome/css/font-awesome-min.css
2018-02-27 13:34:31.771 +03:00 [Information] Sending file. Request path: '"/libs/font-awesome/css/font-awesome-min.css"'. Physical path: '"/wwwroot/libs/font_awesome/css/font-awesome-min.css"'
2018-02-27 13:34:31.771 +03:00 [Information] Request finished in 1.2144ms 200 text/css
2018-02-27 13:34:31.773 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/material/css/material-min.css
2018-02-27 13:34:31.773 +03:00 [Information] Sending file. Request path: '"/libs/material/css/material-min.css"'. Physical path: '"/wwwroot/libs/material/css/material-min.css"'
2018-02-27 13:34:31.776 +03:00 [Information] Request finished in 2.9729ms 200 text/css
2018-02-27 13:34:31.788 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/datatables/datatables.css
2018-02-27 13:34:31.789 +03:00 [Information] Sending file. Request path: '"/libs/datatables/datatables.css"'. Physical path: '"/wwwroot/libs/datatables/datatables.css"'
2018-02-27 13:34:31.789 +03:00 [Information] Request finished in 1.7875ms 200 text/css
2018-02-27 13:34:31.789 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/styles/libs/datatables.css
2018-02-27 13:34:31.790 +03:00 [Information] Sending file. Request path: '"/styles/libs/datatables.css"'. Physical path: '"/wwwroot/styles/libs/datatables.css"'
2018-02-27 13:34:31.790 +03:00 [Information] Request finished in 1.4056ms 200 text/css
2018-02-27 13:34:31.793 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/views/shared/_AppLayout.css
2018-02-27 13:34:31.794 +03:00 [Information] Sending file. Request path: '"/views/shared/_AppLayout.css"'. Physical path: '"/wwwroot/views/shared/_AppLayout.css"'
2018-02-27 13:34:31.795 +03:00 [Information] Request finished in 1.4702ms 200 text/css
2018-02-27 13:34:31.796 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/modules/multi-tenancy/views/tenants/index.css
2018-02-27 13:34:31.797 +03:00 [Information] Sending file. Request path: '"/modules/multi-tenancy/views/tenants/index.css"'. Physical path: '"/wwwroot/modules/multi_tenancy/views/tenants/index.css"'
2018-02-27 13:34:31.798 +03:00 [Information] Request finished in 1.527ms 200 text/css
2018-02-27 13:34:31.806 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery-validation-unobtrusive/jquery-validate-unobtrusive.js
2018-02-27 13:34:31.807 +03:00 [Information] Sending file. Request path: '"/libs/jquery-validation-unobtrusive/jquery-validate-unobtrusive.js"'. Physical path: '"/wwwroot/libs/jquery_validation_unobtrusive/jquery-validate-unobtrusive.js"'
2018-02-27 13:34:31.808 +03:00 [Information] Request finished in 1.4642ms 200 application/javascript
2018-02-27 13:34:31.809 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery/jquery-3-1-1-min.js
2018-02-27 13:34:31.810 +03:00 [Information] Sending file. Request path: '"/libs/jquery/jquery-3-1-1-min.js"'. Physical path: '"/wwwroot/libs/jquery/jquery-3-1-1-min.js"'
2018-02-27 13:34:31.811 +03:00 [Information] Request finished in 2.2292ms 200 application/javascript
2018-02-27 13:34:31.818 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/bootstrap/js/bootstrap-bundle-min.js
2018-02-27 13:34:31.818 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery-form/jquery-form-min.js
2018-02-27 13:34:31.819 +03:00 [Information] Sending file. Request path: '"/libs/jquery-form/jquery-form-min.js"'. Physical path: '"/wwwroot/libs/jquery_form/jquery-form-min.js"'
2018-02-27 13:34:31.819 +03:00 [Information] Sending file. Request path: '"/libs/bootstrap/js/bootstrap-bundle-min.js"'. Physical path: '"/wwwroot/libs/bootstrap/js/bootstrap-bundle-min.js"'
2018-02-27 13:34:31.819 +03:00 [Information] Request finished in 0.9831ms 200 application/javascript
2018-02-27 13:34:31.820 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/abp/abp.js?_v636553352599936541
2018-02-27 13:34:31.822 +03:00 [Information] Request finished in 3.3868ms 200 application/javascript
2018-02-27 13:34:31.823 +03:00 [Information] Sending file. Request path: '"/libs/abp/abp.js"'. Physical path: '"/wwwroot/libs/abp/abp.js"'
2018-02-27 13:34:31.823 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/jquery-validation/jquery-validate.js
2018-02-27 13:34:31.824 +03:00 [Information] Request finished in 4.2883ms 200 application/javascript
2018-02-27 13:34:31.826 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/material/js/material-min.js
2018-02-27 13:34:31.826 +03:00 [Information] Sending file. Request path: '"/libs/material/js/material-min.js"'. Physical path: '"/wwwroot/libs/material/js/material-min.js"'
2018-02-27 13:34:31.827 +03:00 [Information] Request finished in 0.9129ms 200 application/javascript
2018-02-27 13:34:31.827 +03:00 [Information] Sending file. Request path: '"/libs/jquery-validation/jquery-validate.js"'. Physical path: '"/wwwroot/libs/jquery_validation/jquery-validate.js"'
2018-02-27 13:34:31.828 +03:00 [Information] Request finished in 4.8382ms 200 application/javascript
2018-02-27 13:34:31.835 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/datatables/datatables-min.js
2018-02-27 13:34:31.836 +03:00 [Information] Sending file. Request path: '"/libs/datatables/datatables-min.js"'. Physical path: '"/wwwroot/libs/datatables/datatables-min.js"'
2018-02-27 13:34:31.837 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/abp/abp-jquery.js?_v636553352599967745
2018-02-27 13:34:31.838 +03:00 [Information] Sending file. Request path: '"/libs/abp/abp-jquery.js"'. Physical path: '"/wwwroot/libs/abp/abp-jquery.js"'
2018-02-27 13:34:31.839 +03:00 [Information] Request finished in 3.773ms 200 application/javascript
2018-02-27 13:34:31.840 +03:00 [Information] Request finished in 5.6349ms 200 application/javascript
2018-02-27 13:34:31.840 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/vue/vue.js
2018-02-27 13:34:31.841 +03:00 [Information] Sending file. Request path: '"/libs/vue/vue.js"'. Physical path: '"/wwwroot/libs/vue/vue.js"'
2018-02-27 13:34:31.846 +03:00 [Information] Request finished in 12.0396ms 200 application/javascript
2018-02-27 13:34:31.847 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/Abp/ServiceProxyScript?_v=636553352599971431
2018-02-27 13:34:31.849 +03:00 [Information] "Identity.Application" was not authenticated. Failure message: "Unprotect ticket failed"
2018-02-27 13:34:31.849 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/Abp/ApplicationConfigurationScript?_v=636553352599971401
2018-02-27 13:34:31.851 +03:00 [Information] "Identity.Application" was not authenticated. Failure message: "Unprotect ticket failed"
2018-02-27 13:34:31.853 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)" with arguments (null) - ModelState is Valid
2018-02-27 13:34:31.856 +03:00 [Information] Executing action method "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)" with arguments (["Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel"]) - ModelState is Valid
2018-02-27 13:34:31.857 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:34:31.857 +03:00 [Information] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext".
2018-02-27 13:34:31.857 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)" in 5.5211ms
2018-02-27 13:34:31.857 +03:00 [Information] Executed action "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)" in 3.8867ms
2018-02-27 13:34:31.857 +03:00 [Information] Request finished in 9.9741ms 200 text/plain; charset=utf-8
2018-02-27 13:34:31.858 +03:00 [Information] Request finished in 9.1068ms 200 text/plain; charset=utf-8
2018-02-27 13:34:31.863 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/abp/helpers/jquery.js
2018-02-27 13:34:31.863 +03:00 [Information] Sending file. Request path: '"/abp/helpers/jquery.js"'. Physical path: '"/wwwroot/abp/helpers/jquery.js"'
2018-02-27 13:34:31.864 +03:00 [Information] Request finished in 1.4881ms 200 application/javascript
2018-02-27 13:34:31.952 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/abp/helpers/datatables.extensions.js
2018-02-27 13:34:31.953 +03:00 [Information] Sending file. Request path: '"/abp/helpers/datatables.extensions.js"'. Physical path: '"/wwwroot/abp/helpers/datatables/extensions.js"'
2018-02-27 13:34:31.953 +03:00 [Information] Request finished in 0.9318ms 200 application/javascript
2018-02-27 13:34:31.958 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/abp/helpers/ResourceLoader.js
2018-02-27 13:34:31.958 +03:00 [Information] Sending file. Request path: '"/abp/helpers/ResourceLoader.js"'. Physical path: '"/wwwroot/abp/helpers/ResourceLoader.js"'
2018-02-27 13:34:31.959 +03:00 [Information] Request finished in 1.1712ms 200 application/javascript
2018-02-27 13:34:31.966 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/abp/helpers/ModalManager.js
2018-02-27 13:34:31.966 +03:00 [Information] Sending file. Request path: '"/abp/helpers/ModalManager.js"'. Physical path: '"/wwwroot/abp/helpers/ModalManager.js"'
2018-02-27 13:34:31.966 +03:00 [Information] Request finished in 0.7778ms 200 application/javascript
2018-02-27 13:34:31.978 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/modules/multi-tenancy/views/tenants/index.js
2018-02-27 13:34:31.978 +03:00 [Information] Sending file. Request path: '"/modules/multi-tenancy/views/tenants/index.js"'. Physical path: '"/wwwroot/modules/multi_tenancy/views/tenants/index.js"'
2018-02-27 13:34:31.979 +03:00 [Information] Request finished in 1.1379ms 200 application/javascript
2018-02-27 13:34:32.236 +03:00 [Information] Request starting HTTP/1.1 GET http://localhost:61144/libs/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0
2018-02-27 13:34:32.237 +03:00 [Information] Sending file. Request path: '"/libs/font-awesome/fonts/fontawesome-webfont.woff2"'. Physical path: '"/wwwroot/libs/font_awesome/fonts/fontawesome-webfont.woff2"'
2018-02-27 13:34:32.238 +03:00 [Information] Request finished in 1.976ms 200 font/woff2

@ -24,8 +24,9 @@
<ProjectReference Include="..\..\Volo.Abp.Identity.EntityFrameworkCore\Volo.Abp.Identity.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Identity.HttpApi\Volo.Abp.Identity.HttpApi.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Identity.Web\Volo.Abp.Identity.Web.csproj" />
<ProjectReference Include="..\..\Volo.Abp.MultiTenancy.HttpApi.Client\Volo.Abp.MultiTenancy.HttpApi.Client.csproj" />
<ProjectReference Include="..\..\Volo.Abp.MultiTenancy.Web\Volo.Abp.MultiTenancy.Web.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Permissions.EntityFrameworkCore\Volo.Abp.Permissions.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\Volo.Abp.Permissions.Web\Volo.Abp.Permissions.Web.csproj" />
</ItemGroup>
</Project>

@ -16,9 +16,10 @@ using Volo.Abp.Identity;
using Volo.Abp.Identity.EntityFrameworkCore;
using Volo.Abp.Identity.Web;
using Volo.Abp.Modularity;
using Volo.Abp.MultiTenancy;
using Volo.Abp.MultiTenancy.Web;
using Volo.Abp.Permissions;
using Volo.Abp.Permissions.EntityFrameworkCore;
using Volo.Abp.Permissions.Web;
namespace MicroserviceDemo.Web
{
@ -29,7 +30,8 @@ namespace MicroserviceDemo.Web
[DependsOn(typeof(AbpIdentityWebModule))]
[DependsOn(typeof(AbpIdentityEntityFrameworkCoreModule))]
[DependsOn(typeof(AbpAccountWebModule))]
[DependsOn(typeof(AbpPermissionsWebModule))]
[DependsOn(typeof(AbpMultiTenancyHttpApiClientModule))]
[DependsOn(typeof(AbpMultiTenancyWebModule))]
public class MicroservicesDemoWebModule : AbpModule
{
public override void PreConfigureServices(IServiceCollection services)

@ -4,8 +4,8 @@
"AbpPermissions": "Server=localhost;Database=MicroservicesDemo.Permissions;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"RemoteServices": {
"AbpPermissions": {
"BaseUrl": "http://localhost:63908/"
"AbpMultiTenancy": {
"BaseUrl": "http://localhost:63877/"
}
}
}

@ -17,7 +17,14 @@ namespace Volo.Abp.Authorization
public override void Intercept(IAbpMethodInvocation invocation)
{
AsyncHelper.RunSync(() => InterceptAsync(invocation));
if (AbpCrossCuttingConcerns.IsApplied(invocation.TargetObject, AbpCrossCuttingConcerns.Authorization))
{
invocation.Proceed();
return;
}
AsyncHelper.RunSync(() => AuthorizeAsync(invocation));
invocation.Proceed();
}
public override async Task InterceptAsync(IAbpMethodInvocation invocation)

@ -0,0 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Volo.Abp.MultiTenancy.HttpApi.Client</AssemblyName>
<PackageId>Volo.Abp.MultiTenancy.HttpApi.Client</PackageId>
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<RootNamespace />
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Volo.Abp.Http.Client\Volo.Abp.Http.Client.csproj" />
<ProjectReference Include="..\Volo.Abp.MultiTenancy.Application.Contracts\Volo.Abp.MultiTenancy.Application.Contracts.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Net.Http" Version="4.3.3" />
</ItemGroup>
</Project>

@ -0,0 +1,22 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Http.Client;
using Volo.Abp.Modularity;
namespace Volo.Abp.MultiTenancy
{
[DependsOn(typeof(AbpMultiTenancyApplicationContractsModule), typeof(AbpHttpClientModule))]
public class AbpMultiTenancyHttpApiClientModule : AbpModule
{
public const string RemoteServiceName = "AbpMultiTenancy";
public override void ConfigureServices(IServiceCollection services)
{
services.AddHttpClientProxies(
typeof(AbpMultiTenancyApplicationContractsModule).Assembly,
RemoteServiceName
);
services.AddAssemblyOf<AbpMultiTenancyHttpApiClientModule>();
}
}
}
Loading…
Cancel
Save