2078 1

CSC378 · 2078 · 10 marks

What are the advantages of stateless HTTP in ASP.NET core application? Create a method to insert a record (3, 'John', 12000) onto the table Employee having fields EmployeeId(int), Name varchar(200), Salary(int) using Entity Framework.

What are the advantages of stateless HTTP in ASP.NET core application? Create a method to insert a record (3, 'John', 12000) onto the table Employee having fields EmployeeId(int), Name varchar(200), Salary(int) using Entity Framework.[10]

NET Centric ComputingChapter 6: State Management on ASP.NET Core ApplicationState Management on stateless HTTPNumerical: Entity Framework record insertion
  • Record to insert: (3, 'John', 12000) - Table: Employee - Fields: EmployeeId (int), Name (varchar(200)), Salary (int) --- HTTP is a stateless protocol: each request is independent and the server keeps no memory of previous requests. This gives ASP.NET Core applications the following advantages: ...