All Projects → i66soft → Osharp V4

i66soft / Osharp V4

Licence: apache-2.0
osharp framework with .net framework version 4.x

Projects that are alternatives of or similar to Osharp V4

SignalR-Core-SqlTableDependency
Shows how the new SignalR Core works with hubs and sockets, also how it can integrate with SqlTableDependency API.
Stars: ✭ 36 (-92.37%)
Mutual labels:  entity-framework
mysql-dotnet-core
ASP.NET Core 5.0 Web Application using MySQL with Entity Framework
Stars: ✭ 95 (-79.87%)
Mutual labels:  entity-framework
Efsecondlevelcache.core
Entity Framework Core Second Level Caching Library
Stars: ✭ 300 (-36.44%)
Mutual labels:  entity-framework
sqlite-dotnet-core
.NET Core 2.1 Console Application using SQLite with Entity Framework and Dependency Injection
Stars: ✭ 17 (-96.4%)
Mutual labels:  entity-framework
OpenSleigh
OpenSleigh is a Saga management library for .NET Core.
Stars: ✭ 198 (-58.05%)
Mutual labels:  entity-framework
csharp-ddd-skeleton
🦈✨ C# DDD Skeleton: Bootstrap your new C# projects applying Hexagonal Architecture and Domain-Driven Design patterns
Stars: ✭ 67 (-85.81%)
Mutual labels:  entity-framework
OrdersManagementSystem
Project demonstrates usage of Prism composition library, Material design library, SQL Server, Entity Framework in WPF application
Stars: ✭ 29 (-93.86%)
Mutual labels:  entity-framework
Delegatedecompiler
A library which is able to decompile a delegate or a method body to its lambda representation
Stars: ✭ 397 (-15.89%)
Mutual labels:  entity-framework
ASP.NET-Core-2-MVC-CRUD-datatables-jQuery-Plugin
Asp.Net Example implementation of datatables.net using Asp.Net Core 2 Mvc CRUD datatables jQuery Plugin
Stars: ✭ 25 (-94.7%)
Mutual labels:  entity-framework
Mockqueryable
Moking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc
Stars: ✭ 281 (-40.47%)
Mutual labels:  entity-framework
AppsTracker
Windows Application for tracking computer usage. C# + WPF + MVVM
Stars: ✭ 27 (-94.28%)
Mutual labels:  entity-framework
WpfFramework
Using Entity framework code-first and unit of work pattern with WPF applications.
Stars: ✭ 14 (-97.03%)
Mutual labels:  entity-framework
Efdesigner
Entity Framework visual design surface and code-first code generation for EF6, Core and beyond
Stars: ✭ 256 (-45.76%)
Mutual labels:  entity-framework
BlipDrop
ASP.NET MVC case study solution for PluralSight Guides. Demonstrates how to use populate dropdown lists in Razor views.
Stars: ✭ 40 (-91.53%)
Mutual labels:  entity-framework
Sapphiredb
SapphireDb Server, a self-hosted, easy to use realtime database for Asp.Net Core and EF Core
Stars: ✭ 326 (-30.93%)
Mutual labels:  entity-framework
react-redux-aspnet-core-webapi
No description or website provided.
Stars: ✭ 34 (-92.8%)
Mutual labels:  entity-framework
postgresql-dotnet-core
ASP.NET Core 3.1 Web Application using PostgreSQL with Entity Framework
Stars: ✭ 78 (-83.47%)
Mutual labels:  entity-framework
Model
Ruby persistence framework with entities and repositories
Stars: ✭ 399 (-15.47%)
Mutual labels:  entity-framework
Nein Linq
NeinLinq provides helpful extensions for using LINQ providers such as Entity Framework that support only a minor subset of .NET functions, reusing functions, rewriting queries, even making them null-safe, and building dynamic queries using translatable predicates and selectors.
Stars: ✭ 347 (-26.48%)
Mutual labels:  entity-framework
Entityframework.exceptions
Handle database errors easily when working with Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql
Stars: ✭ 266 (-43.64%)
Mutual labels:  entity-framework

osharp framework version 3.x

此项目基于 .Net Framework,已不再维护

新项目基于 .NetStandard2.0,地址为 https://github.com/i66soft/osharp

简介

  1. OSharp是个快速开发框架,但不是一个大而全的包罗万象的框架,严格的说,OSharp中什么都没有实现。与其他大而全的框架最大的不同点,就是OSharp只做抽象封装,不做实现。依赖注入、ORM、对象映射、日志、缓存等等功能,都只定义了一套最基础最通用的抽象封装,提供了一套统一的API、约定与规则,并定义了部分执行流程,主要是让项目在一定的规范下进行开发。所有的功能实现端,都是通过现有的成熟的第三方组件来实现的,除了EntityFramework之外,所有的第三方实现都可以轻松的替换成另一种第三方实现,OSharp框架正是要起隔离作用,保证这种变更不会对业务代码造成影响,使用统一的API来进行业务实现,解除与第三方实现的耦合,保持业务代码的规范与稳定。
  2. 相关博客:OSharp框架解说系列文章
  3. QQ交流群:85895249 OSharp开发框架交流群

相关技术

  1. 技术框架:.NET Framework 4.5
  2. 技术平台:ASP.NET MVC5 + WebAPI5 + SignalR2
  3. 数据存储:EntityFramework 6.1.3
  4. 数据序列化:使用JSON.NET作为JSON序列化的主要工具
  5. 数据映射:定义通用对象映射操作API,并提供基于AutoMapper的实现,主要用于数据传输对象DTO与数据实体模型Model之间的相互转化,免于繁杂的对象属性赋值
  6. IoC组件:参考ASP.NET 5,从框架级别对依赖注入功能进行了抽象与封装,并提供基于Autofac的依赖注入实现
  7. 日志记录:定义通用日志记录接口与基础API,日志输出方式可以使用现成的任意日志组件(如log4net)

快速启动

从nuget中引用需要的osharp组件

在Web.Config中添名为name="default"的数据库连接

<connectionStrings>
    <add name="default" connectionString="Data Source=.; Integrated Security=True; Initial Catalog=OSharp.Default; Pooling=True; MultipleActiveResultSets=True;" providerName="System.Data.SqlClient" />
</connectionStrings>

在Global的Application_Start方法中添加初始化代码

IServicesBuilder builder = new ServicesBuilder();
IServiceCollection services = builder.Build();
services.AddDataServices();
IFrameworkInitializer initializer = new FrameworkInitializer();
initializer.Initialize(new MvcAutofacIocBuilder(services));

添加EntityInfo与Function实体类的实体映射配置

public class EntityInfoConfiguration : EntityConfigurationBase<EntityInfo, Guid>
{ }
public class FunctionConfiguration : EntityConfigurationBase<Function, Guid>
{ }

运行项目,即可初始化完成,将会自动生成相应的数据库

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].