The flashcards below were created by user
Difference between html form's GET and POST method attributes and when to use each?
: queries(not storing)
: for storing
How does ASP.net engine knwo how to default to the Home controller's index method?
What is the default .Net return type for the Home Controller's Index method?
What is the typical instance that ActionResult is known as?
describe how the footer div works with it's css
it goes where in the margin that the wrap leaves
is the popup really a popup? explain
no. it's a layer using css
what is the z-index?
the higher the number the more priority that it will have
What does the # represent?
(this is the specific spot i want to go in this page)
where is the closing x generated in the popup?
Describe the layout of the case study
2 class libraries
how many tables are in eStoreDB?
How is the db is accessed at run time by the web site?
copy <connectionstring> from model project to the web site
what asp.net MVC template did we use to create the web project for case 1?
what syntax are standard HTML helpers prefixed with?
difference between Ajax enabled form and a regular form?
Ajax enabled: don't have to send everything back to the server. You are just doing a call to the server
What is the purpose of the
option on the Ajax form?
choose what part of the screen we want updated
What is the HTML helper Partial used for?
returns a partial view(not sending the whole thing back)
what syntax is used to expose a model to a view?
What jquery syntax is required to load a JQuery tab control on a page
$(#name of element).tabs
What html construct is used to house a jquery tab?
describe 2 client side validation techniques
2. jquery validator
describe 2 server side validation techniques
2. database constraints
what html helper is used with dataAnnotation to do server side validation
list 4 server side validation attributes
What .net class was used to populate the list for the drop downs?
How does the CreditCardType property get populated in the CustomerViewModel?
pass control to the linq query which sets the CCT
how many regex are used in the register process?
Where is the InitializeSimpleMembershipAtribute located by default?
What parameters in the InitializeSimpleMembership method did we change to use our Customer table?
what table to use and the primary key
Where is the [InitializedSimpleMembership]?
on class in Home controller
creates membership tables if non-existent
what 2 tables were used when running the WebSecurity.CreateUserAndAccount
Where is the original ErrorCodeToString method?
T/F customerModel's Register method does and insert?
does and UPDATE
How does the server distinguish one session from another?
SessionID from individual users
Which session state provider is used by default
(could use StateServer or DB or your own)
Main advantage of a Session object
easy to store objects and keep them global
Main disadvantage of the Session Object
uses a lot of memory on the Server
Which file do you code the 2 event handlers used by Session objects?
what 3 things where placed in the session object
what actionResult was returned upon successful login?
What did the OnSuccess parameter call in the Ajax form login screen
What 3 things occur when logout is pressed
membership logout method
redirect back to homepage
What params were passes to the websecurity's login method?
What does the session variable "Cart" actually contain?
array of cart items
what syntax do you use in a view to access a custom html helper?
same as regular helper
what 2 params do we send to a custom html helper method
html helper class
id(which is a string)
name of file u configure bundles with
2 main types of bundles
what class creates an unordered list in the catalogue helper?
why use StringBuilder?
string concatenation is hard on the server
when catalogue is rendered, what kind of html control is the details button?
anchor or href
What does the browser retuen after pushing addToCart button