Activities of "WilliamT"

yep, got it working now.

and how do I make the app redirect to login if the user isn't logged in?

Do I need to apply that to all pages?

thanks,

seems like adding the code only to Index.cshtml.cs under Pages folder seem to be applied for all subfolder as well.

  • ABP Framework version: v6.0.2
  • UI Type: MVC
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I want to create a record on a table when there is a POST method from multiple selected entity. Currently I use AuditLogContributor > PostContribute to find the entity that i want, but how do I connect it to an appService or repository to create the new record ?

i just found out i can call the following in PostContribute context.ServiceProvider.GetRequiredService and just call the function i want. would that be an ok approach ?

Showing 51 to 55 of 55 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.2.0-preview. Updated on February 05, 2026, 13:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.