Skip to content

Enhance connection string update instructions in README#1142

Open
JayanthT7 wants to merge 1 commit intosimplcommerce:masterfrom
JayanthT7:patch-2
Open

Enhance connection string update instructions in README#1142
JayanthT7 wants to merge 1 commit intosimplcommerce:masterfrom
JayanthT7:patch-2

Conversation

@JayanthT7
Copy link

@JayanthT7 JayanthT7 commented Feb 14, 2026

Hi @hishamco , I’ve updated the README with LocalDB and standard SQL connection string examples to help new developers get set up faster. Please let me know if any changes or improvements are needed. I would be happy
to update the PR accordingly.

Thank you for your time and for maintaining this project.

Formatted based on existing font readme style
- 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"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`"DefaultConnection": "Server=localhost;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"`
```json
{
`"DefaultConnection": "Server=localhost;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"`
}

- 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"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"`
```json
{
`"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"`
}

#### Steps to run

- Update the connection string in appsettings.json in SimplCommerce.WebHost
- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The connection string is already there; we could mention that you need to create a database named SimplCommerce or change the connection string based on your needs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants