- The primary objective of this project is to develop a web application capable of processing JSON-formatted configuration files with varying levels of complexity and nesting.
- The system should read the file, transform the configuration into a programmatic model, and then store it in a relational database (specifically MSSQL).
- The ultimate goal is to display the stored configuration from the database on the screen in the form of a hierarchical tree.
-
Relational Database (MSSQL)
- Design and implement a relational database schema to store configurations.
-
Web Application (ASP.NET Core 8 MVC)
- Develop a web application that retrieves configurations from the database and displays them in a hierarchical view (tree) on a web page.
- Clone the repository to your local machine.
git clone https://github.com/vr242kj/GFL.NET.git
- Open the solution in Visual Studio or your preferred IDE.
- Configure MSSQL Database
- Set up a MSSQL database and update the connection string in the appsettings.json file.
- In folder Repositories in file TableName.cs change the name of table you have used.
- Run the application.
- Launch the web application and navigate to the specified URL (default:
https://localhost:5000
).
- Launch the web application and navigate to the specified URL (default:
- ASP.NET Core 8 MVC
- MSSQL (Relational Database)
- JSON (Configuration File Format)
- Upload JSON Configuration
- Use the web interface to upload a JSON configuration file. I use Postman API. Here is my Json collection
In requests change localhost value.
- Use the web interface to upload a JSON configuration file. I use Postman API. Here is my Json collection
- Database Storage
- The system reads the file, transforms the configuration into a programmatic model, and stores it in the MSSQL database.
- Hierarchical View
- The stored configuration can be viewed on the web page in a hierarchical tree structure.