NXDO.WebAPI.N6 2.4.60.1

Suggested Alternatives

NXDO.WebAPI

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package NXDO.WebAPI.N6 --version 2.4.60.1
NuGet\Install-Package NXDO.WebAPI.N6 -Version 2.4.60.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NXDO.WebAPI.N6" Version="2.4.60.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NXDO.WebAPI.N6 --version 2.4.60.1
#r "nuget: NXDO.WebAPI.N6, 2.4.60.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NXDO.WebAPI.N6 as a Cake Addin
#addin nuget:?package=NXDO.WebAPI.N6&version=2.4.60.1

// Install NXDO.WebAPI.N6 as a Cake Tool
#tool nuget:?package=NXDO.WebAPI.N6&version=2.4.60.1

简述

NXDO.WebAPI - for Asp.Net Core

工程创建请采用 NXDO 提供的工程模板 NXDO.Addin2022.vsix 在新工程引用 NXDO.WebAPI.N6

内置支持:远程 vue 组件,reids,健康检查,数据库,成员资格与权限

EX.扩展支持后端管理(朱雀系统)

用于一般的系统维护:朱雀系统

VUE元素权限控制

请使用[朱雀系统]进行授权配置

<template>
    <div>
        
        <uip id="m123" text="Button">
            <el-button>Button</el-button>
        </uip>
        <uip id="m124" text="Button">授权通过,你有 m124 的权限</uip>
    </div>
</template>
<script>
//程序集内置
import uip from './ui.nxdo.vue';
export default {
        components: {
            uip,    
        },
        template: `#template`,
    };
</script>

动态实体控制器支持

1.实体类定义

    public class AUser : NXDO.Data.Entity{
        [Field(Flag = FieldFlag.IsKey | FieldFlag.IsAutoValue)]
        public long UserId { get; set; }

        [Field]public String UserName { get; set; }

        ...
    }

2.实体类控制器 程序启动时,框架自动映射控制器 AUserController

    public class AUserController : 
        NXDO.WebAPI.Controllers.ApiDbEntityController<AUser, long>, 
        NXDO.WebAPI.Controllers.IApiDbEntityController{

        ...
    }

3.注意配置节 需要在 NXDO.WebAPI.josn 的 apiSettings 节中,设置程序集 示例:

{
    "namespace": "data", //命名空间,替换 url访问时,路由(routeBaseUrl)定义中 {namespace} 做为url地址。
    "assemblyName": "NXDO.ATest.DataEntity"
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

1)加解密支持(namespace:NXDO.Data.Security.Cryptography) 2)提供加解密的ApiBinaryCryptoController-TODO:向量表可存到DB 3)现有其它功能调整优化(更多...)