diff --git a/EventHub.sln b/EventHub.sln
index 10aba77..cae575c 100644
--- a/EventHub.sln
+++ b/EventHub.sln
@@ -47,8 +47,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "admin", "admin", "{7016C0D2
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{81F0EB50-4CF9-402D-B723-A07E95F8D7CB}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "api", "api", "{7341ED49-ACA0-40BD-8AD9-2DF63DE06677}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "account", "account", "{BAA6ED88-6783-48EF-8691-46F4BED14023}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "www", "www", "{F8CF0FE2-9F75-4940-92EC-3D021416DEBF}"
@@ -67,6 +65,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHub.Admin.HttpApi.Clie
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHub.Web.Theme", "src\EventHub.Web.Theme\EventHub.Web.Theme.csproj", "{69BC428E-5C49-4391-9985-0D15523D6922}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHub.Admin.HttpApi.Host", "src\EventHub.Admin.HttpApi.Host\EventHub.Admin.HttpApi.Host.csproj", "{1434105B-DE2C-4AA2-A865-EBA0DBCCA5B0}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -165,6 +165,10 @@ Global
{69BC428E-5C49-4391-9985-0D15523D6922}.Debug|Any CPU.Build.0 = Debug|Any CPU
{69BC428E-5C49-4391-9985-0D15523D6922}.Release|Any CPU.ActiveCfg = Release|Any CPU
{69BC428E-5C49-4391-9985-0D15523D6922}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1434105B-DE2C-4AA2-A865-EBA0DBCCA5B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1434105B-DE2C-4AA2-A865-EBA0DBCCA5B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1434105B-DE2C-4AA2-A865-EBA0DBCCA5B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1434105B-DE2C-4AA2-A865-EBA0DBCCA5B0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -179,8 +183,6 @@ Global
{42F719ED-8413-4895-B5B4-5AB56079BC66} = {81F0EB50-4CF9-402D-B723-A07E95F8D7CB}
{C956DD76-69C8-4A9C-83EA-D17DF83340FD} = {81F0EB50-4CF9-402D-B723-A07E95F8D7CB}
{0372FA84-C517-4EB3-9A9F-B9ACAC0CA5E0} = {81F0EB50-4CF9-402D-B723-A07E95F8D7CB}
- {7341ED49-ACA0-40BD-8AD9-2DF63DE06677} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
- {E6D5BF0E-DE92-4D82-A352-EF04B37CB11C} = {7341ED49-ACA0-40BD-8AD9-2DF63DE06677}
{BAA6ED88-6783-48EF-8691-46F4BED14023} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
{073C361E-B8F4-49F5-93CC-72A3FF49C026} = {BAA6ED88-6783-48EF-8691-46F4BED14023}
{F8CF0FE2-9F75-4940-92EC-3D021416DEBF} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
@@ -200,6 +202,8 @@ Global
{72F85686-311E-4411-8A71-103F4A226DDD} = {7016C0D2-D0D5-498B-9FA7-8ABA8F5C39EF}
{C6E4194E-229D-49C9-BDC0-A3E79FD0F50E} = {7016C0D2-D0D5-498B-9FA7-8ABA8F5C39EF}
{69BC428E-5C49-4391-9985-0D15523D6922} = {F8CF0FE2-9F75-4940-92EC-3D021416DEBF}
+ {E6D5BF0E-DE92-4D82-A352-EF04B37CB11C} = {F8CF0FE2-9F75-4940-92EC-3D021416DEBF}
+ {1434105B-DE2C-4AA2-A865-EBA0DBCCA5B0} = {7016C0D2-D0D5-498B-9FA7-8ABA8F5C39EF}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6AAFA1C6-603E-13FA-45E5-7910AA9F661D}
diff --git a/src/EventHub.Admin.HttpApi.Host/EventHub.Admin.HttpApi.Host.csproj b/src/EventHub.Admin.HttpApi.Host/EventHub.Admin.HttpApi.Host.csproj
new file mode 100644
index 0000000..f685184
--- /dev/null
+++ b/src/EventHub.Admin.HttpApi.Host/EventHub.Admin.HttpApi.Host.csproj
@@ -0,0 +1,7 @@
+
+
+
+ net5.0
+
+
+
diff --git a/src/EventHub.Admin.HttpApi.Host/Program.cs b/src/EventHub.Admin.HttpApi.Host/Program.cs
new file mode 100644
index 0000000..b1053e6
--- /dev/null
+++ b/src/EventHub.Admin.HttpApi.Host/Program.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.Hosting;
+using Microsoft.Extensions.Logging;
+
+namespace EventHub.Admin.HttpApi.Host
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ CreateHostBuilder(args).Build().Run();
+ }
+
+ public static IHostBuilder CreateHostBuilder(string[] args) =>
+ Host.CreateDefaultBuilder(args)
+ .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); });
+ }
+}
\ No newline at end of file
diff --git a/src/EventHub.Admin.HttpApi.Host/Properties/launchSettings.json b/src/EventHub.Admin.HttpApi.Host/Properties/launchSettings.json
new file mode 100644
index 0000000..202059c
--- /dev/null
+++ b/src/EventHub.Admin.HttpApi.Host/Properties/launchSettings.json
@@ -0,0 +1,28 @@
+{
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:4858",
+ "sslPort": 44305
+ }
+ },
+ "profiles": {
+ "IIS Express": {
+ "commandName": "IISExpress",
+ "launchBrowser": true,
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "EventHub.Admin.HttpApi.Host": {
+ "commandName": "Project",
+ "dotnetRunMessages": "true",
+ "launchBrowser": true,
+ "applicationUrl": "https://localhost:5001;http://localhost:5000",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ }
+ }
+}
diff --git a/src/EventHub.Admin.HttpApi.Host/Startup.cs b/src/EventHub.Admin.HttpApi.Host/Startup.cs
new file mode 100644
index 0000000..c915933
--- /dev/null
+++ b/src/EventHub.Admin.HttpApi.Host/Startup.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.AspNetCore.Http;
+using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.Hosting;
+
+namespace EventHub.Admin.HttpApi.Host
+{
+ public class Startup
+ {
+ // This method gets called by the runtime. Use this method to add services to the container.
+ // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
+ public void ConfigureServices(IServiceCollection services)
+ {
+ }
+
+ // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
+ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
+ {
+ if (env.IsDevelopment())
+ {
+ app.UseDeveloperExceptionPage();
+ }
+
+ app.UseRouting();
+
+ app.UseEndpoints(endpoints =>
+ {
+ endpoints.MapGet("/", async context => { await context.Response.WriteAsync("Hello World!"); });
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/EventHub.Admin.HttpApi.Host/appsettings.Development.json b/src/EventHub.Admin.HttpApi.Host/appsettings.Development.json
new file mode 100644
index 0000000..8983e0f
--- /dev/null
+++ b/src/EventHub.Admin.HttpApi.Host/appsettings.Development.json
@@ -0,0 +1,9 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft": "Warning",
+ "Microsoft.Hosting.Lifetime": "Information"
+ }
+ }
+}
diff --git a/src/EventHub.Admin.HttpApi.Host/appsettings.json b/src/EventHub.Admin.HttpApi.Host/appsettings.json
new file mode 100644
index 0000000..d9d9a9b
--- /dev/null
+++ b/src/EventHub.Admin.HttpApi.Host/appsettings.json
@@ -0,0 +1,10 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft": "Warning",
+ "Microsoft.Hosting.Lifetime": "Information"
+ }
+ },
+ "AllowedHosts": "*"
+}