Activities of "sairam.thirupathuru"

Hello Liang Shiwei,

I have provided all the code screenshots. Please let me know exactly what you are looking for.

SaasService.Contract csproj

<Project Sdk="Microsoft.NET.Sdk">
  <Import Project="..\common.props" />
  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <RootNamespace>CastandCrew.PSLWeb.SaasService</RootNamespace>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
    <CopyLocalLockFileAssemblies>True</CopyLocalLockFileAssemblies>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.4" />
    <PackageReference Include="Volo.Abp.Features" Version="8.2.1" />
    <PackageReference Include="Volo.Saas.Host.Application.Contracts" Version="8.2.1" />
    <PackageReference Include="Volo.Saas.Tenant.Application.Contracts" Version="8.2.1" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Volo.Abp.UI" Version="8.2.1" />
    <PackageReference Include="Volo.Abp.Validation" Version="8.2.1" />
    <PackageReference Include="Volo.Abp.Authorization.Abstractions" Version="8.2.1" />
    <PackageReference Include="Volo.Abp.Ddd.Application.Contracts" Version="8.2.1" />
    <PackageReference Include="Volo.Abp.Ddd.Domain.Shared" Version="8.2.1" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Localization\SaasService\*.json" />
    <Content Remove="Localization\SaasService\*.json" />
  </ItemGroup>
</Project>

SaasFeatureDefinitionProvider.cs

using CastandCrew.PSLWeb.SaasService.Localization;
using Volo.Abp.Features;
using Volo.Abp.Localization;
using Volo.Abp.Validation.StringValues;
namespace CastandCrew.PSLWeb.SaasService.Features
{
    public class SaasFeatureDefinitionProvider : FeatureDefinitionProvider
    {
        private static LocalizableString L(string name)
        {
            return LocalizableString.Create<SaasServiceResource>(name);
        }
        private static LocalizableStringInfo CreateLocalizableStringInfo(string name)
        {
            // Assuming you need the name and a string for localization
            return new LocalizableStringInfo("SaasService", name); // Adjust based on actual constructor
        }
        public override void Define(IFeatureDefinitionContext context)
        {
            var vendorFeatureGroup = context.AddGroup("SaasFeatureApp", L("SaasFeatureApp"));
            vendorFeatureGroup.AddFeature(
                "SaasFeatureApp.IsLegacyFeature",
                defaultValue: "false",
                displayName: L("IsLegacyFeature"),
                description: L("IsLegacyFeatureDescription"),
                valueType: new ToggleStringValueType(),
                true,
                true
            );
            vendorFeatureGroup.AddFeature(
              "SaasFeatureApp.ProjectType",
              defaultValue: "Commercial",  // Set the default value here
              displayName: L("ProjectType"),
              description: L("ProjectTypeDescription"),
              valueType: new SelectionStringValueType()
              {
                  ItemSource = new StaticSelectionStringValueItemSource(
                    new LocalizableSelectionStringValueItem()
                    {
                        Value = "Commercial",
                        DisplayText = CreateLocalizableStringInfo("Commercial")
                    },
                    new LocalizableSelectionStringValueItem()
                    {
                        Value = "Features",
                        DisplayText = CreateLocalizableStringInfo("Features")
                    },
                     new LocalizableSelectionStringValueItem()
                     {
                         Value = "Television",
                         DisplayText = CreateLocalizableStringInfo("Television")
                     },
                      new LocalizableSelectionStringValueItem()
                      {
                          Value = "LiveOrEvents",
                          DisplayText = CreateLocalizableStringInfo("LiveOrEvents")
                      }),
              },
               true,
               true
           );
        }
    }
}

We can't send code from official emails. It's straightforward, so there won't be any misunderstandings.

Hi Anjali, I gone thought the above URL, Still, I am getting 502 Undocumented Error: Bad Gateway

No error in the logs. but how can I share it since it's large in size?

Hello Anjali, I tried the same way but no luck. Could you please let me know how to upload Logs.

  • ABP Framework version: Latest I am trying to override the GetAsync methods of the AbpApplicationConfigurationController but I am having issues. I am getting 502 Undocumented Error: Bad Gateway Could you please help me out

Hello @maliming You don't need a code project for this. Download the SAAS service from ABP.IO, add a new feature, and implement localization for it.

  • ABP Framework version: Latest Version
  • Steps to reproduce the issue: I'm trying to extend "SaasResource " to the English language but the changes are not effecting in the application. Please help me out for resolving the issue.

Note : You don’t need the codebase for this. Just download the codebase from ABP.IO, open the SaaS Service, and try to add a new feature. Also, attempt to apply localization for the newly added feature.

I am unable to share it by https://wetransfer.com/. Due to huge size around 1.9GB

Showing 1 to 10 of 15 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35