I am developing an MVC web application using Asp.net core 1.1 . I have a view, in that Product details will be shown. It has two types of products for example printer & scanner.
I need help on below clarification
1) Model(Class) structure : How can i structure the model for this requirement in MVC.
a)I need to get different categories of scanner model on selecting the product.Each categories should display their respective models under that category in Grid format.At the end of the post i have given shown the format of the grid
2) Should i use partial view for printer & scanner vies, ?
2) Best way to cache data in ASP.net core MVC 1.1.
Below are the steps for the flow.
1) User selects on product from the list of product in home page.
2) In the second page its displays details of product like, Product manager , stage, coordinator. Second page will have two tabs Scanner & Printer
3) When the user click on scanner table it will show the list of different categories of scanner with the models in grid format
Please find the below grid format
Ex
Flatbed Scanner | ||||
CCD sensors | Stage 3 | 1:100 Scale | A1 Size | SCA-11-32-ad |
CCD sensors1 | Stage 3 | NTS Scale | A2 Size | SCA-11-32-GS |
CCD sensors13 | Stage 6 | 123 Scale | A4 Size | adas-11-32-GS |
Photo Scanner | ||||
sensors1 | Stage 2 | NTS Scale | A3 Size | PHO-11-32-as |
sensors1 | Stage 2 | NTS Scale | A3 Size | PHO-11-32-as |
sensors1 | Stage 2 | NTS Scale | A3 Size | PHO-11-32-as |
Portable Scanner | ||||
PTBL Scann | Stage 21 | 200 Scale | A4 Size | asd-11-32-as |
dasdasda | Stage 23 | 233 Scale | A5 Size | fdf-11-32-as |
sfsffasf | Stage 21 | 434 Scale | A7 Size | fdfd-11-32-as |
There will be different category of Printer & scanner .