Skip to content

New scenario with deploy to AppService #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jul 15, 2025
Merged

Conversation

elbruno
Copy link
Contributor

@elbruno elbruno commented Jul 15, 2025

This pull request introduces a comprehensive shopping cart feature to eShopLite, transforming it into a fully functional e-commerce platform. The changes include detailed documentation, new data models and components, UI enhancements, and integration of session storage for cart persistence. Below is a summary of the most important changes categorized by theme:

Documentation and Overview

  • Added SHOPPING_CART_FEATURES.md to document the shopping cart functionality, including features such as product browsing, cart management, checkout, and order confirmation.

Core Data Models

  • Introduced new classes in CartEntities:
    • Address: Represents customer address details with validation attributes.
    • Cart: Manages cart items, calculates subtotal, tax, and total.
    • CartItem: Represents individual items in the cart, including quantity and total price.
    • Customer: Stores customer information, including billing and shipping addresses.
    • Order: Represents an order with customer details, items, and pricing breakdown.

Project Configuration

  • Added CartEntities.csproj with .NET 9.0 target framework and necessary package references for JSON serialization.

UI Components

  • Created reusable Razor components for the shopping cart:

Testing and Styles

  • Added Store.Tests.csproj for unit testing with xUnit and test coverage tools.
  • Enhanced styling in App.razor by including Bootstrap Icons and a new cart.js script for client-side functionality.

Copilot AI and others added 12 commits July 5, 2025 15:01
…h configuration and validation

Co-authored-by: elbruno <[email protected]>
- Implemented a simple toast notification function in cart.js for user feedback.
- Added cart-specific CSS styles for better UI presentation.

feat: Add favicon image for the application

- Included a favicon.png file to enhance the application's branding.

feat: Introduce ProductVector for vector data storage

- Created ProductVector class inheriting from Product to support vector data storage.
- Added necessary attributes for vector data handling.

chore: Set up VectorEntities project

- Initialized VectorEntities.csproj with required dependencies and settings.

chore: Update .gitignore to exclude Azure-related files

- Added .azure to the .gitignore file to prevent Azure environment files from being tracked.

feat: Configure eShopAppHost for Azure App Service

- Set up Program.cs to support Azure App Service environment and external HTTP endpoints.
- Integrated Azure OpenAI deployments for chat and embeddings.

chore: Add launch settings for local development

- Created launchSettings.json to define local development profiles and environment variables.

chore: Configure application settings for development

- Added appsettings.Development.json and appsettings.json for logging and Azure configuration.

chore: Create azure.yaml for Azure deployment configuration

- Added azure.yaml to define the application structure for Azure deployment.

chore: Initialize eShopAppHost project

- Created eShopAppHost.csproj with necessary dependencies for the application host.

docs: Add next steps documentation for Azure deployment

- Created next-steps.md to guide users on provisioning infrastructure and configuring CI/CD.

chore: Set up solution structure for eShop projects

- Created eShopLite-Aspire-AppService.slnx to organize project structure.

feat: Implement service defaults for resilience and health checks

- Added Extensions.cs to provide common services like health checks and OpenTelemetry configuration.

chore: Initialize eShopServiceDefaults project

- Created eShopServiceDefaults.csproj with required dependencies for shared services.
Copy link

👋 Thanks for contributing @elbruno! We will review the pull request and get back to you soon.

Copy link

Check Country Locale in URLs

We have automatically detected added country locale to URLs in your files.
Review and remove country-specific locale from URLs to resolve this issue.

Check the file paths and associated URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/README.md
#LinkLine Number
1https://learn.microsoft.com/en-us/sql/relational-databases/vectors/vectors-sql-server?view=sql-server-ver1762
scenarios/08-Sql2025/README.md
#LinkLine Number
1https://learn.microsoft.com/en-us/sql/relational-databases/vectors/vectors-sql-server?view=sql-server-ver1767

Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/README.md
#LinkLine Number
1./src/eShopLite-Sql2025.slnx104
scenarios/09-AzureAppService/docs/README.md
#LinkLine Number
1./images/dashboard.jpg32
2./images/products.jpg35
3./images/search.jpg38

Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1https://dcbadge.vercel.app/api/server/ByRwuEEgH411

Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/docs/README.md
#LinkLine Number
1./images/dashboard.jpg32
2./images/products.jpg35
3./images/search.jpg38

Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1https://dcbadge.vercel.app/api/server/ByRwuEEgH411

Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/docs/README.md
#LinkLine Number
1./images/dashboard.jpg32
2./images/products.jpg35
3./images/search.jpg38

Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/docs/README.md
#LinkLine Number
1./images/dashboard.jpg32
2./images/products.jpg35
3./images/search.jpg38

Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/docs/README.md
#LinkLine Number
1./images/dashboard.jpg32
2./images/products.jpg35
3./images/search.jpg38

Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1https://dcbadge.vercel.app/api/server/ByRwuEEgH411

2 similar comments
Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1https://dcbadge.vercel.app/api/server/ByRwuEEgH411

Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1https://dcbadge.vercel.app/api/server/ByRwuEEgH411

Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/docs/README.md
#LinkLine Number
1./images/dashboard.jpg32
2./images/products.jpg35
3./images/search.jpg38

Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
scenarios/09-AzureAppService/docs/README.md
#LinkLine Number
1./images/dashboard.jpg32
2./images/products.jpg35
3./images/search.jpg38

Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1https://dcbadge.vercel.app/api/server/ByRwuEEgH411

1 similar comment
Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1https://dcbadge.vercel.app/api/server/ByRwuEEgH411

@elbruno elbruno merged commit a4c0052 into main Jul 15, 2025
6 of 8 checks passed
@elbruno elbruno deleted the bruno-scenarioAppService branch July 15, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants