Base solution for your next web application

Activities of "acmeware"

I need to make a few tables using the rad tool that store just a list of permissions and then some data about that permission. I want to lookup to the permissions list but I cannot figure out how make the entity viewable in the rad tool foreign key. Do you have a suggestion?

Hi I see. Is there no way to get the current feature without reflection?

I was able to find LDAP in the AbpUsers table but there is no related row in AbpUserLogins after the user logs in. The AbpUserLogins table doesn't appear to address if the user is currently logged in via password vs OpenID, only OpenID. The rows in the AbpUserLogins do not change or remove if you switch to password authentication or when the OpenID session is logged out. I guess what I am saying is this is not a 100% way to find out how the user logged in and in order to redirect the user after logout. Are there session variables to see how the current user is logged in?

What is your product version? 10.3 What is your product type (Angular or MVC)? MVC What is product framework type (.net framework or .net core)? Core

I am trying to adjust the logout process so that OpenID can use single signout. I have it mostly working by redirecting to the OpenID logout url, but I am lacking the ability to identify the current user login source (LDAP, OpenID, ANZ) in order to skip the OpenID logout url for LDAP, etc.

Please help with the following questions:

How can tell if the currently signed in user did so via OpenID vs a password or LDAP?

Why are users allowed to have passwords if they registered using OpenID or other social logins? If by design, what is the recommended way to prevent setting a password and circumventing the openID login entirely?

  • What is your product version? 10.3
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? Core

I am trying to change an image (think logo) depending on what feature the current page belongs to. When looking at the feature manager, I only see methods to see if a feature is enabled at all, but what I really what to know is if the feature is decorated for the current controller/action. Is there a session variable or otherwise that shows if the current navigation has a particular feature?

No. We use that already. What I am looking to do is to automatically create (code generate) a separate C# client (think console) but have it automatically generated from the swagger.json whenever the aspnetzero MVC app completes a build.

10.3 MVC .NetCore

After noticing that you use nswag for the angular side of things I ran successfull it to create a C# API using the tools while targeting the swagger.json url. However, because of the rate at which our application changes, I was hoping to generate the file and the client at every build, but I cannot work through errors with targeting the csproj file or the assembly. Any example of this is in the documentation below.

I was wondering if you had any success in performing this during build time rather than run time and if you have any advice.

https://github.com/RicoSuter/NSwag/wiki/NSwag.MSBuild

<PropertyGroup>
  <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>

<Target Name="NSwag" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)' == 'Debug' ">
  <Message Importance="High" Text="$(NSwagExe_Net50) run nswag.json /variables:Configuration=$(Configuration)" />

  <Exec WorkingDirectory="$(ProjectDir)" EnvironmentVariables="ASPNETCORE_ENVIRONMENT=Development" Command="$(NSwagExe_Net50) run nswag.json /variables:Configuration=$(Configuration)" />

  <Delete Files="$(ProjectDir)\obj\$(MSBuildProjectFile).NSwag.targets" /> <!-- This thingy trigger project rebuild -->
</Target>
  • Product Version is 10.3
  • Product Type is MVC JQuery
  • .NET Core 5.0
  • RAD Tool Version is 2.7.8
  • Using Metronics 7, Default theme

This is in regards to the Power Tools Master Detail Tables tutorial. https://docs.aspnetzero.com/en/common/latest/Development-Guide-Rad-Tool-Master-Detail

I'm trying to follow along, but it is not generating the proper UI for Child Rows uner the Base Entities.

But when it comes to the UI, there is no child rows under the Base entity. In addition, not Edit Child buttons are generated.

The service applications classes and EntityFramewok classes all look like they are generating correctly.

When I look at the code in the MVC project, it is creating MasterDetailChild_ReportParent_ChildReportsController View and Model. But it doesn't appear the BaseEntities View is integrating the MasterDetailChild View.

Hi, Can you publish Metronic 7 source so we can alter themes?

Perfect. Thanks!

Showing 1 to 10 of 24 entries