. NET open source plug-in kernel

Source: Internet
Author: User

. NET open source plug-in kernel, support WinForm and ASP. The purpose of the design is to use the "Development platform + plug-in kernel" to develop subsystems, and to carry out some expansion of the system, customized development.

Unlike many of the plugins implemented by Daniel, the plug-in kernel does not need to build an ASP. NET MVC, and does not need to build view,controller in the plugin.

It is possible that the plugin simply provides a rest API. Plug-ins should belong to the underlying abstraction and do not depend on specific frameworks and tools.

How to use?

1. Create a plug-in host

Implementation interface: Ipluginhost

2. Write the deployment plug-in to write the plug-in, and placed in the specified directory (default plugins), plug-ins need to implement the IPlugin interface

3. Connect the plugin:

Ipluginhost.connect ()

The plugin directory is as follows:

Implementation mechanism: Using appdomain.loadassembly () to achieve dynamic loading, interface needs to implement IPlugin interface,

You need to implement Ipluginhost (plug-in host) to implement plug-in management, installation and upgrade. The principle is very simple, the details teach many.

PS: Write a lot of things, directly take out the open source. Make the wheel very hard, ask fork to support a bit.

Managed Address: Https://github.com/newmin/dotnet-plugin-kernel

Application Case: Http://github.com/newmin/cms

. NET open source plug-in kernel

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.