First off I need to create a DynamoDB.

The session table was creating using documentation from the lab, from the name to the Session ID.

db.PNG

I need to check that in my solution I have specific AWS packages installed which I can check in the NuGet.

I had to install the .NET packages and the iQuery package.

packages.PNG

I now need to make some tweaks to my code, first on Web.config

I need to change the default session state to match my AWS account, this involved me creating a user key to be able to put into my code… IN PLAIN TEXT ARGH!

session.PNG

Now I need to go to shoppingCart.cs and add [Serialzable] to the public class.”

“To serialize an object means to convert its state to a byte stream so that the byte stream can be reverted back into a copy of the object” – https://docs.oracle.com/javase/tutorial/jndi/objects/serial.html

zeri.PNG

Now any items that are in my cart will show up in the AWS Dynamo Table.

cart.PNG

 

 

 

 

%d bloggers like this: