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?
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:
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?
how would i achieve the above scenerio? is it possible?
Blazor.Server.Host
is the UI project just like theWeb
. 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:
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:
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:"
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:
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.