Page 24 - DCAP312_WEB_TECHNOLOGIES_II
P. 24

Web Technologies-II



                   Notes         1.9 ASP.NET Architecture



                                 ASP.NET is based on the   architecture of .NET Framework. Visual studio provides a uniform
                                 way to combine the various features of this Architecture.
                                                         Figure 1.7: ASP.NET Architecture


















                                 Architecture is explained form underside to top in the following discussion.
                                    1.  At the bottom of the Architecture is Common Language Runtime. .NET Framework
                                      common language runtime resides on top of the operating system services. The common
                                      language runtime loads and executes code that targets the runtime. This code is therefore
                                      called managed code. The runtime gives you, for example, the ability for cross language
                                      integration.
                                    2.  .NET Framework provides a rich set of class libraries. These include base classes, like
                                      networking and Input/Output classes, a data class library for data access, and classes for
                                      use by programming tools, such as debugging services. All of them are brought together
                                      by the Services Framework, which sits on top of the common language runtime.
                                    3.  ADO.NET is Microsoft’s ActiveX Data Object (ADO) model for the .NET Framework. ADO.
                                      NET is not simply the migration of the popular ADO model to the managed environment
                                      but a completely new paradigm for data access and manipulation.

                                       ADO.NET is intended specifically for developing web applications. This is evident from
                                      its two major design principles:

                                       1.  Disconnected Datasets In ADO.NET, almost all data manipulation is done outside
                                          the context of an open database connection.
                                       2.  Effortless Data Exchange with XML Datasets can converse in the universal data format
                                          of the Web, namely XML.
                                    4.  The 4th layer of the framework consists of the Windows application model and, in parallel,
                                      the Web application model. The Web application model in the slide presented as ASP.
                                      NET-includes Web Forms and Web Services.

                                       ASP.NET comes with built in Web Forms controls, which are responsible for generating
                                      the user interface. They mirror typical HTML widgets like text boxes or buttons. If these
                                      controls do not fit your needs, you are free to create your own user controls.
                                       Web Services brings you a model to bind different applications over the Internet. This
                                      model is based on existing infrastructure and applications and is therefore standard-based,
                                      simple, and adaptable.





        18                                LOVELY PROFESSIONAL UNIVERSITY
   19   20   21   22   23   24   25   26   27   28   29