Activities of "maliming"

hi

Try to run abp bundle to update the JS and CSS in your Blazor WASM project,

<div class="input-group">
    <span class="input-group-text">@L["StartDate"].Value</span>
    <input type="text"
           class="form-control"
           name="StartDate"
           value="@DateTime.Now.AddMonths(-1).Date.ToString(CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern)" />
</div>

Maybe you can change the culture here.

MyCompanyName.MyProjectName.Web\Pages\HostDashboard.cshtml

hi

Share a full project with me liming.ma@volosoft.com

Thanks

You can test it first to see if there is any problem after you get a new computer, and continue to give feedback. Please open a new question.

And this commit is the change I made.

https://github.com/maliming/Abp-3394/commit/f95b70cc24ea96dc4da3b08c8a1ece5e6063dd07

Yes, The code already exists on https://github.com/maliming/Abp-3394/tree/main/src

hi everything works.

hi

Is the page HostDashboard.cshtml?

I can't reproduce

Can you try this?


services.AddAbpSwaggerGenWithOAuth(
services.AddTransient<SwaggerGenerator>();
services.Replace(ServiceDescriptor.Transient<ISwaggerProvider, MySwaggerGenerator>());

using System;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using Volo.Abp.MultiTenancy;

namespace MyCompanyName.MyProjectName.Web;

public class MySwaggerGenerator : ISwaggerProvider
{
    private readonly SwaggerGenerator _innerSwaggerGenerator;
    private readonly SwaggerGeneratorOptions _options;
    private readonly ICurrentTenant _currentTenant;

    public MySwaggerGenerator(SwaggerGenerator innerSwaggerGenerator, SwaggerGeneratorOptions options, ICurrentTenant currentTenant)
    {
        _innerSwaggerGenerator = innerSwaggerGenerator;
        _options = options;
        _currentTenant = currentTenant;
    }

    public OpenApiDocument GetSwagger(string documentName, string host = null, string basePath = null)
    {
        foreach (var securityScheme in _options.SecuritySchemes)
        {
            if (securityScheme.Value.Flows.AuthorizationCode != null && _currentTenant.IsAvailable)
            {
                securityScheme.Value.Flows.AuthorizationCode.AuthorizationUrl = new Uri(securityScheme.Value.Flows.AuthorizationCode.AuthorizationUrl.ToString().Replace("ids", $"{_currentTenant.Name}.ids"));
                securityScheme.Value.Flows.AuthorizationCode.TokenUrl = new Uri(securityScheme.Value.Flows.AuthorizationCode.TokenUrl.ToString().Replace("ids", $"{_currentTenant.Name}.ids"));

            }
        }

        return _innerSwaggerGenerator.GetSwagger(documentName, host, basePath);
    }
}


Showing 10041 to 10050 of 12921 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.