Introduction Dapper is an object-relational mapper (ORM) for .NET. Abp.Dapper package simply integrates Dapper to ASP.NET Boilerplate. It works as secondary ORM provider with EF 6.x, EF Core or NHibernate. Installation Before you start, you need to i…
Introduction Every application need to store some settings and use these settings in somewhere in the application. ASP.NET Boilerplate provides a strong infrastructure to store/retrieve application, tenant and user level settings usable both in serve…
Introduction ASP.NET Boilerplate is integrated to MVC Views via Abp.Web.Mvc nuget package. You can create regular MVC Views as you always do. AbpWebViewPage Base Class ASP.NET Boilerplate also provides AbpWebViewPage, which defines some useful proper…
Introduction "Cross-Site Request Forgery (CSRF) is a type of attack that occurs when a malicious web site, email, blog, instant message, or program causes a user’s web browser to perform an unwanted action on a trusted site for which the user is curr…
What Is Multi Tenancy? "Software Multitenancy refers to a software architecture in which a single instance of a software runs on a server and serves multiple tenants. A tenant is a group of users who share a common access with specific privileges to…
ASP.NET Boilerplate can work with any O/RM framework. It has built-in integration with NHibernate. This document will explain how to use NHibernate with ASP.NET Boilerplate. It's assumed that you're already familar with NHibernate in a basic level. A…
Introduction Layering of an application's codebase is a widely accepted technique to help reduce complexity and improve code reusability. To achieve layered architecture, ASP.NET Boilerplate follows the principles of Domain Driven Design. 分层应用程序的代码是一…
ASP.NET Boilerplate provides an infrastructure and a model to configure it and modules on startup. ASP.NET提供了一个基础和样板模型配置和模块启动. Configuring ASP.NET Boilerplate Configuring ASP.NET Boilerplate is made on PreInitialize event of your module. Example conf…
Introduction ASP.NET Boilerplate provides an abstraction for caching. It internally uses this cache abstraction. While default implementation uses MemoryCache, it can be implemented and changable for any other caching provider.Abp.RedisCache package…
Server Side(服务端) ASP.NET Boilerplate uses Castle Windsor's logging facility. It can work with different logging libraries: Log4Net, NLog, Serilog... etc. Castle provides a common interface for all logger libraries. So, you're independent from specifi…
Introduction It's a common to map a similar object to another object. It's also tedious and repeating since generally both objects (classes) may have similar/same properties mapped to each other. Think on a typical application servicemethod below: 将相…
Data Transfer Objects are used to transfer data between Application Layer and Presentation Layer. 数据传输对象用于在应用层和表示层之间传输数据. Presentation Layer calls to an Application Service method with a Data Transfer Object (DTO), then application service uses domai…
Introduction Notifications are used to inform users on specific events in the system. ASP.NET Boilerplate provides a pub/sub based real time notification infrastructure. 通知用于通知用户系统中的特定事件.ASP.NET的模板提供了一个基于实时通知基建Pub/Sub. Sending Models(发送模式) There are…
If you are using both of ASP.NET MVC and ASP.NET Web API in your application, you need to add Abp.Owinnuget package to your project. Installation Add Abp.Owinnuget package to your host project (generally, to the Web project). Install-Package Abp.Owin…
While it's not generally needed, you may want to step into ABP's source code while you debugging your project. All official ASP.NET Boilerplate nuget packages are Sourcelink enabled. That means you can easily debug Abp.* nuget packages within your pr…
Introduction Specification pattern is a particular software design pattern, whereby business rules can be recombined by chaining the business rules together using boolean logic (Wikipedia). In pratical, it's mostly used to define reusable filters for…
Application Services are used to expose domain logic to the presentation layer. An Application Service is called from presentation layer with a DTO (Data Transfer Object) as parameter, uses domain objects to perform some specific business logic and r…
Introduction to validation Inputs of an application should be validated first. This input can be sent by user or another application. In a web application, validation is usually implemented twice: in client and in the server. Client-side validation i…
Introduction Wikipedia: "An audit trail (also called audit log) is a security-relevant chronological record, set of records, and/or destination and source of records that provide documentary evidence of the sequence of activities that have affected a…
Introduction ASP.NET Boilerplate is integrated to ASP.NET MVC Controllers via Abp.Web.Mvc nuget package. You can create regular MVC Controllers as you always do. Dependency Injection properly works for regular MVC Controllers. But you should derive y…
Introduction ASP.NET Boilerplate provides background jobs and workers those are used to execute some tasks in background threads in an application. ASP.NET样板提供背景工作和工人是用来执行一些任务在后台线程中的一个应用. Background Jobs Background jobs are used to queue some tasks t…
Introduction Quartz is a is a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems. Abp.Quartz package simply integrates Quartz to ASP.NET Boilerplate. Quartz是一个功能齐全的开源作业调度系统,可以从最小的应用程…
Introduction From it's web site: "....with a Swagger-enabled API, you get interactive documentation, client SDK generation and discoverability." 从它的网站:“使API,你得到的交互式文档,客户端SDK的生成和发现.” ASP.NET Core Install Nuget Package Install Swashbuckle.AspNetCo…
ASP.NET Boilerplate provides a set of objects and functions that are used to make javascript development easy and standards-based. ASP.NET的模板提供了一套,是用来使JavaScript开发容易.基于标准的.功能的对象. Here is a list of APIs in ASP.NET Boilerplate. Click headers to see det…