fix issues and build and run Successfully ...

This commit is contained in:
2026-07-29 09:05:36 +03:30
parent 7dd333f013
commit 9caf46a266
10 changed files with 66 additions and 460 deletions
+22 -7
View File
@@ -1,31 +1,45 @@
using System;
using System.IO;
using System.Linq;
using xTagService.DI;
using xHttpService.DI;
using System.Net.Http;
using xAiApi.Database;
using xHttpService.DI;
using xPushService.DI;
using xFileService.DI;
using xDataService.DI;
using xPushService.DI;
using Newtonsoft.Json;
using System.Reflection;
using xAiApi.Extensions;
using xStringService.DI;
using xStorageService.DI;
using xCommons.Extensions;
using xDataService.Models;
using xIdentityService.DI;
using xPushService.Helpers;
using xDataService.Models;
using xCommons.Extensions;
using xCommons.Configurations;
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json.Serialization;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using IdentityModel.AspNetCore.OAuth2Introspection;
using xPushService.Helpers;
namespace xAiApi
{
public class Startup
{
//
#region Props ...
public IConfiguration Configuration { get; }
private readonly List<XDatabaseDescriptor> databases;
private readonly XAiApiDatabaseDescriptor apiDatabaseDescriptor;
#endregion
//
#region Constructor(s) ...
public Startup(IConfiguration configuration)
{
//
@@ -39,6 +53,7 @@ namespace xAiApi
apiDatabaseDescriptor
};
}
#endregion
public void ConfigureServices(IServiceCollection services)
{
@@ -200,7 +215,7 @@ namespace xAiApi
//
// Use Storage Service ...
app.UseXStorageService();
//
// Use PushService ...
var pushHelper = new XPushServiceHelper();
@@ -242,4 +257,4 @@ namespace xAiApi
);
}
}
}
}