Question

In: Computer Science

C# Programming In C# .NET you can build 3 different kinds of Presentation Layers. List them.

C# Programming

In C# .NET you can build 3 different kinds of Presentation Layers. List them.

Solutions

Expert Solution

Three-layer architecture is made of Presentation, Business, and Data access layer. In this article, I will create three-layer architecture with the help of a simple ASP.NET application. You can understand the importance of these three layers with the help of complete article.



-Layers architecture

In the three layers architecture, as you can see, Presentation layer and business layer communicate with each other, and business layer (Controller) and data access layer (Model) communicate with each other.

Presentation Layer

The presentation layer is used to display the data to the users. Your .html or .aspx Pages are presentation layer which shows data to the users. Add one web application project to solution and give the name Presentation layer to it. Add one web page as I did in the below image.

Business Layer  


This is the middle layer which communicates with Presentation and data access Layers. Business layer sends a request to Data layer for data and sends data to the presentation layer to display to the end user. In this layer, we write business logic. Now, it is time to create a business layer. Let us add one class library to create a business layer and give the name BusinessLayer to it as I did in the below Image.

Data Access Layer


Data access layer communicates with the database as well as the presentation layer. Presentation layer sends a request to data access layer and data access layer sends a request to the database to get data and returns the data to presentation layer in the form of the object, list, array etc. Now, it is time to create a data access layer by adding one more class library and give name “DataAccess” to it as I have added in the below image.


Related Solutions

a) List 3 characteristics that can different broiler breeders from normal layers
  Define the following terms Caponization Ovulation Egg sequence Clutch First in sequence and terminal laid in sequence eggs a) List 3 characteristics that can different broiler breeders from normal layers b) Indicate 5 problems associated with broiler breeder reproduction as result of poormanagement c) Suggest 2 management practices to reduce reproductive failure in broiler breeders a) Draw a normal poultry sperm and label parts appropriately. Indicate clearly the tail,mitochondria, nucleus and acrosome regions b) Briefly describe the concept behind...
1.list different kinds of worker required to design, build and move in to a house 2.can...
1.list different kinds of worker required to design, build and move in to a house 2.can all these jobs be done by one person? why?
C Programming build a function that is outside of main domain but can be called Build...
C Programming build a function that is outside of main domain but can be called Build a function that will : - Take 3 arrays and their lengths as input: Array 1 for even numbers, Array 2 for odd numbers. Both 1 and 2 have the same size - put all elements in array 3 elements from array 1 should be placed in the even indexes and elements of array 2 should be placed in the odd indexes, in increasing...
What are the 4 different kinds of mergers? List them and give a hypothetical example of...
What are the 4 different kinds of mergers? List them and give a hypothetical example of each?
There are different kinds of isomers, describe them. Name FIVE functional groups and list a property...
There are different kinds of isomers, describe them. Name FIVE functional groups and list a property of each one. Why is carbon so important to life on earth?
Questions related to C#. When you build a class in C#.NET, how many sub classes can...
Questions related to C#. When you build a class in C#.NET, how many sub classes can inherit from the class that you just built? In Object Oriented Development, there are 3 primary concepts that define Object Oriented Programming. What are these concepts? Function/Method Overloading is when you build 2 or 3 functions with the same name but different argument lists. T/F?
Having learned different kinds of costs and the systems used to accumulate them, what kinds of...
Having learned different kinds of costs and the systems used to accumulate them, what kinds of costs would a social media company like Twitter or Tik-Tok, would incur? Are there labor, material, and overhead costs? Are there fixed and variable costs and direct and indirect costs? What are the types of services produced by social media companies? And how do the costs incurred relate to the services they generate? (300 words) C-5: As a cost accountant of a company that...
List the various kinds of stock and describe the differences between them.
List the various kinds of stock and describe the differences between them.
Can you please describe the different kinds of joins used in SQL?
Can you please describe the different kinds of joins used in SQL?
How many different ways can you solve a quadratic equation? List them. Create a trinomial that...
How many different ways can you solve a quadratic equation? List them. Create a trinomial that can be factored and write it in standard form. Factor x^2 – 7x + 10, 4x^2 – 81 and p (x) = 3x^3 – 12x What key features of a quadratic graph can be identified and how are the graphs affected when constants or coefficients are added to the parent quadratic equations? Compare the translations to the graph of linear function. Create examples of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT