Compare commits
1
Commits
cab6c6f717
...
8e106576c0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e106576c0 |
@@ -5,6 +5,7 @@ using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using xCategoryService.DI;
|
||||
using xCommons.Extensions;
|
||||
using xContentService.DI;
|
||||
using xDataService.DI;
|
||||
using xDataService.Models;
|
||||
using xFileService.DI;
|
||||
@@ -215,6 +216,12 @@ namespace xServices.DI
|
||||
isDevelopmentEnvironment: isDevelopmentEnvironment
|
||||
);
|
||||
|
||||
//
|
||||
// Using Content Service ...
|
||||
app.UseXContentService(
|
||||
isDevelopmentEnvironment: isDevelopmentEnvironment
|
||||
);
|
||||
|
||||
//
|
||||
// Using XWebinar Service ...
|
||||
app.UsexWebinarService(
|
||||
@@ -346,6 +353,14 @@ namespace xServices.DI
|
||||
repositoryType: repositoryType
|
||||
);
|
||||
|
||||
//
|
||||
// Register Content Service ...
|
||||
// services.AddXContentServiceConfiguration(configuration);
|
||||
services.AddXContentService<XApiDbContext>(
|
||||
lifeTime: lifeTime,
|
||||
repositoryType: repositoryType
|
||||
);
|
||||
|
||||
//
|
||||
// Register Webinar Service ...
|
||||
services.AddXWebinarService<XApiDbContext>(
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using xCategoryService.Providers;
|
||||
using xContentService.Providers;
|
||||
using xDataService.Configuration;
|
||||
using xDataService.Db;
|
||||
using xDataService.Providers;
|
||||
@@ -8,7 +9,6 @@ using xServices.Models.Entities;
|
||||
using xStringService.Providers;
|
||||
using xTagService.Providers;
|
||||
using xWebinarService.Providers;
|
||||
// using xStringService.Models.Entities;
|
||||
|
||||
namespace xServices.Databases
|
||||
{
|
||||
@@ -36,6 +36,7 @@ namespace xServices.Databases
|
||||
nameof(XTagEntityRegisterar),
|
||||
nameof(XFileEntityRegisterar),
|
||||
nameof(XStringEntityRegisterar),
|
||||
nameof(XContentEntityRegisterar),
|
||||
nameof(XWebinarEntityRegisterar),
|
||||
nameof(XCategoryEntityRegisterar),
|
||||
nameof(XSubCategoryEntityRegisterar),
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
<ProjectReference Include="..\xTagService\xTagService.csproj" />
|
||||
<ProjectReference Include="..\xFileService\xFileService.csproj" />
|
||||
<ProjectReference Include="..\xStringService\xStringService.csproj" />
|
||||
<ProjectReference Include="..\XContentService\XContentService.csproj" />
|
||||
<ProjectReference Include="..\xIdentityHelper\xIdentityHelper.csproj" />
|
||||
<ProjectReference Include="..\xMessageService\xMessageService.csproj" />
|
||||
<ProjectReference Include="..\xStorageService\xStorageService.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user