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…
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…
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…
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. 分层应用程序的代码是一…
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…
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 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…
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是一个功能齐全的开源作业调度系统,可以从最小的应用程…
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…
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…
Introduction Any application has at least one language for user interface. Many applications have more than one. ASP.NET Boilerplate provides a flexible localization system for an application. 任何应用程序至少有一种用于用户界面的语言.许多应用程序有多个.ASP.NET样板提供了一种柔性定位系统中的应用.…
Introduction ASP.NET Boilerplate provides an infrastructure to build modules and compose them to create an application. A module can depend on another module. Generally, an assembly is considered as a module. If you created an application with more t…
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…
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…
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…
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 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…
ASP.NET Boilerplate can work with any O/RM framework. It has built-in integration with EntityFramework. This document will explain how to use EntityFramework with ASP.NET Boilerplate. It's assumed that you're already familar with EntityFramework in a…
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 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 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: 将相…
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 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…
Every web application has some menu to navigate between pages/screens. ASP.NET Boilerplate provides a common ifrastructure to create and show menu to users. 每个Web应用程序都有一些菜单在页面/屏幕之间导航.ASP.NET提供了一个通用的ifrastructure样板文件创建和显示菜单的用户. Creating Menus An appli…
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…
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…
一.Spring MVC与Spring整合时实例被创建两次的解决方案 1.问题产生的原因 Spring MVC的配置文件和Spring的配置文件里面都使用了扫描注解<context:component-scan base-package="com.study.springmvc" /> 2.解决方案 2.1. 使 Spring 的 IOC 容器扫描的包和 SpringMVC 的 IOC 容器扫描的包没有重合的部分,把Handler和service/DAO放在不同的包下2.2…
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…