Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "antonis"

I have a table X which references Tenant Table (each row has a TenantId)

I want to get contents of table that belong to Tenant that requested X table.

Which is best to use in terms of security

AbpSession.ToUserIdentifier() or UserManager.FindByIdAsync(...)

Thanks

Does UserManager hits database all the time or it caches results on memory?

Thanks

What is the difference between the AbpSession.ToUserIdentifier() vs UserManager.FindByIdAsync? Which one is best to use?

Thanks in advance

@aaron Thanks

Question

Hi I have created an extra xml file for localisation. This was done to help me when updating aspnetzero to latest version to avoid losing changes to MyProject.xml language file.

I named this MyProjectExtended.xml

However I dont know how the aspnetzero will read this.

How can it be done?

Thanks in advance

I have created a new project for some infrastructure code I have in my solution. I have a helper service there that needs to be singleton.

public class FileProvider : IFileProvider, ISingletonDependency
    {
    }
    
    public interface IFileProviderProvider
    {
        string GetDataFilesPath();
    }

However when I try to use this provider in another service initializing it from the constructror I get

Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service MyProject.Infrastructure.Helpers.IFileProvider was found

Does anyone know why am I getting this?

@maliming Thanks for your reply. I am using asp.net boilerplate. Want to disable exception handling of abp. Don't want to send a Http 500 error in client never I have my own exception logic between client and server. So what I am looking is to remove exception handling completely from abp server

Thanks

Hi, If I wanted to remove default exception handling behavior of asp.net boilerplate (where it automatically catch and throws exceptions into client) what code do I need to remove from server?

Thanks in advance

If I want to use only Authentication and Authorization of asp.net boilerplate what assemblies do I need?

Thanks in advance

Answer

Yes I am using it.

With all due respect. When you provide a product you have to offer the appropriate guides/manuals to the buyers/endusers. Especially when it concerns security which we all know today how crucial it is as it costs a lot. I will be waiting for your reply when you are sure and also for Identity Server.

Thanks

Showing 81 to 90 of 202 entries