Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Best way to create model class & views in asp.net core mvc 1.1

$
0
0

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 sensorsStage 31:100 ScaleA1 SizeSCA-11-32-ad
CCD sensors1Stage 3NTS ScaleA2 SizeSCA-11-32-GS
CCD sensors13Stage 6123 ScaleA4 Sizeadas-11-32-GS
Photo Scanner
sensors1Stage 2NTS ScaleA3 SizePHO-11-32-as
sensors1Stage 2NTS ScaleA3 SizePHO-11-32-as
sensors1Stage 2NTS ScaleA3 SizePHO-11-32-as
Portable Scanner
PTBL ScannStage 21200 ScaleA4 Sizeasd-11-32-as
dasdasdaStage 23233 ScaleA5 Sizefdf-11-32-as
sfsffasfStage 21434 ScaleA7 Sizefdfd-11-32-as

There will be different category of Printer & scanner . mage shows the page with two tabs Printer and Scanner

 


Viewing all articles
Browse latest Browse all 9386

Trending Articles