Open Closed

How to implement, populate and display Google Maps from Database in abp. #353


User avatar
0
Katherine created

Hi, could you provide an example/guideline on how to load data from entity framework in Index.cshtml.cs. I'm trying to implement a googlemap in the index.cshtml.cs, I have no idea on how to load the data from abpframework and bind to googlemap.

ABP Framework version: v3.0.5 Database: Entity Framework Core UI type: MVC/Razor Pages Tiered (MVC): No Tiered


2 Answer(s)
  • User Avatar
    1
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Do you mean you want to get data from database and bind to googlemap? You just create an application sevice and use repository to get data.

  • User Avatar
    0
    alper created
    Support Team Director

    there are many pages that retrieve data and show on the page. for example, you can see the roles page. https://github.com/abpframework/abp/tree/dev/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11