Question: You will create a web application to store inventory for products. Choose your business name, logo, and products you want to manage. This can be
You will create a web application to store inventory for products. Choose your business name, logo, and products you want to manage. This can be a fictitious company or a company that you own.
- Develop a class to store your product and determine the properties needed for the class
- Add validation to your class (required attributes and range attributes)
- Ensure a consistent look to your design with bootstrap or font-awesome icons
- Create a DbContext class and DbSet to map model classes to a database
- Seed data for your product
- Add connection strings for your project and dependency injection
- Use package manager console to create your database and migrations
- Create the controller for your application
- Develop views to Add, Edit, and Delete products in addition to your Index view
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
