# dotnetcore/osharp

OSharp是一个基于.Net6.0的快速开发框架，框架对 AspNetCore 的配置、依赖注入、日志、缓存、实体框架、Mvc(WebApi)、身份认证、功能权限、数据权限等模块进行更高一级的自动化封装，并规范了一套业务实现的代码结构与操作流程，使 .Net  框架更易于应用到实际项目开发中。

Repository: https://github.com/dotnetcore/osharp
Canonical: https://ross.abutalabs.com/products/osharp
Homepage: https://demo.osharp.top/
Language: C#
License: Apache-2.0
License Family: permissive
Topics: osharp, netstandard, aspnetcore, osharpns
Last push: 2026-06-16T15:01:26+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 8, longevity 100
- inputs: {"age_days": 3306, "days_push": 78, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2847, forks 763 (observed 2026-08-28T04:07:25.504355+00:00)

## What it is
OSharp is a rapid development framework for .NET 6.0+ that wraps AspNetCore modules such as configuration, dependency injection, logging, caching, Entity Framework Core, MVC/WebApi, authentication, and function/data permissions with higher-level automation. It also standardizes a business code structure and workflow to make .NET easier to apply in real-world projects.

## Use cases
- build a webapi backend with aspnetcore quickly
- add role-based and data-level permissions to a .net app
- scaffold a layered business architecture with efcore
- standardize dependency injection and logging setup across services
- rapidly prototype an admin system with vue or angular frontend
- swap between sqlserver, mysql, sqlite, postgresql, or oracle backends

## When to choose
- you are starting a new .NET 6+ web application and want batteries-included conventions
- you need integrated authentication plus function-level and data-level authorization out of the box
- you want a standardized project structure and workflow for team development
- you need multi-database support via Entity Framework Core with minimal setup

## When to avoid
- you prefer minimal, micro-framework approaches where you assemble each component yourself
- your project is not on the .NET/AspNetCore stack
- you need a framework with a very large international community and ecosystem
- you require non-relational databases as the primary data store

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, api-framework, auth, authorization, orm, caching, logging, middleware, dependency-audit
- domain: web-development, backend, developer-tools, apis
- platform: dotnet, cross-platform
- tags: aspnetcore, rapid-development, efcore, code-structure, nuget, csharp, full-stack-framework, data-permissions, web-server

## Member repositories
- dotnetcore/osharp (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:25.504355+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:37:01.159328+00:00, confidence not recorded.
  - readme: https://github.com/dotnetcore/osharp (fetched 2026-08-28T04:07:25.504355+00:00, sha 6ba97cf4c118)
- Data as of 2026-08-30T08:39:29.467469+00:00.
