Ends in:
7 DAYS
17 HRS
8 MIN
10 SEC
Ends in:
7 D
17 H
8 M
10 S

Activities of "berkansasmaz"

Hi, you can change the resource by configuring AbpMvcDataAnnotationsLocalizationOptions in the first step I specified below:

1-) AddAssemblyResource

[DependsOn(
    //modules...
)]
public class MyWebModule : AbpModule
{
    public override void PreConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.PreConfigure<AbpMvcDataAnnotationsLocalizationOptions>(options =>
        {
            options.AddAssemblyResource(typeof(MyResource), typeof(MyWebModule).Assembly);
        });
    }
}

2-) Usage with RegularExpression attribute.

[RegularExpression(@"^966.*", ErrorMessage="MobileNoFormat")]

Hi,

Short answer

The short answer is you cannot do this using the abp suite.


Long answer

I think you misunderstood the tenant logic.

Many line of business applications are designed to work with multiple customers. It is important to secure the data so that customer data isn't "leaked" or seen by other customers and potential competitors. These applications are classified as "multi-tenant" because each customer is considered a tenant of the application with their own set of data.

reference: https://learn.microsoft.com/en-us/ef/core/miscellaneous/multitenancy

From this explanation, the tenant is related to the data, so you can think that while the user of one tenant will see some data, the user of another tenant will see different data.

As a result, as you know, data != entity;

See for more information: https://docs.abp.io/en/abp/latest/Multi-Tenancy

Unfortunately, this is Database Provider-specific and there is not much we can do about it.

See: https://support.abp.io/QA/Questions/3206/Error-when-filtering-data#answer-b2bfddfb-0e5b-68d9-802d-3a045a0b04c8

We recently migrated our own websites from MSSQL to PostgreSQL. That was one of the biggest challenges during the migration. My advice would be to use citext. See: https://blog.abp.io/abp/Migrating-from-MS-SQL-to-Postgresql

My suggestion is to create an application service on your AuthServer, you can do whatever you want there. Then, after overriding the model of the page, it will be in the direction of doing the necessary operations after calling and before calling base in the OnPost method.

I assume you can see the code for the OnPostAsync method since you have access to the source code. This will allow you to add claims before or after base.OnPostAsync or copy and paste base.OnPostAsync's code into the method you override and only add claims in certain situations.

Can you try again after you override the OnPostAsync method and make the relevant changes?


However, as I understand it, you want to add new claims, as you stated in your last reply. I cannot recommend doing this by customizing the login page. I think you can do it using this document.

I was wondering what language to use for development.

ABP Framework offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. It provides the fundamental infrastructure, production-ready startup templates, modules, themes, tooling, guides and documentation to implement that architecture properly and automate the details and repetitive works as much as possible.

I thought C# and Angularjs would be easier to develop in, am I wrong?

Yes, you are right. https://docs.abp.io/en/abp/latest/Getting-Started?UI=NG&DB=EF&Tiered=No

For example, [golang + react on ABP Commercial] would be fine?

ABP Commercial is a set of premium modules, tools, themes, and services that are built on top of the open-source ABP framework. Additionally, as I just mentioned, the ABP framework is a web application framework for ASP.NET Core

I mean, the ABP framework doesn't deal with GoLang. You cannot use the ABP framework when developing with GoLang. But this does not mean that an application or service you developed with GoLang cannot communicate with an application you developed with ABP framework. As for React, there is currently no React template that ABP officially supports. However, there are templates developed by the ABP framework community. See: https://blog.antosubash.com/posts/abp-react-template

・When using ASP.NET Zero, what use cases are RDB and MongoDB suitable for each?

First of all, ASP.NET Zero is not the same as ABP Commercial. See: https://docs.abp.io/en/commercial/latest/aspnet-zero-vs-abp-commercial

The answer to this question is independent of the ABP framework. If it makes sense to use MongoDB according to your application's requirements while developing a normal application, you can also use MongoDB with the ABP framework. You can think of the same thing in RDMS. See: https://www.quora.com/What-are-the-real-use-cases-where-you-should-use-MongoDB

Are the following examples correct?

Yes, this is possible. But if you accept advice, I wouldn't recommend complicating things. As your application/project grows, it may be better for you to think about such questions. If I were you, the first thing I would do would be to complete this tutorial and check the documentation of the ABP framework.

Hi, I have to say that your questions sound a bit strange so please correct me if I don't understand you completely.

What is the correct language to use when developing on ABP Commercial?

By Language I think you mean the language of the application here. There is no definite answer to the question, you can develop the application using any language you want. However, if I were you, I would develop on the language most preferred by the users of my application.

Which is the only choice between RDB and MongoDB?

I don't quite understand this question, sorry. If you are asking about the differences between SQL and NoSQL. See: https://www.geeksforgeeks.org/difference-between-sql-and-nosql/

Can I use RDB and MongoDB at the same time?

Yes, you can. In general, anything you can do with ASPNET, you can do with ABP. In many scenarios, ABP will make your job easier.

What is the best practice for using MongoDB?

We have written documents for this, you can check it. See: https://docs.abp.io/en/abp/latest/MongoDB

My suggestion is to create an application service on your AuthServer, you can do whatever you want there. Then, after overriding the model of the page, it will be in the direction of doing the necessary operations after calling and before calling base in the OnPost method.

Resources for doing this:

  • https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-page-model-c
  • https://community.abp.io/posts/how-to-customize-the-login-page-for-mvc-razor-page-applications-9a40f3cd

You can of course do the same thing by overriding SignInManager's PasswordSignInAsync method. It just depends on your application and requirements.

What exactly do you want to do?

Want to customize the UI side? See: https://community.abp.io/posts/how-to-customize-the-login-page-for-mvc-razor-page-applications-9a40f3cd

Want to customize the sign-in manager? See: https://community.abp.io/posts/how-to-customize-the-signin-manager-3e858753

Here is a list of other resources related to customization: https://support.abp.io/QA/Questions/160/How-to-customize-an-ABP-project

Hello, I have created an issue on the subject. See: https://github.com/abpframework/abp/issues/16130

As you said for PRO packages, it first looks at nuget.org and then when it returns null, it looks at nuget.abp.io. This both causes performance loss and creates the perception that there is an error because nuget.org returns 404.

I'm closing this topic because it will be followed up with this issue.


Closing the issue. Feel free to re-open or create a new issue if you have further questions.

You're welcome. Have a nice day

Showing 71 to 80 of 355 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06