From 6d78b9d68c04cfbda4a6a0e490ef0a2238def1e1 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Thu, 12 Jan 2023 01:07:04 +0200 Subject: [PATCH] Netmash rename --- Directory.Build.props | 4 ++-- .../Netmash.Extensions.Caching.csproj | 2 +- .../Netmash.Extensions.Http.csproj | 2 +- .../Netmash.Extensions.Swagger.csproj | 2 +- NDB.Logging.Api/Netmash.Logging.Api.csproj | 2 +- ...sh.Security.Authentication.Identity.csproj | 2 +- NDB.Test.Api/Startup.cs | 6 +++--- NDB.Test.Api/appsettings.json | 2 +- Notes.txt | 20 +++++++++---------- .../Constants/ManifestResources.cs | 4 ++-- ...sh.Infrastructure.DatabaseMigration.csproj | 2 +- .../Netmash.Infrastructure.PublicIP.csproj | 2 +- .../Netmash.Core.Abstractions.csproj | 6 +++--- .../Netmash.Data.EntityFramework.csproj | 2 +- 14 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 14ca76e..36aa3c6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,7 +3,7 @@ 1.0.0 Tudor Stanciu STA - NDB - STA NDB + Netmash + STA Netmash \ No newline at end of file diff --git a/NDB.Extensions.Caching/Netmash.Extensions.Caching.csproj b/NDB.Extensions.Caching/Netmash.Extensions.Caching.csproj index 6644355..a52066e 100644 --- a/NDB.Extensions.Caching/Netmash.Extensions.Caching.csproj +++ b/NDB.Extensions.Caching/Netmash.Extensions.Caching.csproj @@ -6,7 +6,7 @@ https://dev.azure.com/tstanciu94/NDB https://dev.azure.com/tstanciu94/NDB Git - NDB Cache + Netmash Cache 1.0.1 diff --git a/NDB.Extensions.Http/Netmash.Extensions.Http.csproj b/NDB.Extensions.Http/Netmash.Extensions.Http.csproj index b35bf8e..95dfe51 100644 --- a/NDB.Extensions.Http/Netmash.Extensions.Http.csproj +++ b/NDB.Extensions.Http/Netmash.Extensions.Http.csproj @@ -2,7 +2,7 @@ netstandard2.0 - NDB http + Netmash http Http extensions Http extensions https://dev.azure.com/tstanciu94/NDB diff --git a/NDB.Extensions.Swagger/Netmash.Extensions.Swagger.csproj b/NDB.Extensions.Swagger/Netmash.Extensions.Swagger.csproj index 2ee7abd..29d5957 100644 --- a/NDB.Extensions.Swagger/Netmash.Extensions.Swagger.csproj +++ b/NDB.Extensions.Swagger/Netmash.Extensions.Swagger.csproj @@ -7,7 +7,7 @@ https://dev.azure.com/tstanciu94/NDB https://dev.azure.com/tstanciu94/NDB Git - NDB swagger + Netmash swagger 1.0.4 diff --git a/NDB.Logging.Api/Netmash.Logging.Api.csproj b/NDB.Logging.Api/Netmash.Logging.Api.csproj index c0789f9..fa9ca6f 100644 --- a/NDB.Logging.Api/Netmash.Logging.Api.csproj +++ b/NDB.Logging.Api/Netmash.Logging.Api.csproj @@ -6,7 +6,7 @@ .NET standard library for logging stuff in an API. https://dev.azure.com/tstanciu94/_git/NDB .NET standard library for logging stuff in an API. - NDB NDB.Logging + Netmash Netmash.Logging 1.0.3 diff --git a/NDB.Security.Authentication.Identity/Netmash.Security.Authentication.Identity.csproj b/NDB.Security.Authentication.Identity/Netmash.Security.Authentication.Identity.csproj index 57dcc69..7efa3ca 100644 --- a/NDB.Security.Authentication.Identity/Netmash.Security.Authentication.Identity.csproj +++ b/NDB.Security.Authentication.Identity/Netmash.Security.Authentication.Identity.csproj @@ -6,7 +6,7 @@ https://dev.azure.com/tstanciu94/NDB https://dev.azure.com/tstanciu94/NDB Git - NDB Authentication Identity + Netmash Authentication Identity 1.0.7 diff --git a/NDB.Test.Api/Startup.cs b/NDB.Test.Api/Startup.cs index f7eda89..0cf505d 100644 --- a/NDB.Test.Api/Startup.cs +++ b/NDB.Test.Api/Startup.cs @@ -27,7 +27,7 @@ namespace Netmash.Test.Api services.AddIdentityAuthentication(Configuration.GetSection("IdentityServer")["BaseAddress"]); services.AddControllers(); - services.AddSwagger("NDB.Test.Api", AuthorizationType.InhouseIdentity); + services.AddSwagger("Netmash.Test.Api", AuthorizationType.InhouseIdentity); services.AddMigration(DatabaseType.SQLite, MetadataLocation.Database); } @@ -39,10 +39,10 @@ namespace Netmash.Test.Api { app.UseDeveloperExceptionPage(); app.UseSwagger(); - app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "NDB.Test.Api v1")); + app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "Netmash.Test.Api v1")); } - app.ConfigureSwagger("NDB.Test.Api v1"); + app.ConfigureSwagger("Netmash.Test.Api v1"); app.UseRouting(); app.UseAuthentication(); diff --git a/NDB.Test.Api/appsettings.json b/NDB.Test.Api/appsettings.json index 4bd8608..304cec0 100644 --- a/NDB.Test.Api/appsettings.json +++ b/NDB.Test.Api/appsettings.json @@ -1,7 +1,7 @@ { "ConnectionStrings": { //"DatabaseConnection": "Server=#######;Database=#######;User Id=#######;Password=#######;MultipleActiveResultSets=true" - "DatabaseConnection": "Data Source={Workspace}\\NDB_TESTER.db" + "DatabaseConnection": "Data Source={Workspace}\\Netmash_TESTER.db" }, "Logging": { "LogLevel": { diff --git a/Notes.txt b/Notes.txt index b6e6bc2..40d69a6 100644 --- a/Notes.txt +++ b/Notes.txt @@ -3,26 +3,26 @@ How to create nuget package from project: 2. Check properties from project. Right click on project -> Properties -> Package 3. Select Release for build 4. Right click on project -> Pack -5. Search for package in bin/Release folder. Ex: NDB.Hosting.WindowsService.1.0.0.nupkg +5. Search for package in bin/Release folder. Ex: Netmash.Hosting.WindowsService.1.0.0.nupkg 6. Push the package 6.1 Open a console in package folder and run "dotnet nuget push -k -s " -6.2 Ex: dotnet nuget push NDB.Hosting.WindowsService.1.0.0.nupkg -k key -s http://stawebsrv/NuGetServer/nuget +6.2 Ex: dotnet nuget push Netmash.Hosting.WindowsService.1.0.0.nupkg -k key -s http://stawebsrv/NuGetServer/nuget ####################################################################################################################################################### Push packages: -dotnet nuget push NDB.Application.DataContracts.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Application.DataContracts.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push NDB.Extensions.Swagger.1.0.4.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Extensions.Swagger.1.0.4.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push NDB.Extensions.Http.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Extensions.Http.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push NDB.Security.Authentication.Identity.1.0.7.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Security.Authentication.Identity.1.0.7.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Extensions.Caching.1.0.1.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push NDB.Infrastructure.DatabaseMigration.1.1.3.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Infrastructure.DatabaseMigration.1.1.3.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push NDB.Data.EntityFramework.1.0.1.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push NDB.Core.Abstractions.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Data.EntityFramework.1.0.1.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Core.Abstractions.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget ####################################################################################################################################################### \ No newline at end of file diff --git a/infrastructure/NDB.Infrastructure.DatabaseMigration/Constants/ManifestResources.cs b/infrastructure/NDB.Infrastructure.DatabaseMigration/Constants/ManifestResources.cs index d7bd89e..59d016b 100644 --- a/infrastructure/NDB.Infrastructure.DatabaseMigration/Constants/ManifestResources.cs +++ b/infrastructure/NDB.Infrastructure.DatabaseMigration/Constants/ManifestResources.cs @@ -3,8 +3,8 @@ internal struct ManifestResourcesPath { public const string - SqlServer = "NDB.Infrastructure.DatabaseMigration.Scripts.SqlServer.", - Sqlite = "NDB.Infrastructure.DatabaseMigration.Scripts.Sqlite."; + SqlServer = "Netmash.Infrastructure.DatabaseMigration.Scripts.SqlServer.", + Sqlite = "Netmash.Infrastructure.DatabaseMigration.Scripts.Sqlite."; } internal struct ManifestResources diff --git a/infrastructure/NDB.Infrastructure.DatabaseMigration/Netmash.Infrastructure.DatabaseMigration.csproj b/infrastructure/NDB.Infrastructure.DatabaseMigration/Netmash.Infrastructure.DatabaseMigration.csproj index 91b3e9e..5ee7416 100644 --- a/infrastructure/NDB.Infrastructure.DatabaseMigration/Netmash.Infrastructure.DatabaseMigration.csproj +++ b/infrastructure/NDB.Infrastructure.DatabaseMigration/Netmash.Infrastructure.DatabaseMigration.csproj @@ -6,7 +6,7 @@ https://dev.azure.com/tstanciu94/NDB https://dev.azure.com/tstanciu94/NDB Git - NDB Database migration + Netmash database migration 1.1.3 1.1.0: From this version the migration service can keep its metadata in the database (SqlServer or Sqlite) diff --git a/infrastructure/NDB.Infrastructure.PublicIP/Netmash.Infrastructure.PublicIP.csproj b/infrastructure/NDB.Infrastructure.PublicIP/Netmash.Infrastructure.PublicIP.csproj index bf9cdc0..bae2095 100644 --- a/infrastructure/NDB.Infrastructure.PublicIP/Netmash.Infrastructure.PublicIP.csproj +++ b/infrastructure/NDB.Infrastructure.PublicIP/Netmash.Infrastructure.PublicIP.csproj @@ -6,7 +6,7 @@ .NET standard library for retrieve the public IP address programmatically. https://dev.azure.com/tstanciu94/_git/NDB .NET standard library for retrieve the public IP address programmatically. - NDB PublicIP + Netmash PublicIP https://png.pngtree.com/svg/20160624/ip_747437.png diff --git a/src/core/NDB.Core.Abstractions/Netmash.Core.Abstractions.csproj b/src/core/NDB.Core.Abstractions/Netmash.Core.Abstractions.csproj index b91a591..fa4e028 100644 --- a/src/core/NDB.Core.Abstractions/Netmash.Core.Abstractions.csproj +++ b/src/core/NDB.Core.Abstractions/Netmash.Core.Abstractions.csproj @@ -2,12 +2,12 @@ net5.0 - NDB core abstractions - NDB core abstractions + Netmash core abstractions + Netmash core abstractions https://lab.code-rove.com/gitea/bricks/ndb https://lab.code-rove.com/gitea/bricks/ndb Git - NDB Core + Netmash Core 1.0.0 diff --git a/src/data/NDB.Data.EntityFramework/Netmash.Data.EntityFramework.csproj b/src/data/NDB.Data.EntityFramework/Netmash.Data.EntityFramework.csproj index bc2989d..d729cd8 100644 --- a/src/data/NDB.Data.EntityFramework/Netmash.Data.EntityFramework.csproj +++ b/src/data/NDB.Data.EntityFramework/Netmash.Data.EntityFramework.csproj @@ -7,7 +7,7 @@ https://lab.code-rove.com/gitea/bricks/ndb https://lab.code-rove.com/gitea/bricks/ndb Git - NDB EntityFramework + Netmash EntityFramework 1.0.1