Simple Web Application that display product information and allow insert, delete and edit product
- JQuery
- Web API Controllers(C#)
- Repository Pattern
- Dependency Injection With Unity
- Entity Framework
-
Clone this repository.
-
Open the sln file in Visual Studio
-
You will need to create a local database using SQL server database
i. Right Click on ProjectApp.Web
Add --> new Item
ii. Search for SQL Server database
iii. Give it a name and add it
iv. Open Server Explorer on your visual studio. Click on
Data Connections --> "Databasename"
v. Right click on Tables and add new table.
vi. Copy the content of dbo.Table into the space provided from previous action.
vii. Now copy the database name and replace it in the following file. Replace everyting after name=.....
- ProductAPI.Structure --> ProductContext.cs
viii. Copy the database name and connection string and replace them in the file below.
- ProductAPI.Strucure --> App.config
- ProjectApp.Web --> Web.config
-
Build the application
-
Run the application
-
Done!