Create an ASP.NET MVC Ecommerce Site to Sell Laptops

# Solution Named As E-Commerce Contains Three Projects-

  1. DataLayer
    1.1 AppDbContext – A class which inherits DbContext and DbSets to migrate in ssms.
  2. Models
    2.1 ApplicationUser – A class which inherits IdentityClass and added property as address.
    2.2 Register – A class containing properties like Username, EmailId, Password, Phone No, Address
    2.3 Login – A class containing props like username,password while logging in the user.
    2.4 LaptopModel – A class containing props for laptop like id, product name, price, imgurl, descritption.
    2.5 OrderDetails – A class containing props like oid,pid, LaptopModel type of variable, Name, Address, Phone no.
  3. WebApp
    3.1 Controllers
    3.1.1 – AccountController – Which accepts requests for login or registering.
    3.1.1.1 – RegisterAction handles to register the user and assigning roles like admin/normal user
    3.1.1.2 – LoginAction handeles to login the user to provide actions like buying or see their order list.
    3.1.2 – LaptopController – Which accepts request to display laptops
    3.1.3 – OrderController – Use to handle order request of an product and decorated with authorize attribute.
    3.2 View:
    3.2.1 – Login,register,laptops