Esbasic reusable. Net class library (00) -- Open Source Preface

Source: Internet
Author: User

Since 03 Officially used in . Net Since development 6 During this period, I have accumulated several sets of class libraries and frameworks, Esbasic Is the most basic class library. Esbasic Yes Enterprise Service basic Which is also abbreviated ESB But it and Enterprise Service Bus (Enterprise Service Bus) is irrelevant. Esbasic Is my ability to quickly and efficiently develop applicationsProgramOne of the powerful tools. Blog I want to introduce it to you, hoping to inspire you.

Esbasic The covered content includes: Object Management, plug-ins, and networks ( Socket ), Multithreading, Emit And AOP And Related helper classes and basic types. The following blog posts will introduce them one by one. Esbasic The Origin, application scenarios, design ideas and implementations of each important category, precautions for use, and extensions.

The essence of a class library is reuse. The biggest value lies in PracticalDesign a beautiful but impractical work of art. Demo But the value of reuse has been lost.

The essence of the so-called reuse lies in abstraction-to be abstract just right. It cannot be too abstract. It is only a concept that cannot be directly used. The abstract level cannot be too low. Otherwise, it is easy to bind it with a specific application, this limits the scenario and scope of reuse. "High Cohesion and low coupling" is a principle we must abide by when designing reusable classes.

oo itself is an abstract thinking, however, to create reusable classes, you only need to oo is not enough, your thinking needs to be constantly exercised-think about whether the class can be upgraded to be reused in more scenarios. If it can be upgraded, how can it be upgraded? How can the abstraction level be improved? What are deleted? What are reserved? Do you need to introduce generic parameters? abstract class, and so on. When you have enough experience, you will form a habit that will help you become a good designer and developer of reusable class libraries.

esbasic Based on . NET 2.0 (vs2008 Development Environment) , 2.0 is the latest version. you can email me any feedback or comments: sky.zhuwei@163.com , thanks.
esbasic overview directory preview:

 

Esbasic Open Source on codeplex, using MS-PL open source protocol, download source code and details, see: http://esbasic.codeplex.com/
At last, it should be noted that esbasic meets the needs of my current job. This is also the reason for its emergence and is also my main purpose. But it is not a perfect library. From any perspective (such as content and design), it still has to be improved, the purpose of open source is to give you a reference.

 

 

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.