Reference:
Deployment to IIS and Generic Deployment #2392
Just wanted to know did the deployment documentation (Deployment documentation is already in the roadmap (IIS, Azure, K8s... etc.). it is in the 5.2 milestone) mentioned in the above ticket (#2392) make it to v5.2?
Thanks,
Mike
Hi ABP Support,
I'm endeavouring to integrate a non-ABP Blazor Front end App (Blazor server at this stage, Blazor WASM to follow once (if) server version proof of concept (POC) is successful) into an ABP Commercial Framework/Environment as a Microservice.
There is nothing special about this non-ABP App, except it uses its own style via complex CSS and js that must be retained. Other than that, it’s just a chunk of Blazor C#...!!! Work has been based around taking the ABP Microservice Template and adding a new ABP service project (to house the non-ABP Blazor App) as per the ABP Commercial Microservice documentation.
So, in the microservice (ABP Suite generated) solution, from (in) the Blazor generated ABP project I make a dependency project to the non-ABP Blazor project. All’s good.
The non-ABP Blazor app uses its own layout(s) pages, js, C#, CSS etc (complex and powerful UI), and talks to an ABP Commercial framework developed back-end service to read and write data from a SQL database. All’s good and works.
I have the basics including routing (plumbing) running successfully, but now just struggling with the UI, Layouts, CSS and (ABP) Theming.
Essentially what I want to achieve (see below image) is to “place” the non-ABP Blazor UI app (as a microservice, unchanged and using its own non-ABP UI presentation) into the ABP themed pages in the “space” of the Page Content below, with the total (entire) page retaining the other ABP components – i.e., the toolbar and sub-components essentially (which then allow the app to retain functionality on the page of those functions – login/out for example.
I guess my first question would be - is this possible with ABP? (Again, emphasising that the “to be inserted non-ABP app - UI” uses its own layouts and themes (unrelated to ABP themes) and must continue to use them.
I’ve pored over both the ABP Commercial and non-Commercial doco seeing many Theme/UI interfaces, how to customize bits and pieces etc but have not found a succinct guide on how to achieve this outcome (I’m sure it is possible) but reaching out for your direction and help.
Has this been done before?
Is there any documentation or example projects that you could direct me to that will help?
What would be your best recommendation to help me achieve what I’m endeavouring to do?
Thanks in advance for your help and would really appreciate anything you could suggest or guidance to help me get this proof of concept I’m working on over the line with ABP Commercial. Mike
I’m researching deployment of a standard ABP Commercial Application (using the Start-up Template Application, SQL Server, Tiered (Identity Server), Blazor Server) to IIS.
I’m using .NET 6, the latest Volo ABP and ABP Commercial libraries 5.0.1, and Windows 10 (latest).
I have published (in Visual Studio 2022) the Blazor project (of the Application Template Solution) and setup successfully in IIS (local) - i.e., I can hit the site in a browser ok.
To test I run the dependencies IdentityServer project and the Api.Host project from Visual Studio (outside of IIS on 127.0.0.1 - not changing the config of the Blazor project to point elsewhere).
All is good until I try to login (from the Blazor front end – which runs successfully), where upon I get error when re-directing to IdentityServer (https://localhost:44346/) – Internal Server Error – invalid redirect url.
Guessing my config somewhere is wrong - CORS – Tokens – Certs maybe?
Are you able to help me solve this issue please?
Also, is there any documentation/tutorials on how to deploy ABP Commercial (Application Template) to IIS, or any other generic ABP/ABP Commercial deployment documentation, and if so, could you send to me or provide link(s) please?
I’d also would like to have some documentation on the deployment of ABP Commercial Microservices Template to IIS, as I will shortly be attempting to test/research a similar deployment to IIS once I have (hopefully) successfully resolved the above issues and deployed the Application Template to IIS successfully.
Thanks and best regards,
Mike
Are there issues with creating and running Start-up Templates with ABP Commercial version 5? Has this been tested?
I have tried unsuccessfully to create and get running a new Application Template Solution v5 (Tiered, Blazor Server, Entity Framework) and also (when I could not get that successfully running), a microservice Blazor Server, EF solution. Again v5 and frustratingly no luck there also.
In Tye with the microservice everything runs except the Blazor (44314) service. Same as the application template based solution, which is horrendously slow when it does manage to come to life (the Blazor project), albeit it briefly and randomly before failing.
Both template solutions fail with various errors here is one:
Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.
I could spend a lot of time documenting all the hours of dramas and problems I've encountered endeavouring to just try and create some new solutions and get them running (documentation needs a lot of improvement), but first I thought I'd reach out and ask if there are known issues with Blazor environments and if so, what are they and are they similar to what troubles I have experienced and possibly when can patches be released?
I note, I last used ABP Commercial with version 4.3, and the above worked pretty well and was straightforward with that version.
I'm using VS 2022 and .NET 6
Cannot get EasyCRM to run using Blazor. Works fine with MVC Web.
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServices phase of the module Volo.EasyCrm.Blazor.EasyCrmBlazorModule, Volo.EasyCrm.Blazor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> System.TypeLoadException: Type Blazorise.Bootstrap.BootstrapClassProvider has invalid vtable method slot 14 with method Blazorise.ClassProvider:NumericEdit (bool)
blazor.webassembly.js:1 at Volo.EasyCrm.Blazor.EasyCrmBlazorModule.ConfigureBlazorise(ServiceConfigurationContext context) in C:\Devel\Research\EasyCrm\mvc\src\Volo.EasyCrm.Blazor\EasyCrmBlazorModule.cs:line 79
blazor.webassembly.js:1 at Volo.EasyCrm.Blazor.EasyCrmBlazorModule.ConfigureServices(ServiceConfigurationContext context) in C:\Devel\Research\EasyCrm\mvc\src\Volo.EasyCrm.Blazor\EasyCrmBlazorModule.cs:line 53
Visual Studio 2019 16.9.4
Microsoft Visual Studio Community 2019 Version 16.9.4 VisualStudio.16.Release/16.9.4+31205.134 Microsoft .NET Framework Version 4.8.04084