locked
Azure Redish Cache Use RRS feed

  • Question

  •  Hi All,

    I have set Azure Redis Cache in an ASP.Net website. Can i access it(Azure Redish Cache) in a web api and Azure function app? Both the web api and Azure function app are deployed separately.

    Please not website is calling both the web api and azure function app.

    Please let me know if any further info required.

    Thanks,

    Salil


    • Edited by Salil_Inf Tuesday, May 26, 2020 3:36 PM
    Tuesday, May 26, 2020 3:32 PM

All replies

  • Yes, you can use the same Azure Cache for Redis instance from multiple clients (like Web API, Function App etc)

    Just make sure that you reuse connections in your logic and dispose old connections.

    The best practices are documented here

    Please let us know if you have further questions.

    -

     

    If this answers your query, do click “Mark as Answer” and Up-Vote for the same which might be beneficial to other community members reading this thread .

    And, if you have any further queries do let us know. 

     
    Wednesday, May 27, 2020 6:28 AM
  • Just checking in to see if the above answer(s) helped.

     

    If this answers your query, do click “Mark as Answer” and Up-Vote for the same which might be beneficial to other community members reading this thread .

    And, if you have any further queries do let us know. 

    Wednesday, June 3, 2020 6:19 AM