GithubHelp home page GithubHelp logo

wushian / coolcat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lamondlu/coolcat

0.0 0.0 0.0 7.4 MB

A sample about how to create a dynamic plugins mechanism with ASP.NET Core Mvc at runtime. This sample is based on .NET Core 3.1 and .NET 5

Home Page: https://www.cnblogs.com/lwqlun/p/11343141.html

C# 76.69% CSS 5.42% HTML 16.49% TSQL 0.35% JavaScript 1.06%

coolcat's Introduction

CoolCat

A sample about how to create a dynamic plugins mechanism with ASP.NET Core Mvc based on the AssemblyLoadContext.

This whole project is built under .NET Core 3.1 and .NET 5.

What i will do and what i will not do

I want to build a runtime plugin mechanism based on .NET Core 3.1 and .NET 5. Each plugin will be isolated by a custom AssemlyLoadContext. So the framework allow you to reference same library with different version.

Getting Started

  • Clone the source code
  • Run docker-compose up
  • Install the pre-set modules
  • Start to use the system

How to create and publish a plugin

  • Run dotnet new -i CoolCatModule, it will install the CoolCatModule on your machine
  • Run dotnet new CoolCatModule -n {your plugin name}
  • Build the plugin with VisualStudio 2019 or dotnet publish
  • Package the release files into a zip package

coolcat's People

Contributors

lamondlu avatar fanniejing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.