The Tax Calculator project is a .NET Core solution that provides a web-based tax calculation system using ASP.NET Core MVC and Razor Pages. It includes functionality for CRUD operations on tax records and supports different tax calculation types.
The tax calculator project is designed to perform basic CRUD operations on tax records and provide various tax calculation strategies, including Fixed Rate, Fixed Value, and Progressive. It consists of multiple components:
- TaxCalculator.Core: Core logic, entities, and interfaces for tax calculations.
- TaxCalculator.Data: Data access layer using Entity Framework Core.
- TaxCalculator.Services: Tax calculation services implementing different strategies.
- TaxCalculator.Web: MVC Razor web application for user interaction.
- TaxCalculator.Api: API for tax calculations and data access.
Make sure you have the following installed:
- .NET CORE (version used: 8.x)
- SQL Server for data storage.
- Database Provider EF Core In-Memory
-
Clone the repository:
git clone https://github.com/sb2gx/DPTaxSolution.git
-
Run and build using Visual Studio 2022
-
Enter postal codes and corresponding tax calculation type on "PostalCodes" page
-
Go to the "CalculateTax" page and select postal code and enter amount submit for tax calculation
- TaxCalculator.Core: Contains core logic, entities, and interfaces.
- TaxCalculator.Data: Data access layer with Entity Framework migrations.
- TaxCalculator.Services: Implementations of tax calculation strategies.
- TaxCalculator.Web: MVC Razor web application.
- TaxCalculator.Api: API for tax calculations.
- TaxCalculator.Tests: Tests for tax calculations.