Activities of "enisn"

Shared libraries especially not related with AspNetCore are targetting netstandard. Because they can be used from any platform such as dektop, mobile, IOT runtime and even more.

Those packages will work fine in your .net 5 runtime and any other .net runtimes.

MVC bundling system does not support dynamic imports. If you use a 3rd party library that needs those imports, you need to bundle them together and serve it

Hi @VivekKoppula

Let me know if it happens while running published blazor-server applications

Hi,

You can use .RequireAuthenticated() extension method for MenuItem:

var administration = context.Menu.GetAdministration();

var languagesMenu = administration.FindMenuItem(LanguageManagementMenuNames.GroupName);

var menuItem = new ApplicationMenuItem(
                    "MySubLanguageMenu", 
                    "My Sub Language Menu", 
                    "#")
               .RequireAuthenticated(); // <-- You add this method.

languagesMenu.AddItem(menuItem);

We have published a section on Saas Documentation about it.

https://docs.abp.io/en/commercial/latest/modules/saas#tenant-edition-subscription

***Consts.cs files are not API Controllers and they don't have any endpoints. Proxy generation generates code from swagger.json. So if you expose your consts with a Controller, proxy generation will be able to generate that endpoint.

Or you can add your custom menu under existing module menu:

var administration = context.Menu.GetAdministration();

var languagesMenu = administration.FindMenuItem(LanguageManagementMenuNames.GroupName);

languagesMenu.AddItem(new ApplicationMenuItem("MySubLanguageMenu", "My Sub Language Menu", "#"));

Hi, Do you ask creating your own section like below?

var administration = context.Menu.GetAdministration();

var mySection = new ApplicationMenuItem("MySection", "My Section", "#", "fa fa-file");

administration.AddItem(mySection);

mySection.AddItem(new ApplicationMenuItem("MySubMenu", "My Sub Menu 1", "#"));
mySection.AddItem(new ApplicationMenuItem("MySubMenu2", "My Sub Menu 2", "#"));
mySection.AddItem(new ApplicationMenuItem("MySubMenu3", "My Sub Menu 3", "#"));

var mySubMenu4 = new ApplicationMenuItem("MySubMenu4", "My Sub Menu 4", "#");

mySubMenu4.AddItem(new ApplicationMenuItem("MySubMenu4A", "My Sub Menu 4.A", "#"));
mySubMenu4.AddItem(new ApplicationMenuItem("MySubMenu4B", "My Sub Menu 4.B", "#"));

mySection.AddItem(mySubMenu4);

Hi @ElifKaya,

Some of entities can not be created without a domain logic, DDD aims to keep domain integrity. So, you have to create them with their own Manager. For example, you can create a Page with the PageManager. See example below:

    public class MyDataSeedContributor : IDataSeedContributor, ITransientDependency
    {
        private readonly PageManager _pageManager;
        private readonly IPageRepository _pageRepository;

        public MyDataSeedContributor(PageManager pageManager, IPageRepository pageRepository)
        {
            _pageManager = pageManager;
            _pageRepository = pageRepository;
        }

        public async Task SeedAsync(DataSeedContext context)
        {
            var page = await _pageManager.CreateAsync("Hello World", "hello-world", "Some long content");

            await _pageRepository.InsertAsync(page);
        }
    }

Inject Manager class of entity with inaccessible constructor and create them with Manager.

Hi @ElifKaya

Multilingual Entities is the one of hardest topic we have to decide. We haven't find the best way to do in ABP Framework. We have tried in a couple of ways in earlier versions but never done properly. You can see earlier discussions and development attempts below:

  • https://github.com/abpframework/abp/issues/1754
  • https://github.com/abpframework/abp/pull/5265

The Multilingual Entities feature is still in our backlog and we're discussing about it. But issues above might help you.

Showing 741 to 750 of 787 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.