2078
.NET 2078
Section A
Attempt any two questions.
-
Differentiate between struct and enum. Why do we need to handle the exception? Illustrate with an example with your own customized exception.
-
Explain the procedure for building, running, and deploying .NET core applications. Write a program to show the possibility of SQL injection attack.
-
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 Employeeld(int), Name varchar(200), Salary(int) using Entity Framework.
Section B
Attempt any eight questions.
-
Define open redirect attacks. Discuss about docker and containerization.
-
What is named and positional attribute parameters? Describe the .Net architecture design and principles.
-
Explain about request and response message format with example.
-
Why do we need to validate the form? How can you use react for this?
-
Define data model and data context. What does URL routing mean?
-
Give an example to manage the session state.
-
How can you prevent SQL injection attack? Explain with an example.
-
Explain the process to deploy the core application.
-
Write short notes on (any two)
a. LINQ
b. Open Redirected Attack
c. Query String