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