Product Recommendations is a web application that allows users to view and manage a list of recommended products. The application is built using Visual Studio 22, and it uses the following dependencies:
- Dapper v2.0.123
- Microsoft.EntityFrameworkCore v7.0.4
- Microsoft.EntityFrameworkCore.Design v7.0.4
- Microsoft.EntityFrameworkCore.SqlServer v7.0.4
- Microsoft.EntityFrameworkCore.Tools v7.0.4
The application uses a table to display the list of recommended products. The table shows the product ID, name, and price. Users can also add new products to the list or edit existing products.
To install the application, follow these steps:
- Clone the repository.
- Open the solution file in Visual Studio 22.
- Install the dependencies listed above.
- Build the solution.
To use the application, follow these steps:
- Run the application in Visual Studio 22.
- The application will open in your default web browser.
- Click on the "Add Product" button to add a new product to the list.
- Click on the "Edit" button next to an existing product to edit its details.
The application uses a Bootstrap-based HTML template to display the list of recommended products.
This project provides a simple interface for displaying and managing product recommendations. It uses the following technologies:
- Visual Studio 2022
- C#
- Dapper v2.0.123
- Microsoft.EntityFrameworkCore v7.0.4
- Microsoft.EntityFrameworkCore.Design v7.0.4
- Microsoft.EntityFrameworkCore.SqlServer v7.0.4
- Microsoft.EntityFrameworkCore.Tools v7.0.4
- HTML5
- Bootstrap 4.5.0
- jQuery 3.5.1
To get started with this project, follow these steps:
- Clone the repository to your local machine.
- Open the solution file
ProductRecommendations.sln
in Visual Studio 2022. - Restore the NuGet packages for the project by right-clicking on the solution and selecting
Restore NuGet Packages
. - Build the solution by right-clicking on the solution and selecting
Build Solution
. - Run the project by pressing
F5
or selectingDebug -> Start Debugging
from the menu.
This project provides a simple interface for displaying product recommendations. The interface consists of a table that displays the IDs, names, and prices of the products. Users can also add new products or edit existing ones.
The main page of the project displays a table of existing products, which is populated using data retrieved from the server. Users can edit an existing product by clicking the Edit
button next to the product's name. This will open a modal window that allows the user to modify the product's name and price. Users can also add a new product by clicking the Add Product
button, which will open a modal window that allows the user to enter the name and price of the new product.
The project consists of a C# backend that uses the Dapper and Entity Framework Core libraries to retrieve and manage data from a SQL Server database. The frontend is built using HTML5, Bootstrap 4.5.0, and jQuery 3.5.1. The main entry point of the application is the Index.cshtml
file, which contains the HTML and JavaScript code that defines the interface.
If you have any questions or comments about this project, please feel free to contact me.