Software Engineer
1 week ago, 109 views
1 week ago, 75 views
1 week ago, 1710 views
2 weeks ago, 219 views
3 weeks ago, 1127 views
Today, we are happy to release the ABP Framework and ABP Commercial version 8.1 RC (Release Candidate). This blog post introduces the new features and important changes in this new version.
Try this version and provide feedback for a more stable version of ABP v8.1! Thanks to all of you.
Follow the steps below to try version 8.1.0 RC today:
8.1.0-rc.1
using a command line terminal:dotnet tool update Volo.Abp.Cli -g --version 8.1.0-rc.1
or install it if you haven't before:
dotnet tool install Volo.Abp.Cli -g --version 8.1.0-rc.1
--preview
option:abp new BookStore --preview
See the ABP CLI documentation for all the available options.
You can also use the Get Started page to generate a CLI command to create a new application.
You can use any IDE that supports .NET 8.x, like Visual Studio 2022.
There are a few breaking changes in this version that may affect your application. Please see the following migration documents, if you are upgrading from v8.x or earlier:
In this section, I will introduce some major features released in this version. Here is a brief list of titles explained in the next sections:
ExposeKeyedServiceAttribute
DisableAbpFeaturesAttribute
ExposeKeyedServiceAttribute
Keyed dependency injection (DI) services were added to the built-in DI container as a new feature with .NET 8.0. This is an important feature, which allows for registering and retrieving DI services using keys/names.
In this version, we have introduced the ExposeKeyedServiceAttribute
to allow you to automatically register keyed services by conventions:
[ExposeKeyedService<ITaxCalculator>("taxCalculator")]
[ExposeKeyedService<ICalculator>("calculator")]
public class TaxCalculator: ICalculator, ITaxCalculator, ICanCalculate, ITransientDependency
{
}
In the example above, the TaxCalculator
class exposes the ITaxCalculator
interface with the key taxCalculator
and the ICalculator
interface with the key calculator
.
Thanks to that, then you can use the FromKeyedServicesAttribute
to resolve a certain keyed service in the constructor:
public class MyClass
{
//...
public MyClass([FromKeyedServices("taxCalculator")] ITaxCalculator taxCalculator)
{
TaxCalculator = taxCalculator;
}
}
Notice that the
ExposeKeyedServiceAttribute
only exposes the keyed services. So, you can not inject theITaxCalculator
orICalculator
interfaces in your application without using theFromKeyedServicesAttribute
as shown in the example above.
If you want to learn more about the keyed dependency injection services, please refer to Microsoft's documentation and ABP Framework's Dependency Injection document.
In this version, we have introduced the custom menu component support, which allows you to use a custom component for a certain menu item.
You can use the UseComponent
extension method while defining menu items to use your custom component for the related menu item:
context.Menu.Items.Add(
new ApplicationMenuItem("Custom.1", "My Custom Menu", "#")
.UseComponent(typeof(MyMenuComponent)));
Then, for the related menu item, your custom component will be rendered on the UI.
DisableAbpFeaturesAttribute
In this version, we have introduced the DisableAbpFeaturesAttribute
to allow you to disable interceptors, middlewares, and MVC filters for a specific controller.
For example, you may want to disable interceptors for a certain controller, but you may also don't want to disable middlewares and mvc filters, in that case, you can use the DisableAbpFeaturesAttribute
as follows:
[Route("api/my-endpoint")]
[DisableAbpFeatures(DisableInterceptors = true, DisableMiddleware = false, DisableMvcFilters = false)]
public class MyController : AbpController
{
}
This can be useful if you have some APIs that are used frequently but you don't need all the features of ABP Framework.
Note: If you want to disable all interceptors, middlewares, and filters for a certain controller, then you can use the
[DisableAbpFeatures]
without the need to specify the parameters, they are disabled by default.
We've also worked on ABP Commercial to align the features and changes made in the ABP Framework. The following sections introduce a few new features coming with ABP Commercial 8.1.
In this version, we mostly worked on ABP Suite and implemented some wanted features, such as bulk delete, filterable properties, customizable page title, allowing establishing relationships with installed ABP modules' entities and supporting the BasicAggregateRoot
as the base class.
From this version on, ABP Suite allows you to perform bulk deletion of records based on specified criteria.
To enable bulk delete support, you should enable the Bulk delete option in the CRUD page generation page, along with the Create user interface option (they are enabled by default). When you enable the bulk delete support, you will see the checkboxes for each line in the datatable:
By selecting these checkboxes, you can delete all records in the current datatable (10 records by default), or delete all records in the database (by selecting select all xx items selection), or delete any records you want by selecting them one by one.
Note: This feature has already been implemented for MVC & Blazor UIs, but not implemented for Angular UI yet. We aim to implement it for Angular UI with v8.1.0-rc.2.
ABP Suite has been generating advanced filters for entities for a while and before this version, if you enabled the create user interface option, then all of the properties that you specified were included in the advanced filter section automatically.
In this version, we have introduced the filterable properties feature to allow you to select which properties should be filterable and which are not:
Now, you have full control to select which properties should be included as filter inputs and shown on the advanced filters section on your generated pages.
In other words, once, you select a property as not filterable, then the property will not be included in the filter inputs and in the advanced filter section. Also, if there are not any filterable properties for an entity, then the advanced filters section will not be generated.
In this version on, ABP Suite allows you to specify the page title for the current entity.
You just need to specify the page title on the CRUD page generation page for a specific entity and then it will be used as a localization key in the application (and also will be localized - for example, if you specify it as 'MyPageTitle', then it will be localized in English as 'My Page Title'), so you can localize it for different languages later on.
In this version, ABP Suite allows you to establish one-to-many relationship with pre-installed ABP Modules. You can add any entity from pre-installed ABP modules as a navigation property, by checking the Include entities from ABP modules checkbox in the navigation property model and choosing the related module entity as in the following figure:
In the example above, the IdentityUser
entity is selected as the navigation property but you can also choose any entity from the installed ABP modules in the navigation property model.
Note: Ensure that your solution is built properly before establishing relationship between your own entity and a module entity because ABP Suite scans assemblies and finds which ABP modules you are using and lists their entities in the navigation property model if you have checked the Include entities from ABP modules checkbox.
BasicAggregateRoot
Base ClassIn this version on, ABP Suite allows you to choose the BasicAggregateRoot
as the base class while generating an entity:
You can choose the BasicAggregateRoot if you want to create an aggregate root without the
IHasExtraProperties
andIHasConcurrencyStamp
interfaces implemented (extra properties & concurrency check).
We have just released v0.6.5 for ABP Studio and with this version, we fixed many minor bugs reported by you, started supporting running multiple ABP Studio instances, and added important features, such as adding a public website to the new microservice template, and so on...
In addition to all of this, we continue to enrich ABP Studio's documentation as always and you can read them at https://docs.abp.io/en/commercial/latest/studio/overview.
Please try ABP Studio v0.6.5 and provide feedback to help us release more stable versions. Thanks in advance!
ABP.IO was thrilled to sponsor the first .NET Community event in 2024 held in Shenzen on January 14, 2024.
The event included four wonderful technical lectures to reveal big data and AI's potential opportunities and innovations. It was a transfer of knowledge and a platform for communication and cooperation among technology enthusiasts and we are happy to be attended.
If you want to learn more about the .NET Conf China 2023 Watch Party event, please check the blog post.
Core team members of the ABP Framework, Halil Ibrahim Kalkan, Alper Ebicoglu, Engincan Veske, and Bige Beşikci Yaman attended NDC London 2024 from the 31st of January to the 2nd of February.
It was the 5th time in a row we were a proud sponsor of NDC London. It, now, basically feels like home spending 3 days in Queen Elizabeth Centre II with NDC London for the ABP.IO team to be there.
These 3 days with the team were all about chatting and having fun with amazing attendees and speakers. We met with talented and passionate software developers and introduced the open source ABP Framework - web application framework built on ASP.NET Core and ABP Commercial - the complete web application development platform built on open source ABP Framework - to them.
We shared our insights and key highlights from the NDC London 2024 event, which you can find at https://blog.abp.io/abp/NDC-London-2024-ABP.IO-Key-Highlights.
There are exciting articles contributed by the ABP community as always. I will highlight some of them here:
Thanks to the ABP Community for all the content they have published. You can also post your ABP-related (text or video) content to the ABP Community.
This version comes with some new features and a lot of enhancements to the existing features. You can see the Road Map documentation to learn about the release schedule and planned features for the next releases. Please try ABP v8.1 RC and provide feedback to help us release a more stable version.
Thanks for being a part of this community!
ABP 9.0 release candidate has been released today. Read the blog post to learn all new features in details. Continue Reading
ABP 8.3 stable version has been released today. Read the blog post to learn all new features in details. Continue Reading
We have combined the ABP (open-source) and ABP Commercial (paid) documents into a single, comprehensive resource. This unification brings you a bet... Continue Reading
Today, we are happy to release ABP version 8.3 RC (Release Candidate). This blog post introduces the new features and important changes in this new... Continue Reading
📢 We're excited to introduce the new ABP CLI after the announcement of the new unified ABP Platform. Continue Reading
ABP Framework and ABP Commercial 8.2 versions have been released today. Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 8.2 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
ABP Framework and ABP Commercial 8.1 versions have been released today. Continue Reading
Today, ABP Framework and ABP Commercial 8.0 versions have been released based on .NET 8.0. Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 8.0 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
ABP Framework and ABP Commercial 7.4 versions have been released today. Continue Reading
We're excited to introduce to you ABP's CMS Kit Module – a versatile module that empowers you to build your own dynamic content website with ease. ... Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 7.4 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
ABP Framework and ABP Commercial 7.3 versions have been released today. Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 7.3 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
ABP Framework and ABP Commercial 7.2 versions have been released today. Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 7.2 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 7.1 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
ABP Framework and ABP Commercial 7.0 versions have been released today. Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 7.0 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
ABP Framework and ABP Commercial 6.0 versions have been released today. Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 6.0 RC (Release Candidate). This blog post introduces the new features ... Continue Reading
ABP Framework and ABP Commercial 5.3 versions have been released today. Continue Reading
Today, we are happy to release the ABP Framework and ABP Commercial version 5.3 RC (Release Candidate). This blog post introduces the new features ... Continue Reading