locked
ASP.NET core 2.0 MVC RRS feed

  • Question

  • Hi,

    I am doing a multitenancy application where some of the contents in the views need to be dynamically populated based on the tenant name. I am thinking of doing it using resource files. I have created two resource files for two tenants. But with .NET Core 2.0 the resource files have corresponding classes from which you would read the properties. But how do I read the properties from the respective class based on the tenant?

    Thanks

    Angelo

    Wednesday, May 9, 2018 12:15 PM

All replies

  • Hi StockDev,

    Thank you for posting here.

    For your question is more related to ASP.NET, you could post a new thread in ASP.NET forum for suitable support.

    https://forums.asp.net/

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, May 10, 2018 8:02 AM