For ABP enthusiasts, there are two problems with using ABP, the first is how to get started, and the second is how to upgrade, but today's topic is how to upgrade the components package of ABP . Currently my project version is 0.8.2
Through the official website boilerplate generated project front-end I was using the beyond admin this set of topics.
Framework Description
The core package of the ABP:ABP system. Framework underlying Foundation
Abp.web: Provides a common class of MVC and Web API presentation layers
Abp.Web.Resource: Provides a resource encapsulation of the Web tier
ABP.WEB.MVC: Provides encapsulation of ASP. NET MVC-specific classes and resources
ABP.WEB.API: Provides some ASP. NET Web Api-specific classes and resources
Abp.entityframework: Provides base classes and adapters for working with EF
Abp.nhibernate: Provides base classes and adapters for working with NH
Abp.fluentmigrator: Use the ABP to provide some simple extension methods for Fluentmigrator.
Abp.automapper: Provides some simple features and extension methods to make automapper easier to use.
2. Execute update-package command
update-package abp-version 0.8.3
update-package abp.zero-version 0.8.3
update-package abp.automapper-version 0.8.3
update-package abp.entityframework-version 0.8.3
update-package Abp.zero.entityframework-version 0.8.3
update-package entityframework.dynamicfilters-version 1.4.7
update-package abp.hangfire-version 0.8.3
update-package Abp.owin- Version 0.8.3
update-package abp.web-version 0.8.3
update-package Abp.web.api-version 0.8.3
update-package abp.web.mvc-version 0.8.3
Update-package abp.web.resources-version 0.8.3
update-package abp.web.signalr-version 0.8.3
add-migration initialcreate
update-database Update-database
For ABP enthusiasts there are two problems with ABP, the first is how to get started, and the second is how to upgrade, however, the topic today is how to upgrade the ABP component package, after my understanding of ABP, I think that ABP can
Understood as a general-purpose version of the framework of the front-end separation (purely personal view) with such a knowledge I found that the ABP upgrade is also simple, so the upgrade is divided into the front and back end of the update ABP component package is the back end of the matter. Currently my project version is 0.8.2
Through the official website boilerplate generated project front-end I was using the beyond admin this set of topics.
Framework Description
The core package of the ABP:ABP system. Framework underlying Foundation
Abp.web: Provides a common class of MVC and Web API presentation layers
Abp.Web.Resource: Provides a resource encapsulation of the Web tier
ABP.WEB.MVC: Provides encapsulation of ASP. NET MVC-specific classes and resources
ABP.WEB.API: Provides some ASP. NET Web Api-specific classes and resources
Abp.entityframework: Provides base classes and adapters for working with EF
Abp.nhibernate: Provides base classes and adapters for working with NH
Abp.fluentmigrator: Use the ABP to provide some simple extension methods for Fluentmigrator.
Abp.automapper: Provides some simple features and extension methods to make automapper easier to use.
2. Execute update-package command
update-package abp-version 0.8.3
update-package abp.zero-version 0.8.3
update-package abp.automapper-version 0.8.3
update-package abp.entityframework-version 0.8.3
update-package Abp.zero.entityframework-version 0.8.3
update-package entityframework.dynamicfilters-version 1.4.7
update-package abp.hangfire-version 0.8.3
update-package Abp.owin- Version 0.8.3
update-package abp.web-version 0.8.3
update-package Abp.web.api-version 0.8.3
update-package abp.web.mvc-version 0.8.3
Update-package abp.web.resources-version 0.8.3
update-package abp.web.signalr-version 0.8.3
add-migration initialcreate
update-database Update-database
3. Data migration
Add-migration initialcreate
Update-database
4. Code modification
Public Usermanager (
Userstore Store,
RoleManager rolemanager,
Irepository<tenant> Tenantrepository,
Imultitenancyconfig Multitenancyconfig,
Ipermissionmanager Permissionmanager,
Iunitofworkmanager Unitofworkmanager,
Isettingmanager Settingmanager,
Iusermanagementconfig Usermanagementconfig,
Iiocresolver Iocresolver,
Icachemanager CacheManager,
Irepository<organizationunit, Long> Organizationunitrepository,
Irepository<userorganizationunit, Long> Userorganizationunitrepository,
Iorganizationunitsettings Organizationunitsettings,
Irepository<userloginattempt, long> userloginattemptrepository
)
: Base (
Store
RoleManager,
Tenantrepository,
Multitenancyconfig,
Permissionmanager,
Unitofworkmanager,
Settingmanager,
Usermanagementconfig,
Iocresolver,
CacheManager,
Organizationunitrepository,
Userorganizationunitrepository,
Organizationunitsettings,
Userloginattemptrepository)
{
}
The Usermanager class adds a record irepository<userloginattempt to the user logon operation, long> userloginattemptrepository
ABP Component Package Upgrade