Skip to main content

Searching, Advanced Filtering, and View Models

  • Chapter
  • First Online:
Book cover ASP.NET MVC with Entity Framework and CSS
  • 3006 Accesses

Abstract

In this chapter we will jump right into the project and add some basic model classes for products and categories. We will use these to create a database using Entity Framework Code First. I'll show you how to set up a database context class, specify a connection string, create a database from your code, and add new views and controllers to manage and display the product and category data.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Lee Naylor

About this chapter

Cite this chapter

Naylor, L. (2016). Searching, Advanced Filtering, and View Models. In: ASP.NET MVC with Entity Framework and CSS . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2137-2_3

Download citation

Publish with us

Policies and ethics