GithubHelp home page GithubHelp logo

daxnet / apworks-core Goto Github PK

View Code? Open in Web Editor NEW
203.0 24.0 58.0 1.97 MB

Apworks framework supporting .NET Core

License: Apache License 2.0

PowerShell 0.05% C# 98.96% Makefile 0.09% Batchfile 0.12% Python 0.78%
domain-driven-design enterprise-applications cqrs framework microservices

apworks-core's Introduction

Apworks Core

Apworks framework supporting .NET Core.

Build status

Introduction

Apworks is an application development framework which provides essential components and building blocks for creating, implementing and deploying enterprise applications with either classic layered architecture or event-driven CQRS architecture styles. The original repo of Apworks framework is here, which was targeting specifically on .NET Framework 4.5.1 based on some legacy technologies and not being maintained anymore.

Apworks Core is the rewrite of the original Apworks framework, with the following enhancements or features built in:

  • Built based on .NET Core (targeting NetStandard 2.0), which means Apworks Core can work in both Windows and Linux systems
  • Integrated with ASP.NET Core seamlessly. Fluent APIs provided by the integration component allows developers to enable Apworks features in ASP.NET Core very easily and smoothly
  • Cloud-friendly, support on modern development and DevOps tech stack, such as Microservices, Hypertext Application Language (a.k.a. HAL), Docker, MongoDB, etc.
  • Native support of task based programming model (async/await)
  • Native support of custom entity identifier
  • And so on...

How to Build

  1. Install latest version of .NET Core SDK

  2. Install Git

  3. Clone this repo with the following command:

    git clone https://github.com/daxnet/apworks-core

  4. Build Apworks with the following command:

    dotnet build Apworks.sln

Examples

Please refer to Apworks Examples Github repo for the example applications that make use of Apworks Core framework.

Documentation

Please find the latest documentation here.

References

apworks-core's People

Contributors

daxnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apworks-core's Issues

MessageJsonSerializer.DeserializeAsync 会抛异常

在 v0.1.122 版本后,当调用 MessageJsonSerializer.DeserializeAsync() 方法的时候会抛出下面的异常:
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot implicitly convert type 'System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JObject>' to 'System.Threading.Tasks.Task<object>' at CallSite.Target(Closure , CallSite , Object ) at Apworks.ObjectSerializer.DeserializeAsync(Byte[] data, CancellationToken cancellationToken) at Apworks.Serialization.Json.MessageJsonSerializer.<DeserializeAsync>d__4.MoveNext()

查看源码后应该是下面的代码引起的:
public virtual Task<dynamic> DeserializeAsync(byte[] data, CancellationToken cancellationToken = default(CancellationToken)) => Task.FromResult(Deserialize(data));
估计是 Task.FromResult() 不能处理 dynamic 类型引起的。

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.