Lubbock Coding Academy Blog #301

matt coston
2 min readJul 29, 2019

--

  1. Discuss in words something you learned in class today or this week. Answer: I learned what ASP.Net actually is. I had heard about it for years but never looked into it.
  2. What is ASP.Net? Describe in your words what it is and why it was created. Answer: ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. ASP introduced MVC or Model View Controller.
  3. What’s the use of Response.Output.Write()? When and why would you use it? Answer: Response.Output.Write() allows you output responses that are formatted. This is especially useful if you need formatted output like for a date or time.
  4. In which event of page cycle is the ViewState available? Answer: That the view state is loaded during the Load phase of the page lifecycle, i.e. the LoadViewState method of the “Page methods” and the LoadViewState method of the Control methods, above. The Viewstate is actually loaded in the OnPreLoad event of the page.
  5. From which base class all Web Forms are inherited? Answer: Page class.
  6. What are the parts of Entity Data Model (EDM)? Answer: See https://www.tutorialspoint.com/entity_framework/entity_framework_data_model for an in depth tutorial on this topic.
  7. What are the components of Entity Framework Architecture? Answer:

EDM (Entity Data Model): EDM consists of three main parts — Conceptual model, Mapping and Storage model.

Conceptual Model: The conceptual model contains the model classes and their relationships. This will be independent from your database table design.

Storage Model: The storage model is the database design model which includes tables, views, stored procedures, and their relationships and keys.

Mapping: Mapping consists of information about how the conceptual model is mapped to the storage model.

LINQ to Entities: LINQ-to-Entities (L2E) is a query language used to write queries against the object model. It returns entities, which are defined in the conceptual model. You can use your LINQ skills here.

Entity SQL: Entity SQL is another query language (For EF 6 only) just like LINQ to Entities. However, it is a little more difficult than L2E and the developer will have to learn it separately.

Object Service: Object service is a main entry point for accessing data from the database and returning it back. Object service is responsible for materialization, which is the process of converting data returned from an entity client data provider (next layer) to an entity object structure.

Entity Client Data Provider: The main responsibility of this layer is to convert LINQ-to-Entities or Entity SQL queries into a SQL query which is understood by the underlying database. It communicates with the ADO.Net data provider which in turn sends or retrieves data from the database.

ADO.Net Data Provider: This layer communicates with the database using standard ADO.Net.

--

--

matt coston
matt coston

Written by matt coston

0 Followers

Hey there! I'm an IT manager by day, and I dabble in all things web development by night.

No responses yet