Netmash rename

messaging
Tudor Stanciu 2023-01-12 01:01:36 +02:00
parent 62cca0e392
commit 869c7f92d6
73 changed files with 131 additions and 128 deletions

View File

@ -1,7 +1,7 @@
using MediatR; using MediatR;
using System; using System;
namespace NDB.Application.DataContracts namespace Netmash.Application.DataContracts
{ {
public interface ICommand public interface ICommand
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NDB.Application.DataContracts namespace Netmash.Application.DataContracts
{ {
public class Metadata : Dictionary<string, string> public class Metadata : Dictionary<string, string>
{ {

View File

@ -1,6 +1,6 @@
using MediatR; using MediatR;
namespace NDB.Application.DataContracts namespace Netmash.Application.DataContracts
{ {
public abstract class Query<TResponse> : IRequest<TResponse>, IBaseRequest { } public abstract class Query<TResponse> : IRequest<TResponse>, IBaseRequest { }
} }

View File

@ -2,7 +2,7 @@
using System.Data; using System.Data;
using System.Data.SqlClient; using System.Data.SqlClient;
namespace NDB.DataAccess.SqlServer namespace Netmash.DataAccess.SqlServer
{ {
public abstract class BaseDataAccess public abstract class BaseDataAccess
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NDB.Extensions.Caching.Services; using Netmash.Extensions.Caching.Services;
namespace NDB.Extensions.Caching namespace Netmash.Extensions.Caching
{ {
public static class CachingExtensions public static class CachingExtensions
{ {

View File

@ -3,7 +3,7 @@ using Newtonsoft.Json;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Extensions.Caching namespace Netmash.Extensions.Caching
{ {
internal static class DistributedCachingExtensions internal static class DistributedCachingExtensions
{ {

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Extensions.Caching.Services namespace Netmash.Extensions.Caching.Services
{ {
internal class CacheService : ICacheService internal class CacheService : ICacheService
{ {

View File

@ -1,7 +1,7 @@
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Extensions.Caching.Services namespace Netmash.Extensions.Caching.Services
{ {
public interface ICacheService public interface ICacheService
{ {

View File

@ -4,7 +4,7 @@ using System.Net.Http;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Extensions.Http namespace Netmash.Extensions.Http
{ {
public static class HttpClientExtensions public static class HttpClientExtensions
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Extensions.Swagger.Constants namespace Netmash.Extensions.Swagger.Constants
{ {
public enum AuthorizationType public enum AuthorizationType
{ {

View File

@ -1,9 +1,9 @@
using Microsoft.OpenApi.Models; using Microsoft.OpenApi.Models;
using NDB.Application.DataContracts; using Netmash.Application.DataContracts;
using Swashbuckle.AspNetCore.SwaggerGen; using Swashbuckle.AspNetCore.SwaggerGen;
using System.Linq; using System.Linq;
namespace NDB.Extensions.Swagger.Filters namespace Netmash.Extensions.Swagger.Filters
{ {
public class DtoSchemaFilter : ISchemaFilter public class DtoSchemaFilter : ISchemaFilter
{ {

View File

@ -4,7 +4,7 @@ using System;
using System.Linq; using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace NDB.Extensions.Swagger.Filters namespace Netmash.Extensions.Swagger.Filters
{ {
public class PathParamsOperationFilter : IOperationFilter public class PathParamsOperationFilter : IOperationFilter
{ {

View File

@ -12,8 +12,11 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="NDB.Application.DataContracts" Version="1.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NDB.Application.DataContracts\Netmash.Application.DataContracts.csproj" />
</ItemGroup>
</Project> </Project>

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using System.Linq; using System.Linq;
namespace NDB.Extensions.Swagger.ReverseProxy namespace Netmash.Extensions.Swagger.ReverseProxy
{ {
public static class ReverseProxyHelper public static class ReverseProxyHelper
{ {

View File

@ -1,14 +1,14 @@
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models; using Microsoft.OpenApi.Models;
using NDB.Extensions.Swagger.Constants; using Netmash.Extensions.Swagger.Constants;
using NDB.Extensions.Swagger.Filters; using Netmash.Extensions.Swagger.Filters;
using NDB.Extensions.Swagger.ReverseProxy; using Netmash.Extensions.Swagger.ReverseProxy;
using Swashbuckle.AspNetCore.SwaggerGen; using Swashbuckle.AspNetCore.SwaggerGen;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NDB.Extensions.Swagger namespace Netmash.Extensions.Swagger
{ {
public static class SwaggerExtensions public static class SwaggerExtensions
{ {

View File

@ -4,7 +4,7 @@ using System.ServiceProcess;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Hosting.WindowsService namespace Netmash.Hosting.WindowsService
{ {
public class ServiceBaseLifetime : ServiceBase, IHostLifetime public class ServiceBaseLifetime : ServiceBase, IHostLifetime
{ {

View File

@ -3,7 +3,7 @@ using Microsoft.Extensions.Hosting;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Hosting.WindowsService namespace Netmash.Hosting.WindowsService
{ {
public static class ServiceBaseLifetimeHostExtensions public static class ServiceBaseLifetimeHostExtensions
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NDB.Logging.Api.Entities; using Netmash.Logging.Api.Entities;
namespace NDB.Logging.Api namespace Netmash.Logging.Api
{ {
public static class DependencyInjectionExtensions public static class DependencyInjectionExtensions
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Logging.Api.Entities namespace Netmash.Logging.Api.Entities
{ {
public class RequestLoggingConfiguration public class RequestLoggingConfiguration
{ {

View File

@ -2,14 +2,14 @@
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using NDB.Logging.Api.Entities; using Netmash.Logging.Api.Entities;
using System; using System;
using System.Diagnostics; using System.Diagnostics;
using System.IO; using System.IO;
using System.Net; using System.Net;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Logging.Api namespace Netmash.Logging.Api
{ {
public class RequestLoggingAttribute : ActionFilterAttribute public class RequestLoggingAttribute : ActionFilterAttribute
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using System; using System;
namespace NDB.Security.Authentication.Identity.Abstractions namespace Netmash.Security.Authentication.Identity.Abstractions
{ {
public interface IAuthenticationOptions public interface IAuthenticationOptions
{ {

View File

@ -1,10 +1,10 @@
using IdentityServer.Wrapper; using IdentityServer.Wrapper;
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NDB.Security.Authentication.Identity.Abstractions; using Netmash.Security.Authentication.Identity.Abstractions;
using System; using System;
namespace NDB.Security.Authentication.Identity namespace Netmash.Security.Authentication.Identity
{ {
public static class AuthenticationExtensions public static class AuthenticationExtensions
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Security.Authentication.Identity.Constants namespace Netmash.Security.Authentication.Identity.Constants
{ {
public struct ClaimTypes public struct ClaimTypes
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Security.Authentication.Identity.Constants namespace Netmash.Security.Authentication.Identity.Constants
{ {
internal struct QueryParams internal struct QueryParams
{ {

View File

@ -3,7 +3,7 @@ using IdentityServer.Wrapper.Services;
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
using NDB.Security.Authentication.Identity.Abstractions; using Netmash.Security.Authentication.Identity.Abstractions;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
@ -11,9 +11,9 @@ using System.Net.Http.Headers;
using System.Security.Claims; using System.Security.Claims;
using System.Text.Encodings.Web; using System.Text.Encodings.Web;
using System.Threading.Tasks; using System.Threading.Tasks;
using c = NDB.Security.Authentication.Identity.Constants; using c = Netmash.Security.Authentication.Identity.Constants;
namespace NDB.Security.Authentication.Identity namespace Netmash.Security.Authentication.Identity
{ {
public class IdentityAuthenticationHandler : AuthenticationHandler<AuthenticationSchemeOptions> public class IdentityAuthenticationHandler : AuthenticationHandler<AuthenticationSchemeOptions>
{ {

View File

@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using NDB.Security.Authentication.Identity.Abstractions; using Netmash.Security.Authentication.Identity.Abstractions;
using System; using System;
namespace NDB.Security.Authentication.Identity.Models namespace Netmash.Security.Authentication.Identity.Models
{ {
public class AuthenticationOptions : IAuthenticationOptions public class AuthenticationOptions : IAuthenticationOptions
{ {

View File

@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using System; using System;
namespace NDB.Test.Api.Controllers namespace Netmash.Test.Api.Controllers
{ {
[Authorize] [Authorize]
[ApiController] [ApiController]

View File

@ -1,10 +1,10 @@
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NDB.Security.Authentication.Identity; using Netmash.Security.Authentication.Identity;
using NDB.Security.Authentication.Identity.Models; using Netmash.Security.Authentication.Identity.Models;
using System.Linq; using System.Linq;
namespace NDB.Test.Api.Extensions namespace Netmash.Test.Api.Extensions
{ {
public static class AuthenticationExtensions public static class AuthenticationExtensions
{ {

View File

@ -9,9 +9,9 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\infrastructure\NDB.Infrastructure.DatabaseMigration\NDB.Infrastructure.DatabaseMigration.csproj" /> <ProjectReference Include="..\infrastructure\NDB.Infrastructure.DatabaseMigration\Netmash.Infrastructure.DatabaseMigration.csproj" />
<ProjectReference Include="..\NDB.Extensions.Swagger\NDB.Extensions.Swagger.csproj" /> <ProjectReference Include="..\NDB.Extensions.Swagger\Netmash.Extensions.Swagger.csproj" />
<ProjectReference Include="..\NDB.Security.Authentication.Identity\NDB.Security.Authentication.Identity.csproj" /> <ProjectReference Include="..\NDB.Security.Authentication.Identity\Netmash.Security.Authentication.Identity.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -3,7 +3,7 @@ using Microsoft.Extensions.Hosting;
using System.Diagnostics; using System.Diagnostics;
using System.IO; using System.IO;
namespace NDB.Test.Api namespace Netmash.Test.Api
{ {
public class Program public class Program
{ {

View File

@ -3,13 +3,13 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using NDB.Extensions.Swagger; using Netmash.Extensions.Swagger;
using NDB.Extensions.Swagger.Constants; using Netmash.Extensions.Swagger.Constants;
using NDB.Infrastructure.DatabaseMigration; using Netmash.Infrastructure.DatabaseMigration;
using NDB.Infrastructure.DatabaseMigration.Constants; using Netmash.Infrastructure.DatabaseMigration.Constants;
using NDB.Test.Api.Extensions; using Netmash.Test.Api.Extensions;
namespace NDB.Test.Api namespace Netmash.Test.Api
{ {
public class Startup public class Startup
{ {

26
NDB.sln
View File

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59 VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Hosting.WindowsService", "NDB.Hosting.WindowsService\NDB.Hosting.WindowsService.csproj", "{F4AB0B71-6B14-402B-8B05-128AFB3E06D9}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Hosting.WindowsService", "NDB.Hosting.WindowsService\Netmash.Hosting.WindowsService.csproj", "{F4AB0B71-6B14-402B-8B05-128AFB3E06D9}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{04D62D10-F984-44D7-8B26-8D055A4CBAF8}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{04D62D10-F984-44D7-8B26-8D055A4CBAF8}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
@ -14,9 +14,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
NuGet.config = NuGet.config NuGet.config = NuGet.config
EndProjectSection EndProjectSection
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Logging.Api", "NDB.Logging.Api\NDB.Logging.Api.csproj", "{74E221BE-C097-468B-93E4-AAE1B2173C49}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Logging.Api", "NDB.Logging.Api\Netmash.Logging.Api.csproj", "{74E221BE-C097-468B-93E4-AAE1B2173C49}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.DataAccess.SqlServer", "NDB.DataAccess.SqlServer\NDB.DataAccess.SqlServer.csproj", "{95AF4B47-2C84-44C1-BD25-297F09A48BED}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.DataAccess.SqlServer", "NDB.DataAccess.SqlServer\Netmash.DataAccess.SqlServer.csproj", "{95AF4B47-2C84-44C1-BD25-297F09A48BED}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E0202271-4E92-4DB8-900D-B5FD745B9278}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E0202271-4E92-4DB8-900D-B5FD745B9278}"
EndProject EndProject
@ -24,15 +24,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "extensions", "extensions",
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "swagger", "swagger", "{FB4E71FD-9E32-4B5C-8019-1E8EBB9DDE9F}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "swagger", "swagger", "{FB4E71FD-9E32-4B5C-8019-1E8EBB9DDE9F}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Extensions.Swagger", "NDB.Extensions.Swagger\NDB.Extensions.Swagger.csproj", "{CB9BDFCC-DB01-4A13-8091-9A241BE85CCD}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Extensions.Swagger", "NDB.Extensions.Swagger\Netmash.Extensions.Swagger.csproj", "{CB9BDFCC-DB01-4A13-8091-9A241BE85CCD}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "application", "application", "{564B5266-6F7E-4AFA-A7D4-B0E8F2E7107E}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "application", "application", "{564B5266-6F7E-4AFA-A7D4-B0E8F2E7107E}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Application.DataContracts", "NDB.Application.DataContracts\NDB.Application.DataContracts.csproj", "{BDDC2DB1-96DD-49F4-BCEF-55D06B74E6F3}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Application.DataContracts", "NDB.Application.DataContracts\Netmash.Application.DataContracts.csproj", "{BDDC2DB1-96DD-49F4-BCEF-55D06B74E6F3}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "http", "http", "{C1301480-5C4C-4F73-8D26-DD3E798FAFD5}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "http", "http", "{C1301480-5C4C-4F73-8D26-DD3E798FAFD5}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Extensions.Http", "NDB.Extensions.Http\NDB.Extensions.Http.csproj", "{28D5CE9E-D975-4842-8B30-5063B82979C6}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Extensions.Http", "NDB.Extensions.Http\Netmash.Extensions.Http.csproj", "{28D5CE9E-D975-4842-8B30-5063B82979C6}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "data", "data", "{7D49E538-B89A-4BC2-AD5A-5A658F4B74E4}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "data", "data", "{7D49E538-B89A-4BC2-AD5A-5A658F4B74E4}"
EndProject EndProject
@ -46,25 +46,25 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "security", "security", "{42
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "authentication", "authentication", "{B8132F39-6677-4D70-84CA-9747DC9086B3}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "authentication", "authentication", "{B8132F39-6677-4D70-84CA-9747DC9086B3}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Security.Authentication.Identity", "NDB.Security.Authentication.Identity\NDB.Security.Authentication.Identity.csproj", "{5C0637C8-6BA4-4EAE-97CA-BB8D98B2991A}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Security.Authentication.Identity", "NDB.Security.Authentication.Identity\Netmash.Security.Authentication.Identity.csproj", "{5C0637C8-6BA4-4EAE-97CA-BB8D98B2991A}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "caching", "caching", "{A206A484-3ACF-4032-8B36-AC93A72B0B88}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "caching", "caching", "{A206A484-3ACF-4032-8B36-AC93A72B0B88}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Extensions.Caching", "NDB.Extensions.Caching\NDB.Extensions.Caching.csproj", "{3E045EE6-A290-467C-B503-3A6CB0065C97}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Extensions.Caching", "NDB.Extensions.Caching\Netmash.Extensions.Caching.csproj", "{3E045EE6-A290-467C-B503-3A6CB0065C97}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{CCEE458E-02A8-42FD-8F5F-A35481A23303}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{CCEE458E-02A8-42FD-8F5F-A35481A23303}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Test.Api", "NDB.Test.Api\NDB.Test.Api.csproj", "{F717BE3D-F5F4-4D99-B96D-D0A23E8BED01}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Test.Api", "NDB.Test.Api\Netmash.Test.Api.csproj", "{F717BE3D-F5F4-4D99-B96D-D0A23E8BED01}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Infrastructure.DatabaseMigration", "infrastructure\NDB.Infrastructure.DatabaseMigration\NDB.Infrastructure.DatabaseMigration.csproj", "{74C7BE02-DD5C-49C2-8E88-E3AEA729E2AB}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Infrastructure.DatabaseMigration", "infrastructure\NDB.Infrastructure.DatabaseMigration\Netmash.Infrastructure.DatabaseMigration.csproj", "{74C7BE02-DD5C-49C2-8E88-E3AEA729E2AB}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Data.EntityFramework", "src\data\NDB.Data.EntityFramework\NDB.Data.EntityFramework.csproj", "{15650720-30F3-4FF3-8D4A-9B21BBA5E273}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Data.EntityFramework", "src\data\NDB.Data.EntityFramework\Netmash.Data.EntityFramework.csproj", "{15650720-30F3-4FF3-8D4A-9B21BBA5E273}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "core", "core", "{FD5D4A32-E6A7-4808-B43E-A906B1B81956}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "core", "core", "{FD5D4A32-E6A7-4808-B43E-A906B1B81956}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Core.Abstractions", "src\core\NDB.Core.Abstractions\NDB.Core.Abstractions.csproj", "{A15F25DD-2B42-49AB-BBA8-E9D9B78630A1}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Core.Abstractions", "src\core\NDB.Core.Abstractions\Netmash.Core.Abstractions.csproj", "{A15F25DD-2B42-49AB-BBA8-E9D9B78630A1}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Infrastructure.PublicIP", "infrastructure\NDB.Infrastructure.PublicIP\NDB.Infrastructure.PublicIP.csproj", "{A02F1468-85EC-4AFC-999C-94B3138184B9}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Infrastructure.PublicIP", "infrastructure\NDB.Infrastructure.PublicIP\Netmash.Infrastructure.PublicIP.csproj", "{A02F1468-85EC-4AFC-999C-94B3138184B9}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Constants namespace Netmash.Infrastructure.DatabaseMigration.Constants
{ {
public enum DatabaseType public enum DatabaseType
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Constants namespace Netmash.Infrastructure.DatabaseMigration.Constants
{ {
internal struct ManifestResourcesPath internal struct ManifestResourcesPath
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Constants namespace Netmash.Infrastructure.DatabaseMigration.Constants
{ {
public enum MetadataLocation public enum MetadataLocation
{ {

View File

@ -1,8 +1,8 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NDB.Infrastructure.DatabaseMigration.Entities; using Netmash.Infrastructure.DatabaseMigration.Entities;
using NDB.Infrastructure.DatabaseMigration.Entities.Configurations; using Netmash.Infrastructure.DatabaseMigration.Entities.Configurations;
namespace NDB.Infrastructure.DatabaseMigration.DbContexts namespace Netmash.Infrastructure.DatabaseMigration.DbContexts
{ {
internal class MigrationDbContext : DbContext internal class MigrationDbContext : DbContext
{ {

View File

@ -2,15 +2,15 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NDB.Infrastructure.DatabaseMigration.Constants; using Netmash.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.DbContexts; using Netmash.Infrastructure.DatabaseMigration.DbContexts;
using NDB.Infrastructure.DatabaseMigration.Models; using Netmash.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories; using Netmash.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services; using Netmash.Infrastructure.DatabaseMigration.Services;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions; using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System; using System;
namespace NDB.Infrastructure.DatabaseMigration namespace Netmash.Infrastructure.DatabaseMigration
{ {
public static class DependencyInjectionExtensions public static class DependencyInjectionExtensions
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace NDB.Infrastructure.DatabaseMigration.Entities.Configurations namespace Netmash.Infrastructure.DatabaseMigration.Entities.Configurations
{ {
internal class MigratedScriptConfiguration : IEntityTypeConfiguration<MigratedScript> internal class MigratedScriptConfiguration : IEntityTypeConfiguration<MigratedScript>
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace NDB.Infrastructure.DatabaseMigration.Entities.Configurations namespace Netmash.Infrastructure.DatabaseMigration.Entities.Configurations
{ {
internal class MigratedVersionConfiguration : IEntityTypeConfiguration<MigratedVersion> internal class MigratedVersionConfiguration : IEntityTypeConfiguration<MigratedVersion>
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace NDB.Infrastructure.DatabaseMigration.Entities.Configurations namespace Netmash.Infrastructure.DatabaseMigration.Entities.Configurations
{ {
internal class MigrationSignatureConfiguration : IEntityTypeConfiguration<MigrationSignature> internal class MigrationSignatureConfiguration : IEntityTypeConfiguration<MigrationSignature>
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Entities namespace Netmash.Infrastructure.DatabaseMigration.Entities
{ {
internal class MigratedScript internal class MigratedScript
{ {

View File

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace NDB.Infrastructure.DatabaseMigration.Entities namespace Netmash.Infrastructure.DatabaseMigration.Entities
{ {
internal class MigratedVersion internal class MigratedVersion
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NDB.Infrastructure.DatabaseMigration.Entities namespace Netmash.Infrastructure.DatabaseMigration.Entities
{ {
internal class MigrationSignature internal class MigrationSignature
{ {

View File

@ -1,8 +1,8 @@
using System.Linq; using System.Linq;
using e = NDB.Infrastructure.DatabaseMigration.Entities; using e = Netmash.Infrastructure.DatabaseMigration.Entities;
using m = NDB.Infrastructure.DatabaseMigration.Models; using m = Netmash.Infrastructure.DatabaseMigration.Models;
namespace NDB.Infrastructure.DatabaseMigration.Extensions namespace Netmash.Infrastructure.DatabaseMigration.Extensions
{ {
internal static class Mappings internal static class Mappings
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace NDB.Infrastructure.DatabaseMigration.Models namespace Netmash.Infrastructure.DatabaseMigration.Models
{ {
public class MigrationThumbprint public class MigrationThumbprint
{ {

View File

@ -1,6 +1,6 @@
using NDB.Infrastructure.DatabaseMigration.Constants; using Netmash.Infrastructure.DatabaseMigration.Constants;
namespace NDB.Infrastructure.DatabaseMigration.Models namespace Netmash.Infrastructure.DatabaseMigration.Models
{ {
internal class ServiceConfiguration internal class ServiceConfiguration
{ {

View File

@ -1,8 +1,8 @@
using NDB.Infrastructure.DatabaseMigration.Constants; using Netmash.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.Entities; using Netmash.Infrastructure.DatabaseMigration.Entities;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Repositories namespace Netmash.Infrastructure.DatabaseMigration.Repositories
{ {
internal interface IMigrationRepository internal interface IMigrationRepository
{ {

View File

@ -1,12 +1,12 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NDB.Infrastructure.DatabaseMigration.Constants; using Netmash.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.DbContexts; using Netmash.Infrastructure.DatabaseMigration.DbContexts;
using NDB.Infrastructure.DatabaseMigration.Entities; using Netmash.Infrastructure.DatabaseMigration.Entities;
using System; using System;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Repositories namespace Netmash.Infrastructure.DatabaseMigration.Repositories
{ {
internal class MigrationRepository : IMigrationRepository internal class MigrationRepository : IMigrationRepository
{ {

View File

@ -1,6 +1,6 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services.Abstractions namespace Netmash.Infrastructure.DatabaseMigration.Services.Abstractions
{ {
internal interface IMetadataLocationService internal interface IMetadataLocationService
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Services.Abstractions namespace Netmash.Infrastructure.DatabaseMigration.Services.Abstractions
{ {
public interface IMigrationService public interface IMigrationService
{ {

View File

@ -1,7 +1,7 @@
using NDB.Infrastructure.DatabaseMigration.Models; using Netmash.Infrastructure.DatabaseMigration.Models;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services.Abstractions namespace Netmash.Infrastructure.DatabaseMigration.Services.Abstractions
{ {
internal interface IMigrationSignaturesService internal interface IMigrationSignaturesService
{ {

View File

@ -1,16 +1,16 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using NDB.Infrastructure.DatabaseMigration.Constants; using Netmash.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.Models; using Netmash.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories; using Netmash.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions; using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System; using System;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services namespace Netmash.Infrastructure.DatabaseMigration.Services
{ {
internal class MetadataLocationService : IMetadataLocationService internal class MetadataLocationService : IMetadataLocationService
{ {

View File

@ -1,15 +1,15 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using NDB.Infrastructure.DatabaseMigration.Models; using Netmash.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories; using Netmash.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions; using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services namespace Netmash.Infrastructure.DatabaseMigration.Services
{ {
internal class MigrationService : IMigrationService internal class MigrationService : IMigrationService
{ {

View File

@ -1,9 +1,9 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NDB.Infrastructure.DatabaseMigration.Constants; using Netmash.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.Extensions; using Netmash.Infrastructure.DatabaseMigration.Extensions;
using NDB.Infrastructure.DatabaseMigration.Models; using Netmash.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories; using Netmash.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions; using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
@ -12,7 +12,7 @@ using System.Threading.Tasks;
using System.Xml; using System.Xml;
using System.Xml.Serialization; using System.Xml.Serialization;
namespace NDB.Infrastructure.DatabaseMigration.Services namespace Netmash.Infrastructure.DatabaseMigration.Services
{ {
internal class MigrationSignaturesService : IMigrationSignaturesService internal class MigrationSignaturesService : IMigrationSignaturesService
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NDB.Infrastructure.PublicIP.Services; using Netmash.Infrastructure.PublicIP.Services;
namespace NDB.Infrastructure.PublicIP namespace Netmash.Infrastructure.PublicIP
{ {
public static class DependencyInjectionExtensions public static class DependencyInjectionExtensions
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.PublicIP.Entities namespace Netmash.Infrastructure.PublicIP.Entities
{ {
public class IPInfo public class IPInfo
{ {

View File

@ -1,7 +1,7 @@
using NDB.Infrastructure.PublicIP.Entities; using Netmash.Infrastructure.PublicIP.Entities;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.PublicIP.Services namespace Netmash.Infrastructure.PublicIP.Services
{ {
public interface IPublicIPService public interface IPublicIPService
{ {

View File

@ -1,9 +1,9 @@
using NDB.Infrastructure.PublicIP.Entities; using Netmash.Infrastructure.PublicIP.Entities;
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Infrastructure.PublicIP.Services namespace Netmash.Infrastructure.PublicIP.Services
{ {
public class PublicIPService : IPublicIPService public class PublicIPService : IPublicIPService
{ {

View File

@ -1,4 +1,4 @@
namespace NDB.Core.Abstractions.Paging namespace Netmash.Core.Abstractions.Paging
{ {
public class PageRequest public class PageRequest
{ {

View File

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace NDB.Core.Abstractions.Paging namespace Netmash.Core.Abstractions.Paging
{ {
public class PagedResult<TEntity> public class PagedResult<TEntity>
{ {

View File

@ -2,7 +2,7 @@
using System.Linq; using System.Linq;
using System.Linq.Expressions; using System.Linq.Expressions;
namespace NDB.Data.EntityFramework.Extensions namespace Netmash.Data.EntityFramework.Extensions
{ {
public static class LinqExtensions public static class LinqExtensions
{ {

View File

@ -1,10 +1,10 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NDB.Core.Abstractions.Paging; using Netmash.Core.Abstractions.Paging;
using System.Linq; using System.Linq;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace NDB.Data.EntityFramework.Extensions namespace Netmash.Data.EntityFramework.Extensions
{ {
public static class PagedResultExtensions public static class PagedResultExtensions
{ {

View File

@ -16,7 +16,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\core\NDB.Core.Abstractions\NDB.Core.Abstractions.csproj" /> <ProjectReference Include="..\..\core\NDB.Core.Abstractions\Netmash.Core.Abstractions.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>