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)
-
0
Hi, since you're using a tiered application, by design, the
HttpApi.Host
andAuthServer
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.
-
0
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
-
0
[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.