Skip to content

Conversation

@mbn-ms-dk
Copy link

  • Modified DbInitializer in ProductDataContext.cs to add 100 products instead of 500.
  • Optimized ProductEndpoints in ProductEndpoints.cs by using EF.Functions.Like for better performance.
  • Updated Products.csproj to use newer versions of several NuGet packages and added System.Formats.Asn1.
  • Added a new HTTP GET request for searching products with the term "outdoor" in Products.http.
  • Disabled automatic browser launch in launchSettings.json for all profiles.
  • Uncommented the elapsed time display in Search.razor.

- Modified `DbInitializer` in `ProductDataContext.cs` to add 100 products instead of 500.
- Optimized `ProductEndpoints` in `ProductEndpoints.cs` by using `EF.Functions.Like` for better performance.
- Updated `Products.csproj` to use newer versions of several NuGet packages and added `System.Formats.Asn1`.
- Added a new HTTP GET request for searching products with the term "outdoor" in `Products.http`.
- Disabled automatic browser launch in `launchSettings.json` for all profiles.
- Uncommented the elapsed time display in `Search.razor`.
@mbn-ms-dk
Copy link
Author

This pull request includes several changes to the Products project, focusing on improving performance, updating dependencies, and modifying launch settings. The most important changes are summarized below:

Performance Improvements:

  • Refactored the product search endpoint to use EF.Functions.Like for more efficient querying. (src/00 demo/Products/Endpoints/ProductEndpoints.cs)

Dependency Updates:

  • Updated various package references to newer versions in the Products.csproj file. (src/00 demo/Products/Products.csproj)

Launch Settings Modifications:

  • Disabled browser launch for all profiles in launchSettings.json. (src/00 demo/Products/Properties/launchSettings.json) [1] [2] [3]

Additional Changes:

  • Adjusted the product initialization to add 100 products instead of 500. (src/00 demo/Products/Data/ProductDataContext.cs)
  • Added a new HTTP request example for searching products by keyword. (src/00 demo/Products/Products.http)
  • Uncommented the elapsed time display in the Search.razor component. (src/00 demo/Store/Components/Pages/Search.razor)

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.

1 participant