Activities of "liangshiwei"

Hi,

Move AbpAspNetCoreMvcModule to HttpApi.Host project.

then open swagger pgae to check it.

it works for me

import { inject, NgModule } from '@angular/core';
import { PageModule } from '@abp/ng.components/page';
import { SharedModule } from '../shared/shared.module';
import { HomeRoutingModule } from './home-routing.module';
import { HomeComponent } from './home.component';
import { DOCUMENT } from '@angular/common';

@NgModule({
  declarations: [HomeComponent],
  imports: [SharedModule, HomeRoutingModule, PageModule],
})
export class HomeModule {
  
  protected readonly window = inject(DOCUMENT).defaultView;

  constructor(){
    this.window.addEventListener('storage', event => {
      alert(event.key)
      if (event.key === 'access_token' && event.newValue === null) {
        this.window.location.reload();
      }
    });
  }
}

you can try put debugger to check it

this.window.addEventListener('storage', event => {
  debugger
  if (event.key === 'access_token' && event.newValue === null) {
    this.window.location.reload();
  }
});

okay

Hi,

i think so, you can give it a try

I have one question to you no need to add any code change in our angular side automatically redirected our dashboard ?

you can set the reutrnUrl to redirect to the dashboard

It was on an Abp support question: https://abp.io/support/questions/5182/Nuget-feed-broken#answer-3a0b9d8e-3810-0990-b41d-0c1ba9052a25

oh, yes , that's true

After some research I found a support question from some time ago which mentioned that the commercial nuget source search is no longer maintained

Where have you seen it? It is still under maintenance

I am however missing the AbpApiDefinition endpoint, can you elaborate on how to get it (back)?

you can install the Volo.Abp.AspNetCore.Mvc package and

[DependsOn(
    .....
    typeof(AbpAspNetCoreMvcModule),
    .....
    )]
public class YourModule : AbpModule

Hi,

Although I don’t know what the logo looks like, but you can add a Controller to redirect to IDP login page.

for example:

<a href="/idp/login"><img .../></a>
public class IDPController : AbpControllerBase
{
    public IActionResult Login()
    {
        var returnUrl = "<YourURL>/dashbaord";
        var provider = "<SchameName>"; //OpenIdConnect
        var redirectUrl = Url.Page("/Account/Login", pageHandler: "ExternalLoginCallback", values: new { ReturnUrl });
        var properties = SignInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl);
        properties.Items["scheme"] = provider;
        
        return Challenge(properties, provider);
    }
}

Hi,

it's easy to do: https://abp.io/docs/latest/framework/infrastructure/data-filtering#defining-custom-filters

Showing 1201 to 1210 of 6693 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 September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.