Medium
You are developing an ASP.NET application that displays sensitive data from a SQL Server database. The database also contains the user authentication information. All web pages that display sensitive data are protected by an authentication request.
You are asked for the following prerequisites:
-
Separate the authorization verification logic from the rest of the application code
-
Prevent the application from accessing the database server directly
You need to set up the design for the data access layer and the authentication solution. What should you do?
Author: Nicolas LaurentStatus: PublishedQuestion passed 418 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Create a controller named "UsersController", with an action "Index".,In the Index.cshtml file, define the following directive @model MvcApplication.Model.User3
How to get the first element of an array in C#2
How to get the first element of an array in C#1
Use web forms routing and set the Render outer table property to false for all Form View controls.5
Add the following event handler:2
Create a MasterPage called Layout.master with two ContentPlaceholder controls to represent the two variable areas of the page.,Create the web pages using the following directive below:2
What interface should I implement to make my class serializable in .NET?