Activities of "jward01"

Hello!

My question is regarding is it possible to take code which is developed using ABP framework into an external application which is not an ABP framework application.

Summary of Question:

I am developing many ABP modules which i plan to use in one or many ABP applications and or microservices.

For sake of discussion, these ABP modules are only server side and have no UI attached to them.

Is it possible to use the Application / Domain / Entity Framework code (everything except the API layer) in external non-ABP applications?

Custom Module Example:

Module Name: My.Module.Products

Purpose of Module: To easily provide CRUD operations and database entries for product entries. By using this Module my SQL tables for products are automatically created, and CRUD operations are also included. This allows me to build applications quicker by "plugging in" this Product Oriented Logic.

Scenerio

At some point in the future for unforseen reasons I may want to use my ABP modules in an application outside the ABP framework.

Such as I can develop an Azure Function API and then install the nuget package(s) developed in the ABP Module in this non-ABP azure function project?

Questions:

  1. is this possible? can i compile many ABP Module projects into a single nuget package and run this in my Azure Function project without error?

  2. how would i achieve the above scenerio? is it possible?

Blazor.Server.Host is the UI project just like the Web. You can use it to test your module.

I selected "do not include UI", so i am confused why this was included in the template

What's the error?

It is a 500 error, application error, now that i run it again it is not erroring. Please see the video. https://drive.google.com/file/d/1ByfhoiqkpyQMsoFU4e049Zo7rg1CP0s0/view?usp=sharing

In the video the startup is VERY VERY slow, it takes 10 - 12 minutes to load identity server. Do you know why this is? my computer is very fast too: Computer stats here

Thank you, this helps alot!

Do you have a quick way to create nuspec files and include project / package refrences? I will need to create (1) nuspec per project which is pretty manual process.

Is by hand the current method?

Thanks!

Hello!

Basically I want to know or find documentation on how I can add a custom standalone module to an existing ABP Commercial solution.

I have created a stand-alone module using the ABP Suite.

Now I am trying to add the code to an existing ABP solution.

I see the documentation here which refrences installing pre-made modules, or installing a module into an existing solution directly using ABP suite, but no documentation about merging the two such as:

  • I have an existing ABP Commercial Tiered application
  • I have a standalone module

Questions 1.) How do I install the standalone module? Is there any documentation for this?

I see some refrence on EasyABP about installing nuget packages (one nuget package for each project), but when i go to create a nuget package from each of my projects in my stand alone module, the option to 'Create package on build' is disabled.

**How can I add my existing module to an existing application? Is there any documentation for this? **

2.) If the answer is "I must add the project as a refrence" that seems pretty not great as then I have to have the source code of all my modules accessible. Is there a way I can create nuget packages?

Thanks, I have done this and now I am able to run the Aeonic.Module.Reviews.HttpApi.Host project which successfully shows swagger API Docs.

I am not able to run the other 'host' projects:

* IdentityServer * Blazor.Server.Host

Four questions:

  1. Am I only supposed to be able to run the swagger project?
  2. Is it an error that I cannot run the IdentityServer project, or is that by design?
  3. Will the migrations be created automatically after each time I create a new Entity using ABP Suite? And I simply need to update the database as you mentioned? Or will I need to add the migration and update it manually each time?
  4. What is the purpose of the Blazor.Server.Host project?

Thanks!

You can try to remove Blazor.Server.Host project from your solution.

I have done this and not the application does not run at all. It builds fine, but when i run it i get 500 errrors 'application errors'

Is there anything I need to do to get the modules running?

Hi

https://github.com/abpframework/abp/pull/9760 we will fix it. and your ticket returned.

Hello! so this is fixed? is there anything i need to do to implement the fix?

  • ABP Framework version: v4.4.0

  • UI type: None

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): Module with no UI

  • Exception message and stack trace: Cannot find package {{ModuleName}}.Blazorize.Server

  • Steps to reproduce the issue:"

    1. Ensure CLI and ABP Suite are both version 4.4.0 (not pre-release)
    1. Create a new module Solution with NO UI
    1. Build the new Module App Soltion
    1. Error will appear for missing package {{moduleName}}.Blazorize.Server cannot be found

I am under the impression I created a Module with No UI. Now I see that it is looking for a Blazorize Module? I am confused to why it will not build. I have done 0 modifications and it will not build

Can we map it the other direction? For example I have these two entites:

  • UserMenu.cs
  • MenuItem.cs

A UserMenu can have many MenuItems.

If I use the GUI, I can only map it in this direction:

MenuItem --> has a UserMenu

If I query a UserMenu, no MenuItems appear.

If I query a MenuItem the UserMenu is returned in the query.


My goal is to query the UserMenu and have many MenuItems returned, 2 or more.

Is this possible in ABP Suite?

I am having this same issue, what was the solution?

I have a module which I refrence in my Host Monolith.

If i navigate or use an endpoint from the module I get this same error:

An error has occurred! Authorization failed! Given policy has not granted.

Showing 1 to 10 of 17 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11