From 3742f0cd1370e99b6c7d5c17a854fb7eb53419ac Mon Sep 17 00:00:00 2001 From: TriJayCode Date: Sat, 14 Feb 2026 23:24:10 +0530 Subject: [PATCH 1/7] Enhance connection string update instructions in README Formatted based on existing font readme style --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a63b06bd7..cd98bcef0 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,11 @@ Continuous deployment: https://ci.simplcommerce.com #### Steps to run -- Update the connection string in appsettings.json in SimplCommerce.WebHost +- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`. + - If you have SQL Server installed: + `"DefaultConnection": "Server=localhost;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"` + - If you do not have SQL Server, you can use Visual Studio LocalDB: + `"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"` - Build the whole solution. - In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project - Open the Package Manager Console Window and make sure that SimplCommerce.WebHost is selected as the Default project. Then type "Update-Database" then press "Enter". This action will create the database schema. From 03d30e291727ee95fbaba8c36efc919999df3f0d Mon Sep 17 00:00:00 2001 From: Jayanth T Date: Sun, 15 Feb 2026 13:29:36 +0530 Subject: [PATCH 2/7] Code review comments fix --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cd98bcef0..5bad93336 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,18 @@ Continuous deployment: https://ci.simplcommerce.com #### Steps to run -- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`. - - If you have SQL Server installed: - `"DefaultConnection": "Server=localhost;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"` - - If you do not have SQL Server, you can use Visual Studio LocalDB: +- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`. + - The default is configured for a local SQL Server. + ```json + { + `"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"` + } + - If you are using Visual Studio LocalDB, change it to: + ```json + { `"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"` + } +- Ensure you have a database named `SimplCommerce` created in your SQL instance, or change the `Database` name in the connection string to match your environment. - Build the whole solution. - In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project - Open the Package Manager Console Window and make sure that SimplCommerce.WebHost is selected as the Default project. Then type "Update-Database" then press "Enter". This action will create the database schema. From cd3db9045e11ca0acb34274305fd99a39f5be215 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sun, 15 Feb 2026 21:28:55 +0300 Subject: [PATCH 3/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5bad93336..e4156436a 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ Continuous deployment: https://ci.simplcommerce.com #### Steps to run -- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`. - - The default is configured for a local SQL Server. +- Update the connection string in `src/SimplCommerce.WebHost/appsettings.json` if it's needed. In case you are using SQL LocalDB, change the connection string to: + ```json { `"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"` From 8116bcc7ecfb9d6b70c616730999580214ffb787 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sun, 15 Feb 2026 21:37:53 +0300 Subject: [PATCH 4/7] Update README.md --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e4156436a..f0f40a7f9 100644 --- a/README.md +++ b/README.md @@ -31,15 +31,11 @@ Continuous deployment: https://ci.simplcommerce.com - Update the connection string in `src/SimplCommerce.WebHost/appsettings.json` if it's needed. In case you are using SQL LocalDB, change the connection string to: - ```json - { - `"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"` - } - - If you are using Visual Studio LocalDB, change it to: - ```json - { +```json +{ + `"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"` - } + } - Ensure you have a database named `SimplCommerce` created in your SQL instance, or change the `Database` name in the connection string to match your environment. - Build the whole solution. - In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project From 81f8561c03940b1042b3b03013dfc499160c9713 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sun, 15 Feb 2026 21:38:43 +0300 Subject: [PATCH 5/7] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f0f40a7f9..1098e7538 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Continuous deployment: https://ci.simplcommerce.com `"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"` } + - Ensure you have a database named `SimplCommerce` created in your SQL instance, or change the `Database` name in the connection string to match your environment. - Build the whole solution. - In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project From 915ed3c90d3d400ba6c620c8608b159dfa0b13ba Mon Sep 17 00:00:00 2001 From: Jayanth T Date: Mon, 16 Feb 2026 16:36:56 +0530 Subject: [PATCH 6/7] docs: fix JSON formatting and clarify DB setup instructions --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5bad93336..4f9883b3d 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,15 @@ Continuous deployment: https://ci.simplcommerce.com - The default is configured for a local SQL Server. ```json { - `"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"` + "DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true" } + ``` - If you are using Visual Studio LocalDB, change it to: ```json { - `"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"` + "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true" } + ``` - Ensure you have a database named `SimplCommerce` created in your SQL instance, or change the `Database` name in the connection string to match your environment. - Build the whole solution. - In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project From 785bcd6cf9a38ecefea40afd58f70ebdf51f24aa Mon Sep 17 00:00:00 2001 From: Jayanth T Date: Wed, 18 Feb 2026 22:12:34 +0530 Subject: [PATCH 7/7] fixed the formatting issue by vaidating in md files --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4f9883b3d..bea20d660 100644 --- a/README.md +++ b/README.md @@ -29,14 +29,14 @@ Continuous deployment: https://ci.simplcommerce.com #### Steps to run -- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`. - - The default is configured for a local SQL Server. +- Update the connection string: Open appsettings.json in src/SimplCommerce.WebHost. + The default is configured for a local SQL Server ```json { "DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true" } ``` - - If you are using Visual Studio LocalDB, change it to: + If you are using Visual Studio LocalDB, change it to ```json { "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"