Activities of "alper"

AppUser.ExtraProperties is a new property. And it's not mapped in your application. So you can basically ignore this property mapping. You did a mapping as below:

CreateMap<AppUser, AppUserDto>();

change it

CreateMap<AppUser, AppUserDto>().Ignore(x => x.ExtraProperties);

if you have updated Suite on 2020-05-21, please remove and install it again.

abp suite remove
abp suite install

@sean for this post, I've created an issue. thank you for the feedback! https://support.abp.io/QA/Questions/149#answer-dc4c68b2-bb05-4581-4827-39f540d8ecbf

@sean for the update problem.. you need to first update abp cli tool then update abp suite see screenshot

I'll try to reproduce it

You can change the logo from BookStoreBrandingProvider.cs or if you don't have this class in your solution, you can add this to your Web project.

In the below code, the logo is being changed by current tenant name. You can inject any service to this class, and apply your own business logic.

 [Dependency(ReplaceServices = true)]
    public class BookStoreBrandingProvider : DefaultBrandingProvider
    {
        //You can inject services here...
        private readonly ICurrentTenant _currentTenant;

        public BookStoreBrandingProvider(ICurrentTenant currentTenant)
        {
            _currentTenant = currentTenant;
        }

        public override string AppName => "Acme - MyBookStore";

        public override string LogoUrl => GetLogoUrl(false);

        public override string LogoReverseUrl => GetLogoUrl(true);

        private string GetLogoUrl(bool isReverse)
        {
            if (_currentTenant.Name == "MyCustomer")
            {
                return isReverse ? "http://mycustomer.com/logo-reverse.png" : "http://mycustomer.com/logo.png";
            }

            if (_currentTenant.Id.HasValue)
            {
                return $"/images/logo/{_currentTenant.Id}";
            }

            return isReverse ? "/images/logo/my-default-logo-reverse.png" : "/images/logo/my-default-logo.png";
        }
    }

To set the position use CSS. Here's how you can do it MVC project

You can add a global.css and make these customizations in there. To add a global style to the standart contributors. Add this code to the ConfigureServices() method in BookStoreWebModule.cs in the web project

  Configure<AbpBundlingOptions>(options =>
            {
                options
                    .StyleBundles
                    .Configure(StandardBundles.Styles.Global, bundle =>
                    {
                        bundle.AddContributors(typeof(GlobalStyleContributor));
                    });
            });
        public class GlobalStyleContributor : BundleContributor
        {
            public override void ConfigureBundle(BundleConfigurationContext context)
            {
                context.Files.Add("/Pages/global.css");
            }
        }

\Pages\global.css

.account-brand .navbar-brand {
    position: fixed !important;
    top: 20px !important;
    left: 100px !important;
}

You can simply disable self-registration from the Settings page.

There are standard bundles come from the framework itself. These are CSS and JavaScript bundles. You can get list of these files and remove/add. Open BookStoreWebModule.cs In ConfigureServices() method, add the below code

   Configure<AbpBundlingOptions>(options =>
            {
                options
                    .ScriptBundles
                    .Configure(StandardBundles.Scripts.Global, bundle => {
                        bundle.AddContributors(typeof(RemoveJqueryScriptContributor));
                    });
            });

And add this class,

public class RemoveJqueryScriptContributor : BundleContributor
        {
            public override void ConfigureBundle(BundleConfigurationContext context)
            {
                var jquery = context.Files.FirstOrDefault(x => x.EndsWith("jquery.js", StringComparison.InvariantCultureIgnoreCase));
                if (jquery != null)
                {
                    context.Files.Remove(jquery);
                }
            }
        }

This code removes jquery.js from the standard global scripts bundle.

@edirkzwager coud not reproduce your issue.

@edirkzwager I'll try to reproduce it in a scratch 2.7.0 and get back to you.

Showing 1811 to 1820 of 1957 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.