Base solution for your next web application

Activities of "shridhar.mole"

Hi,

Thanks for your reply. No it wasn't there, but even after setting it no luck. I can you share some link or documentation to refer?

I'm trying to add API summary & remarks to Swagger and have followed this URL from microsoft.

I'm not able to see any summary or remarks on the Swagger UI, Kindly suggest.

  • Product version is 10.3.
  • Product type is Angular.
  • Product framework type is .net core.
  • Currently using the default theme.

Hi @ismcagdas, I shared host user login details and url of application on [email protected] , please check and guide us to resolve this issue asap.

I want to expose APIs to client with authentication based on API Keys. I tried working with the IdentityServerClient sample but couldn't get it much. The requirment is such that the API Keys would be not expire and can be use lifelong without refreshing or somthing like that.

If you can provide any documentation or sample that would very helpful.

  • Product version is 10.3.
  • Product type is Angular.
  • Product framework type is .net core.
  • Currently using the default theme.

Hi @rvanwoezik

This change solved the issue. Thank you so much !

Hi,

Following are the App Service and Interface definitions

[AbpAuthorize(AppPermissions.Pages_Tenant_ManageBudgetVersions)]
public class BudgetVersionsAppService : GrowthPlanServiceBase, IBudgetVersionsAppService
{
    private readonly IRepository<BudgetVersion, long> _budgetVersionRepository;

    public BudgetVersionsAppService(IRepository<BudgetVersion, long> budgetVersionRepository)
    {
        _budgetVersionRepository = budgetVersionRepository;
    }

    [HttpPut]
    public async Task UpdateBudgetVersion([FromBody] BudgetVersionDto input, [FromQuery] string newName)
    {

    }

    public async Task<PagedResultDto<BudgetVersionDto>> GetBudgetVersions(GetBudgetVersionInput input)
    {

    }
}

public interface IBudgetVersionsAppService
{
    public Task UpdateBudgetVersion(BudgetVersionDto input, string newName);
    public Task<PagedResultDto<BudgetVersionDto>> GetBudgetVersions(GetBudgetVersionInput input);
}

Thanks.

Hello,

I am creating a new Application Service class derived from GrowthPlanServiceBase class but the public methods are not seen in Swagger UI page. The API Urls when called from Postman return 404 as well. This was working before as I have added new App Service classes in the past.

Can you please let me know if I am missing something?

Thanks in advance.

Instead of having tenancy name on the login screen, would it be posssible to fetch the attached tenants with the username on next screen for selection We are working with single database.

  • Product version is 10.3.
  • Product type is Angular.
  • Product framework type is .net core.
  • Currently using the default theme.

@ismcagdas Thanks got it.

@ismcagdas

`{
  "IsRegenerate": false,
  "MenuPosition": "admin",
  "RelativeNamespace": "Countries",
  "EntityName": "Country",
  "EntityNamePlural": "Countries",
  "TableName": "TrCountries",
  "PrimaryKeyType": "int",
  "BaseClass": "Entity",
  "EntityHistory": false,
  "AutoMigration": true,
  "UpdateDatabase": true,
  "CreateUserInterface": true,
  "CreateViewOnly": true,
  "CreateExcelExport": true,
  "IsNonModalCRUDPage": false,
  "IsMasterDetailPage": false,
  "PagePermission": {
    "Host": true,
    "Tenant": false
  },
  "Properties": [
    {
      "Name": "Name",
      "Type": "string",
      "MaxLength": 100,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": true,
      "Nullable": false,
      "Regex": "",
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      }
    }
  ],
  "NavigationProperties": [],
  "NavigationPropertyOneToManyTables": [],
  "EnumDefinitions": [],
  "DbContext": null
}`
Showing 1 to 10 of 39 entries