diff --git a/ConstructorApp.DataAccessLayer/Concrete/ConstructorContext.cs b/ConstructorApp.DataAccessLayer/Concrete/ConstructorContext.cs index 99b8d81..1f8a610 100644 --- a/ConstructorApp.DataAccessLayer/Concrete/ConstructorContext.cs +++ b/ConstructorApp.DataAccessLayer/Concrete/ConstructorContext.cs @@ -30,7 +30,7 @@ namespace ConstructorApp.DataAccessLayer.Concrete protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { //lokal migration - //optionsBuilder.UseSqlServer("Server=SABI\\SQLEXPRESS;initial Catalog=CONSTRUCTOR;User ID=sa;Password=13579spP!!!!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True"); + optionsBuilder.UseSqlServer("Server=SABI;initial Catalog=CONSTRUCTOR;User ID=sa;Password=13579spP!!!!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True"); //uzak migration optionsBuilder.UseSqlServer("Server=94.138.207.4;initial Catalog=CONSTRUCTOR;User ID=sa;Password=XeFu*t7VXFE&s%)_HwKDk!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True"); diff --git a/ConstructorApp.DataAccessLayer/Migrations/20251108080217_InitialCreate.Designer.cs b/ConstructorApp.DataAccessLayer/Migrations/20251110062259_InitialCreate.Designer.cs similarity index 99% rename from ConstructorApp.DataAccessLayer/Migrations/20251108080217_InitialCreate.Designer.cs rename to ConstructorApp.DataAccessLayer/Migrations/20251110062259_InitialCreate.Designer.cs index 777e580..c42866d 100644 --- a/ConstructorApp.DataAccessLayer/Migrations/20251108080217_InitialCreate.Designer.cs +++ b/ConstructorApp.DataAccessLayer/Migrations/20251110062259_InitialCreate.Designer.cs @@ -12,7 +12,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace ConstructorApp.DataAccessLayer.Migrations { [DbContext(typeof(ConstructorContext))] - [Migration("20251108080217_InitialCreate")] + [Migration("20251110062259_InitialCreate")] partial class InitialCreate { /// @@ -58,7 +58,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations new { Id = 1, - ConcurrencyStamp = "2993b64f-8d76-466e-8fbe-06a761075c1e", + ConcurrencyStamp = "861b2f73-621f-401d-ae7f-90386fb8ee33", Name = "Admin", NormalizedName = "ADMIN" }); @@ -151,7 +151,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations { Id = 1, AccessFailedCount = 0, - ConcurrencyStamp = "6e739c9a-6901-4f8b-a7bf-8109c4fe9b85", + ConcurrencyStamp = "49a67b10-c6cd-45a8-a985-a0f3a0fc638b", ConfirmCode = 0, Email = "admin@example.com", EmailConfirmed = true, @@ -161,9 +161,9 @@ namespace ConstructorApp.DataAccessLayer.Migrations LockoutEnabled = false, NormalizedEmail = "ADMIN@EXAMPLE.COM", NormalizedUserName = "ADMIN", - PasswordHash = "AQAAAAIAAYagAAAAEClhlSoGXLHXSf5K3uAYjcHPdYIl1Y/sjz0tgZeeNABDcDYZJ1Omo/Sw4EpePvd2PQ==", + PasswordHash = "AQAAAAIAAYagAAAAEN1z37odF5cuQmrziBf4IXBIfLIAFvlO6rQM8GKxsuyQWTBG8Bv6bkA+61SWFl1R5g==", PhoneNumberConfirmed = false, - SecurityStamp = "4d2ff336-3876-400c-938e-8acd8b2d9dcc", + SecurityStamp = "553407f9-7fee-4c07-b1e7-4523592d191f", TwoFactorEnabled = false, UserName = "admin" }); diff --git a/ConstructorApp.DataAccessLayer/Migrations/20251108080217_InitialCreate.cs b/ConstructorApp.DataAccessLayer/Migrations/20251110062259_InitialCreate.cs similarity index 98% rename from ConstructorApp.DataAccessLayer/Migrations/20251108080217_InitialCreate.cs rename to ConstructorApp.DataAccessLayer/Migrations/20251110062259_InitialCreate.cs index 56bf583..b00de6a 100644 --- a/ConstructorApp.DataAccessLayer/Migrations/20251108080217_InitialCreate.cs +++ b/ConstructorApp.DataAccessLayer/Migrations/20251110062259_InitialCreate.cs @@ -388,12 +388,12 @@ namespace ConstructorApp.DataAccessLayer.Migrations migrationBuilder.InsertData( table: "AspNetRoles", columns: new[] { "Id", "ConcurrencyStamp", "Name", "NormalizedName" }, - values: new object[] { 1, "2993b64f-8d76-466e-8fbe-06a761075c1e", "Admin", "ADMIN" }); + values: new object[] { 1, "861b2f73-621f-401d-ae7f-90386fb8ee33", "Admin", "ADMIN" }); migrationBuilder.InsertData( table: "AspNetUsers", columns: new[] { "Id", "AccessFailedCount", "ConcurrencyStamp", "ConfirmCode", "Email", "EmailConfirmed", "FirstName", "ImageUrl", "LastName", "LockoutEnabled", "LockoutEnd", "NormalizedEmail", "NormalizedUserName", "PasswordHash", "PhoneNumber", "PhoneNumberConfirmed", "SecurityStamp", "TwoFactorEnabled", "UserName" }, - values: new object[] { 1, 0, "6e739c9a-6901-4f8b-a7bf-8109c4fe9b85", 0, "admin@example.com", true, "Admin", "/SeedData/defaultuser.png", "Admin", false, null, "ADMIN@EXAMPLE.COM", "ADMIN", "AQAAAAIAAYagAAAAEClhlSoGXLHXSf5K3uAYjcHPdYIl1Y/sjz0tgZeeNABDcDYZJ1Omo/Sw4EpePvd2PQ==", null, false, "4d2ff336-3876-400c-938e-8acd8b2d9dcc", false, "admin" }); + values: new object[] { 1, 0, "49a67b10-c6cd-45a8-a985-a0f3a0fc638b", 0, "admin@example.com", true, "Admin", "/SeedData/defaultuser.png", "Admin", false, null, "ADMIN@EXAMPLE.COM", "ADMIN", "AQAAAAIAAYagAAAAEN1z37odF5cuQmrziBf4IXBIfLIAFvlO6rQM8GKxsuyQWTBG8Bv6bkA+61SWFl1R5g==", null, false, "553407f9-7fee-4c07-b1e7-4523592d191f", false, "admin" }); migrationBuilder.InsertData( table: "CompanyInfo", diff --git a/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs b/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs index bc9a552..c9b393a 100644 --- a/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs +++ b/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs @@ -55,7 +55,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations new { Id = 1, - ConcurrencyStamp = "2993b64f-8d76-466e-8fbe-06a761075c1e", + ConcurrencyStamp = "861b2f73-621f-401d-ae7f-90386fb8ee33", Name = "Admin", NormalizedName = "ADMIN" }); @@ -148,7 +148,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations { Id = 1, AccessFailedCount = 0, - ConcurrencyStamp = "6e739c9a-6901-4f8b-a7bf-8109c4fe9b85", + ConcurrencyStamp = "49a67b10-c6cd-45a8-a985-a0f3a0fc638b", ConfirmCode = 0, Email = "admin@example.com", EmailConfirmed = true, @@ -158,9 +158,9 @@ namespace ConstructorApp.DataAccessLayer.Migrations LockoutEnabled = false, NormalizedEmail = "ADMIN@EXAMPLE.COM", NormalizedUserName = "ADMIN", - PasswordHash = "AQAAAAIAAYagAAAAEClhlSoGXLHXSf5K3uAYjcHPdYIl1Y/sjz0tgZeeNABDcDYZJ1Omo/Sw4EpePvd2PQ==", + PasswordHash = "AQAAAAIAAYagAAAAEN1z37odF5cuQmrziBf4IXBIfLIAFvlO6rQM8GKxsuyQWTBG8Bv6bkA+61SWFl1R5g==", PhoneNumberConfirmed = false, - SecurityStamp = "4d2ff336-3876-400c-938e-8acd8b2d9dcc", + SecurityStamp = "553407f9-7fee-4c07-b1e7-4523592d191f", TwoFactorEnabled = false, UserName = "admin" }); diff --git a/ConstructorAppApi/appsettings.json b/ConstructorAppApi/appsettings.json index 359ba3a..ff868cb 100644 --- a/ConstructorAppApi/appsettings.json +++ b/ConstructorAppApi/appsettings.json @@ -7,6 +7,6 @@ }, "AllowedHosts": "*", "ConnectionStrings": { - "mssql": "Server=mssql_container;initial Catalog=CONSTRUCTOR;User ID=sa;Password=13579spP!!!!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True" + "mssql": "Server=mssql_container;initial Catalog=CONSTRUCTOR;User ID=sa;Password=XeFu*t7VXFE&s%)_HwKDk!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True" } } diff --git a/ConstructorAppUI/Program.cs b/ConstructorAppUI/Program.cs index 57eacc6..774b1f5 100644 --- a/ConstructorAppUI/Program.cs +++ b/ConstructorAppUI/Program.cs @@ -11,7 +11,7 @@ using Microsoft.EntityFrameworkCore; var builder = WebApplication.CreateBuilder(args); -//Proje seviyesinde Authentication +//Proje seviyesinde Authentication sašlama var requireAuthorizePolicy = new AuthorizationPolicyBuilder().RequireAuthenticatedUser().Build(); // Add services to the container. diff --git a/ConstructorAppUI/Views/Shared/Components/_HomeContactUsPartialComponent/Default.cshtml b/ConstructorAppUI/Views/Shared/Components/_HomeContactUsPartialComponent/Default.cshtml index c540b51..8ac55ef 100644 --- a/ConstructorAppUI/Views/Shared/Components/_HomeContactUsPartialComponent/Default.cshtml +++ b/ConstructorAppUI/Views/Shared/Components/_HomeContactUsPartialComponent/Default.cshtml @@ -37,7 +37,7 @@
-
+
diff --git a/ConstructorAppUI/appsettings.Development.json b/ConstructorAppUI/appsettings.Development.json index 57139e9..eb0b6d5 100644 --- a/ConstructorAppUI/appsettings.Development.json +++ b/ConstructorAppUI/appsettings.Development.json @@ -7,7 +7,7 @@ }, "AllowedHosts": "*", "ConnectionStrings": { - "mssql": "Server=SABI\\SQLEXPRESS;initial Catalog=CONSTRUCTOR;User ID=sa;Password=13579spP!!!!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True" + "mssql": "Server=SABI;initial Catalog=CONSTRUCTOR;User ID=sa;Password=13579spP!!!!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True" }, "ApiSettings": { "BaseUrl": "https://localhost:7040" diff --git a/ConstructorAppUI/appsettings.json b/ConstructorAppUI/appsettings.json index f4969ce..1e8bdc9 100644 --- a/ConstructorAppUI/appsettings.json +++ b/ConstructorAppUI/appsettings.json @@ -7,7 +7,7 @@ }, "AllowedHosts": "*", "ConnectionStrings": { - "mssql": "Server=mssql_container;initial Catalog=CONSTRUCTOR;User ID=sa;Password=13579spP!!!!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True" + "mssql": "Server=mssql_container;initial Catalog=CONSTRUCTOR;User ID=sa;Password=XeFu*t7VXFE&s%)_HwKDk!;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True" }, "ApiSettings": { "BaseUrl": "https://dev.cond.polikarbilisim.com" diff --git a/ConstructorAppUI/wwwroot/SeedData/Reference-6.png b/ConstructorAppUI/wwwroot/SeedData/Reference-6.png deleted file mode 100644 index 74720ab..0000000 Binary files a/ConstructorAppUI/wwwroot/SeedData/Reference-6.png and /dev/null differ diff --git a/ConstructorAppUI/wwwroot/SeedData/Slider-1.png b/ConstructorAppUI/wwwroot/SeedData/Slider-1.png deleted file mode 100644 index fd8eb3a..0000000 Binary files a/ConstructorAppUI/wwwroot/SeedData/Slider-1.png and /dev/null differ