Introduction to spring. NET Framework

Source: Internet
Author: User

Spring framework is sophisticated because of its advanced architecture and its integration with a series of cutting-edge development ideas, it has been well received by developers since its launch. It applies the design pattern to the best of life, its elegance and charm conquer many Java developers and make these developers become its followers. Program Spring leads the development trend of J2EE, and spring joins hands with various frameworks to help its followers fly as soon as possible, for example, the old brother SSH (the tedious configuration of struts and hibernate, spring Integration), the rising star ejsa (lightweight and flexible, and zero-configuration easyjweb + JPA + spring + acegi, suitable for individuals and enterprises that focus on efficient development, and so on. Spring has become mature, bringing endless convenience to developers. So. NET developers, can we appreciate and taste the spring feast? The answer is yes. The spring development team transplanted the Spring framework ideas of applications and Java and contributed a suitable combination.. Net project development spring.. NET Framework. There are very few Chinese documents about spring. net on the Internet. Currently, Chinese documents about spring.net cannot be found on Baidu. Here we try our best to describe them in Chinese. First, let's take a look at Spring. net. In short, spring. net uses various powerful design patterns as tools to manage our project architecture. Spring. net uses excellent and well-tested design patterns, allowing us to scientifically and rationally manage and integrate all aspects of our enterprise-level development and some scattered components, it also coordinates and handles the relationships between them, and enhances the robustness of the project. Let's take a look at the composition of spring. net. Next we will introduce various main modules of spring. net. For good English, visit http://www.springframework.net/overview.html. Spring. core is the core and basis of the entire framework and implements the dependency injection function. Most modules of spring. Net depend on or expand this module. Spring. core is based on the iobjectfactory interface, which implements the factory mode in a simple and elegant way, so that we do not need to write the singleton class and numerous service locators, the object configuration and dependency can be decoupled from the specific program logic. The iapplicationcontext interface in this module is an extension of iobjectfactory and provides many enterprise-level functions, including using resource files for text localization, event propagation, and resource loading. Spring. AOP provides support for Aspect-oriented programming (AOP) for business objects. AOP improves the IOC container function and lays a solid foundation for creating enterprise applications and using declarative services. Spring. web-Based ASP. net, including ASP.. NET page for dependency injection, two-way data binding, in. net Framework 1.1 uses the master page and enhanced Localization support. Spring. Services allows any "common" Object (which does not inherit any objects of the specified base class) to be published as an enterprise service (COM +) or remote object. Through dependency injection and feature metadata coverage, this module provides great flexibility for. NET web services. It also supports Windows Services. Next version of spring. net is estimated to be added to powershell to support spring. data defines an abstract data access layer that can span various data access technologies (from ADO.. Net to various ORM) for data access. This module contains an abstract layer of ADO. Net, which reduces the workload for coding and transaction management using traditional ADO. net. Spring. orm provides an integration layer for popular ORM class libraries, including declarative transaction management and other functions. here we briefly understand spring. NET functions and structure system, spring. the core functions of net are IOC and AOP. net is also based on these two topics.Article . At the same time, I will leave you with a question to think about: Code How can we simplify and improve it?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.