I haven't saved the order anywhere except in the form of the cart.
I was thinking about doing that, but not sure they were looking for something overly complex..
I was actually going to create an order entity as well
I know I am not the smartest guy in the room...lol
thank you
let me push the quantity changes. I also made the listviews look the same
I also had to add another folder to my ignore list, and change the password to the SQL login
I am a little worried about adding that to the confirmation page because I am getting rid of the session on the page load. but if I store the name then I could find the cart by that too
Now you just need a controller that listens to a request, passes data to the business logic to get processed, and returns a view that uses the model created by the logic.
The Web.config was deleted. and I had to create a new one. I think I might have to save this file somewhere else and then make sure that the debug and release versions are deleted and then try to re add
first the Web.config was missing, then the new one I put in had an extra hidden character before the root element, which is not allowed. so I had to delete something that I couldn't see. then it was fixed.
if I had done it with a SQL Server other than Azure, or I had Active Directory set up, it wouldn't matter, because I wouldn't have the login and password in there, the application would have perms
but I couldn't remember how to set all that up...not sure which would have taken longer, looking back at it
var cartID = Guid.Parse(Session["CartID"].ToString());
var cart = from c in db.Cart
where c.CartID == cartID
select c;
Cart cartEntity = cart as Cart;
cartEntity.UserName = NameOnOrder.Value;