Base solution for your next web application

Activities of "ismcagdas"

Hi,

In order to use ABP's functionality in a different application, you need to create a module and configure Program.cs as shown here https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/AbpEfConsoleApp/AbpEfConsoleApp

Hi,

Could you wrap your code using https://aspnetboilerplate.com/Pages/Documents/Abp-Session#user-identifier and see if it works ?

Hi,

Did you also upgrade DevExpress version ? Maybe this could be related, could you check that https://supportcenter.devexpress.com/ticket/details/t1270730/change-data-source-of-report-with-code-windows-form-c ?

If it doesn't help, please let me know.

Hi @kansoftware

This seems like an environmental or configuration issue. Could you check if this helps you https://stackoverflow.com/questions/57676716/using-mailkit-the-smtp-server-has-unexpectedly-disconnected ?

If this doesn't help, could you share your SMTP provider ?

Hi @slamj1

Sorry for my late response, could you create an issue on https://github.com/aspnetzero/aspnet-zero-core/issues ? We will try to reproduce the problem and find a solution.

Hi @muhittincelik

We planned such a feature but haven't implemented this yet. I think, you can follow such a scenario;

  1. Create a user entity for this purpose (username: api-client for example)
  2. Then, use this user to generate a token (You can temporarily change token lifetime or you can do it on codebehind)

Then, you can distribute this token to your clients. But, be aware that, if this token is exposed, anyone with the token can send similar data. So, you can also consider creating a black-list token table and check this table when your app receives a token, and throw exception if this table contains the given token.

Hi @muhittincelik

Thank you for your report. Could you provide these details as well ?

  1. What is the version of Power Tools ?
  2. Is this a new project or did you upgrade an existing AspNet Zero project to latest version ?
  3. Could you finally share the generated Json file ? You can find it under AspNetZeroRadTool folder.

Hi @rogerscorporation

Now, it is suggested to use Migrator project on your solution to update database. You can run this executable on your database before you publish the new version of your app.

Hi @qquestel

This is not possible with the current version of Power Tools. When you create an entity, if you select one of the 3 options below, AspNet Zero will add CreationUserId field to your entity and will set it with the currently logged in user's Id.

If your entity is multi-tenant (see screenshot below), the Power Tools will add a TenantId field to your entity and will generate a code block to set it automatically to logged in user's TenantId

If you want to add a custom field for example, BuyerUserId and then set it to currently logged in user's Id, you need to modify generated app service code and set it as shown below;

yourEntity.BuyerUserId = AbpSession.GetTenantId()

You don't have to add it to creation DTO classes.

Hi,

Identity related localization is stored in AspNet Boilerplate here https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Common/Zero/Localization/Source/AbpZero-it.xml.

You need to extend it in your final solution. To do that, you can follow https://aspnetboilerplate.com/Pages/Documents/Localization#extending-localization-sources.

Let me know if this doesn't work for you.

Showing 1 to 10 of 12779 entries