Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
1Activity

Table Of Contents

Overview
1. File -> New Project
2. Controllers
Adding a HomeController
Running the Application
Adding a StoreController
3. Views and Models
Adding a View template
Using a Layout for common site elements
Updating the StyleSheet
Using a Model to pass information to our View
Adding Links between pages
4. Data Access
Adding a Database
Connecting to the database using Entity Framework Code-First
Use NuGet to install EFCodeFirst
Creating a Connection String in the web.config file
Adding a Context Class
Updating our Model Classes
Querying the Database
Store Index using a LINQ Query Expression
Store Browse, Details, and Index using a LINQ Extension Method
5. Edit Forms and Templating
Adding the Artist class
Customizing the Store Manager Index
Scaffold View templates
Using a custom HTML Helper to truncate text
Creating the Edit View
Implementing the Edit Action Methods
Writing the HTTP-GET Edit Controller Action
Using an Editor Template
Creating a Shared Album Editor Template
Passing additional information to Views using ViewBag
Implementing Dropdowns on the Album Editor Template
Implementing the HTTP-POST Edit Action Method
Implementing the Create Action
Implementing the HTTP-GET Create Action Method
Handling Deletion
6. Using Data Annotations for Model Validation
Adding Validation to our Album Forms
Testing the Client-Side Validation
7. Membership and Authorization
Adding the AccountController and Views
Adding an Administrative User with the ASP.NET Configuration site
Role-based Authorization
8. Shopping Cart with Ajax Updates
Adding the Cart, Order, and OrderDetails model classes
Managing the Shopping Cart business logic
ViewModels
The Shopping Cart Controller
Ajax Updates using Ajax.ActionLink
9. Registration and Checkout
Migrating the Shopping Cart
Creating the CheckoutController
Adding the AddressAndPayment view
Defining validation rules for the Order
Adding the Checkout Complete view
Updating The Error view
10. Final updates to Navigation and Site Design
Creating the Shopping Cart Summary Partial View
Creating the Genre Menu Partial View
Updating Site Layout to display our Partial Views
Update to the Store Browse page
Updating the Home Page to show Top Selling Albums
0 of .
Results for:
No results containing your search query
P. 1
MVC Music Store - Tutorial - V2.0

MVC Music Store - Tutorial - V2.0

Ratings: (0)|Views: 12 |Likes:
Published by kingshuk_paul

More info:

Published by: kingshuk_paul on Jun 04, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/04/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 146 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->