NET Centric Computing - Unit Wise Questions

Unit 1: Language Preliminaries
18 Questions

1. Differentiate between struct and enum. Why do we need to handle the exception? Illustrate with an example with your own customized exception.[2+8]

10 marks | Asked in 2078

1. Describe the MVC pattern. Create class to showcase constructor, properties, indexers and encapsulation behavior of object oriented language.

10 marks | Asked in Model Question |

2. Explain the procedure for building, running and deploying .NET core applications. Write a program to show the possibility of SQL injection attack.[5+5]

10 marks | Asked in 2078

3. 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.[4+6]

10 marks | Asked in 2078

3. How does the system manage state in stateless HTTP? Design a page to show client side validation for login page using jquery or angular or react.

10 marks | Asked in Model Question |

4. Define open redirect attacks. Discuss about docker and containerization.[2+3]

5 marks | Asked in 2078

6. Describe the process of adding authentication to apps and identify service configurations.

5 marks | Asked in Model Question

5. What is named and positional attribute parameters? Describe the .Net architecture design and principles.[2+3]

5 marks | Asked in 2078

7. Differentiate between abstract class, sealed class and interface. What is the task of Object Relational Mapper?

5 marks | Asked in Model Question |

6. Explain about request and response message format with example.[5]

5 marks | Asked in 2078

7. Why do we need to validate the form? How can you use react for this?[2+3]

5 marks | Asked in 2078

8. Define data model and data context.What does URL routing mean?[2+3]

5 marks | Asked in 2078

9. Why do we need generics? What are the significances of MSIL?

5 marks | Asked in Model Question |

9. Give an example to manage the session state.[5]

5 marks | Asked in 2078

10. How can you prevent SQL injection attack? Explain with an example.[5]

5 marks | Asked in 2078

12. Write short notes on (Any TWO)

        a. Single page application

        b. Hidden fields

        c. Await patterns

5 marks | Asked in Model Question |

11. Explain the process to deploy the core application.[5]

5 marks | Asked in 2078

12. Write short notes on (any two)[2*2.5=5]

a. LINQ

b. Open Redirect Attacks

c. Query string

5 marks | Asked in 2078

Unit 2: Introduction to ASP.NET
2 Questions

2. Explain the architecture and design principles of .NET. Create methods to insert, update, delete and read all data for the table Student having following fields StudentId(int), Name varchar(200), RollNo (int), Class varchar(50) using Entity Framework.

10 marks | Asked in Model Question |

8. Explain the process of compiling and executing .NET application.

5 marks | Asked in Model Question |

Unit 3: HTTP and ASP.NET Core
1 Questions

10. Express the format of request and response message format. What is the role of adapter class in database connection?

5 marks | Asked in Model Question |

Unit 4: Creating ASP.NET core MVC applications
1 Questions

11. How do you render HTML with views? Explain.

5 marks | Asked in Model Question |

Unit 5: Working with Database
0 Questions
Unit 6: State Management on ASP.NET Core Application
0 Questions
Unit 7: Client-side Development in ASP.NET Core
0 Questions
Unit 8: Securing in ASP.NET Core Application
1 Questions

4. Write an application showing sql injection vulnerability and prevention using ado.net.

5 marks | Asked in Model Question |

Unit 9: Hosting and Deploying ASP.NET Core Application
1 Questions

5. How do you host and deploy the ASP.NET core application.

5 marks | Asked in Model Question |