. NET Core third-party open source web framework YOYOFX

Source: Internet
Author: User
Tags dotnet

YOYOFX Frame

Y OYOFX is a lightweight for building HTTP-based WEB services based on the. NET and Mono platforms.

In the attitude of learning, built this wheel, but also in order to better understand the principles of the various frameworks and a bit, but also hope to communicate with you more.

Github:https://github.com/maxzhang1985/yoyofx

YOYOFX is an MVC framework that supports the Owin protocol, and is based on NETStandard1.6 and NET451 compilation, which perfectly supports running on the core and full framework, such as the. NET Framework 4.5x or mono 4.x.

YOYOFX integrates the "first" verification code component on Dotnet Core, and the implementation of the verification code is mentioned in the previous article, "Dry Goods", "the first". NET core CAPTCHA component.

Features: YOYOFX MVC is based on the Owin run in the Core Web framework, YOYOFX is not developed based on ASP. NET Core MVC, and chooses the way to encapsulate the HTTP protocol yourself using the Owin protocol.

Cross-platform features:
    • Directly selfhost on the. NET Framework 4.5x and mono4.x or using Tinyfox cross-platform operation;
    • . NET Core 1.0 RTM for cross-platform operation;
    • With the Tinyfox standalone version, you can support a green deployment without the need to install mono and the framework.
    • After you package the core version with dotnet Publish, you can support a green deployment without the need for runtime.
Owin and Core

The HTTP implementation of YOYOFX is based on the Owin protocol and is available in two standalone versions netstandrd1.x and net45x versions.

Currently Complete:
    1. Encapsulating the HttpContext (Iowincontext) of the Owin protocol, including request, Response, Http Headers, cookies, etc.;
    2. Routing mechanism to add processing events to the framework by adding a custom routing table;
    3. Iowincontext-based MVC framework that supports multi-language extensions and supports session and custom action interceptors;
    4. The replaceable view engine, currently implementing the Razor view engine, joins the caching mechanism;
    5. Ported to Dotnet Core 1.0 RTM version
The following work:
    1. Integrate the project's directory structure into the project file for Dotnet core. (completed)
    2. Complete the di of the framework as a whole, the framework-level dependent objects are all built through dependency injection and object creation factory, first complete the controller's creation factory. (completed)
    3. Perfect routing system (in progress)
      • Support for defining routes such as method attributes [HttpGet] [HttpPost].
      • Supports custom routing paths.
      • Supports specifying specific handler handler functions for routing rules.

YOYOFX is also very imperfect, only completed the most basic functions, but I will persist in writing, adhere to open source, for the open source community to do a little bit of contribution.

GITHUB:HTTPS://GITHUB.COM/MAXZHANG1985/YOYOFX Star, Welcome to the exchange.

Communication groups for. NET Core and YOYOFX: 214741894

If you think this article is helpful to you, please click " recommend ", thank you.

. NET Core third-party open source web framework YOYOFX

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.