Open Closed

landing page background image question #9550


User avatar
0
sghorakavi@cpat.com created

In current project connectionstring is part of Auth server. How do we resolve web server to get connection string from AuthServer. Connectionstring cannot be found in Web service for UI to get background image from AbpSetting for the landing page.


3 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, since you're using a tiered application, by design, the HttpApi.Host and AuthServer projects have direct access to the database and are responsible for exposing the necessary APIs. The UI layer (typically the Web project) consumes these APIs.

    Would it be possible for you to implement your logic in the HttpApi.Host project to return the background image as a URL, and then use that URL in your Web project? Or is there a specific reason this approach doesn’t work for your case?

    If there’s something I’m missing, could you please clarify and provide a bit more detail so we can better assist you?

    Regards.

  • User Avatar
    0
    sghorakavi@cpat.com created

    Hi EngincanV, Let me try to access from Host instead of getting from AuthServer. That way, Web server might get the image as well. Thank you, Sudha

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    [sghorakavi@cpat.com] said: Hi EngincanV, Let me try to access from Host instead of getting from AuthServer. That way, Web server might get the image as well. Thank you, Sudha

    Yes, this might be a better and easier solution. Please let me know if you need help.

    Regards.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 17, 2025, 06:22