Activities of "karl.ettinger@energieag.at"

hi,

another problem when using app.UsePathBase is that the language selection does not work in either the mobile view or the desktop view. After selecting the language, the URL changes from “https://tbfs001wvv.powerentity.com/BookStore” to “https://tbfs001wvv.powerentity.com/https://tbfs001wvv.powerentity.com/BookStore”

From:

To:

hi, thanks for the hint with MenuContributor. It works.

What does not work with the MobileNavbar is the menu item “Login” with href=“/account/login”. Can I overwrite this href tag? I haven't found anything about this.

In the desktop view, the href tag href=“account/login” is correct

On the login page in the mobile view, I cannot see the optional login with “Azure Active Directory OpenId” and I cannot scroll up the login page. The page is cut off.

On the Desktok login page, the view works (because it is larger).

Hi,

Please also consider the “href tag” of the Home button when using app.UsePathBase in MobilNavbar.

Thank you

Hi!

... By default you can't to that, you have to override original component in your project and you can customize it however you need. Does the above sentence refer to the Blazorise DataGrid or to the Mobile Navbar?

Hello!

Thanks for the good and quick answer!

I still have two questions:

  1. On the Mobile Navbar, can I remove the icons above Home, Settings and Admin and replace the center large “menu item” with the text Menu to make the Mobile Navbar smaller and have more space for the application?

  2. We currently use the Blazorise DataGrid, which is very easy to program with. Unfortunately, I have not yet found a way for the DataGrid to adjust itself downwards from a certain top position to the respective screen height and display the data in a “window” with vertical scrollbars. Do you know a solution how this is possible?

  • ABP Framework version: v8.0.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello!

The LeptonX Pro template, which we use with Blazor-Server, wastes a lot of space in the sidebars. This is especially disadvantageous for the mobile view (see screenshot).

What possibilities are there to reduce these margins (see arrows on the screenshot) without having to redo this with an ABP update?

What is the reason for the empty space to the right of the home button?

Hello,

here are some more findings on the attempt to get my BookStore application to run in IIS in an application.

Initial situation:

  • Create the new pool BookStore in IIS under *Application Pools
    • Domain name tbfs001wvv.powerentity.com and certificates are stored under Default Web Site as well as the application pool DefaultAppPool; bindings https*.443;http:*.80
    • Create a new application with the name BookStore under Default Web Site and assign the application pool *BookStore
    • The folder waiver of Default Web Site is C:\inetpub\wwwroot
    • Create an Acme.BookStore folder under C:\inetpub\wwwroot.
      • Assign permissions IIS_IUSERS and IIS AppPool\BookStore to Acme.BookStore.
      • Copy the deployment files from the Acme.BookStore application in the Acme.BookStore folder
      • The Acme.BookStore application has the base href=“/BookStore/” entry in /Pages/_Host.cshtml and app.UsePathBase(“/BookStore”); is entered in BookStoreBlazorModule.cs/OnApplicationInitialization
  • Database BookStore is created and ready to use
  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com/BookStore
  • Result: Page https://tbfs001wvv.powerentity.com/BookStore does not work

  • Second BookStore application with base href=“~/” in /Pages/_Host.cshtml and without app.UsePathBase(“/BookStore”); in BookStoreBlazorModule.cs/OnApplicationInitialization
  • Deployment files of the second BookStore application copied to the C:\inetpub\wwwroot folder
  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com
  • Result: Page at https://tbfs001wvv.powerentity.com works

  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com/BookStore
  • Result: Page https://tbfs001wvv.powerentity.com/BookStore now also works

  • Delete only the deployment files under C:\inetpub\wwwroot (folder C:\inetpub\wwwroot\Acme.BookStore is retained)
  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com/BookStore
  • Result: Page https://tbfs001wvv.powerentity.com/BookStore does not work

Summary: If the same deploment files are stored in the folder C:\inetpub\wwwroot as under C:\inetpub\wwwroot\Acme.BookStore, the page https://tbfs001wvv.powerentity.com/BookStore works. If the folder C:\inetpub\wwwroot does not contain the deployment files, the page https://tbfs001wvv.powerentity.com/BookStore does not work.

Hello,

does my test application “BookStore” work on your IIS as a virtual application?

Hello,

Thanks for the information, but I had already read this article before I contacted you. All the settings mentioned in this article are the same for my IIS.

For your information: If I configure the test project I sent you without a virtual application and copy the deployment in IIS to “Default Web Site”, the test application works. It just does not work as a virtual application.

Thanks for the tip. I proceeded in the same way, except that I use a virtual application.

The virtual application “BookStore” is created in the IIS under “Default Web Site” and I have also created an application pool “BookStore”. The system uses real domain names.

When it is called: https://tbfs001wvv.powerentity.com/BookStore the following is displayed in the browser:

Zobrazeno od 1 do 10 z celkem 30 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11