Essay Category - ABP.NET framework

Abstract: The event bus is one kind of subscription / release patterns to achieve is to reduce the coupling event bus 1. For example trigger event everywhere volume data processing method of logic event e to event sender object in winform achieved by the event object and EventBus time event processing logic 1. decoupling pulled the trigger event occurs event object object sources (optional) 2. pulled out of the event  read more
 
 
Abstract: Session authentication and JWT (Json Web Token) Token authentication is based on JWT 1.Session enter their user login authentication 1. 2. The server verifies the information is correct, and create a session, then the database server 3 stores for the user to generate a sessionId, it will have sesssionId of Coo  read more
 
 
Abstract: In the Startup and then in the Application Layer Properties - Generate - Generate XML documentation file  Read more
 
 
Abstract: ASP.NET CORE comes Microsoft.Extensions.DependencyInjection dependency injection container does not support injecting property does not support batch injection ABP dependency injection framework Castle.Windsor .NET Core project is to create a return type is ConfigureService here it becomes IS  read more
 
 
Abstract: Verify that it is normal for the development environment is an error or jump to the wrong page app.UseStaticFiles (); if there is a request to verify the current physical objects exist not go directly back to the previous pipeline route MVC model to instantiate the controller according to the method of transfer request controllers and 20 events in invoke invoke execution in the pipeline in .NET Core  read more
 
 
Abstract: ABP realized default permissions verification filter AbpAuthorizationFilter can customize their own rights filter through inheritance rights data storage table AsyncAuthorizationFilter by AOP + characteristics [AbpPermissions] class 1. Set permissions required need to derive from AuthorizationPr  Read more
 
 
Abstract: 1 defines an interface which is configured attributes public interface IMyConfiguration {int Id {get ; set;} string Name {get; set;}} 2. implement the interface public class MyConfiguration: IMyConfig  Read
 
 
Abstract: just where to catch exceptions can create a folder inside the back of the inheritance interfaces write a LonsidException CORE class in the service layer or layers then override inherited methods such exception error will appear in the run no matter where in the operational phase of the project here ABP capture the error an error message  read more
 
 
Abstract: The project which addresses the root address 1.ServerRootAddress run to start the project needs to be configured with the same address will not be allowed access to 2.CorsOrigins address cross-domain configuration item  Read more
 
 
Abstract: ABP is the cache key (key, value) is stored is acquired GetCache ICache know the specific type of this type if the ICache intensity may be directly transferred Icache.AsTyped <int, string> () provided by the cache when the third SetAsync sliding expiration time argument is the fourth argument is the absolute expiration time source  read
 
 
Summary: If all the successful emergence of a failure to submit the rollback to person.Name assignment method that does not require data to be saved in the database will automatically modify the following two open transaction does not know what difference you need to create the object dependency injection private readonly IUnitOfWorkManager unitOfWorkManager; Note: work  read more

Guess you like

Origin www.cnblogs.com/Alex80/p/12416754.html