Activities of "liangshiwei"

Hi,

See https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-5.0

You need to change the configuration before deployment:

blazor

HttpAPI.Host

dbmigrator

Hi,

It's possible,

There is awsome repo: https://github.com/Eastrall/EntityFrameworkCore.DataEncryption, I think it will be helpful.

Or you can use ASP.NET Core Data Protection API: https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/using-data-protection?view=aspnetcore-5.0

Is it possible to deploy a combined instance? I.e. no need for API seperation.

I don't understanding what you mean,

Blazor web assembly is separation of front-end and backend.

Maybe you need blazor-server:https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/server?view=aspnetcore-5.0

Hi,

I find a better way,

[Authorize]
public partial class Index
{
   
}

Pages/Authentication.razor

@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
@using Volo.Abp.DependencyInjection
@inherits  Volo.Abp.AspNetCore.Components.WebAssembly.LeptonTheme.Pages.Authentication
@inject NavigationManager _navigationManager;
@attribute [ExposeServices(typeof(Volo.Abp.AspNetCore.Components.WebAssembly.LeptonTheme.Pages.Authentication))]
@attribute  [Dependency(ReplaceServices = true)]

<Card>
    <CardBody>
        <RemoteAuthenticatorView Action="@Action">
            <LoggingIn>
                <LoadingIndicator/>
            </LoggingIn>
            <CompletingLoggingIn>
                <LoadingIndicator/>
            </CompletingLoggingIn>
            <LogOut>
                <LoadingIndicator/>
            </LogOut>
            <CompletingLogOut>
                <LoadingIndicator/>
            </CompletingLogOut>
            <LogOutSucceeded>
                @{
                    _navigationManager.NavigateTo("/authentication/login");
                }
            </LogOutSucceeded>
        </RemoteAuthenticatorView>
    </CardBody>
</Card>

Hi,

I remember you don't want to user redis, however, we can make a meeting tomorrow

Try abp new Qa -t app-pro -u blazor --preview

Hi,

See https://support.abp.io/QA/Questions/1144/add-public-website-and-CMS-kit-to-existing-application#answer-1ae94ea7-b66c-f0e2-2665-39fbbd832171

@Leonardo.Willrich

You can download new template (4.3.1 rc) for comparison

Hi,

I make an example for you: https://github.com/realLiangshiwei/Qa1129.

Qa module and identity module are two databases

  "ConnectionStrings": {
    "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=Qa_Main;Trusted_Connection=True",
    "Qa": "Server=(LocalDb)\\MSSQLLocalDB;Database=Qa_Module;Trusted_Connection=True"
  }

Hi,

You don't need to override TenantAppSerivce, you can subscribe to entity creation domain events and handie it.

https://docs.abp.io/en/abp/latest/Local-Event-Bus#pre-built-events

Showing 5901 to 5910 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 16, 2025, 10:35