# Practical 3

* Demonstrate model, view and controller by showing different action method, views, model, accessing controller, model and view. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/mvc-demonstration)
* Demonstrate use of razor syntax. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/razor-syntax)
* Demonstrate use of html tag helper. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/html-tag-helpers)
* Using Entity framework create a table tbl\_officer having field (id, name, gender, phone, department and position) after this perform complete CRUD operation (insert, update, display and delete). User proper validation. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/entity-framework-crud)
* Demonstrate different state management technique like SessionState, TempData, HttpContext. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/server-side-state-management)
* Demonstrate different client-side state management like cookies, Query string and hidden fields. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/client-side-state-management)
* Write a program to create complete form and validate using jquery and react. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/form-validation)
* Write a program to demonstrate authentication and authorization (Role, claim and policies) by create a complete form in asp.net core. [Solution](https://suyashs-organization-3.gitbook.io/csitlabs/6th_semester/net_centric_computing/lab-codes/practical3/authentication-and-authorization)
* Write a program to prevent SQLInjectionAttack, Cross Site Request forgery (CSRF) and open redirect attack. [Solution](https://github.com/sthsuyash/CSIT_Labs/blob/main/6th_Semester/NET_Centric_Computing/Lab%20Codes/Practical3/Security/README.md)
