Creating technology independent component in C# RRS feed

  • Question

  • Hi,

    I would like to create a component in C# (e.g. Finance modules) which can be used by various processes and web sites written in other languages than C#( like Java, Perl,PHP etc..). What should be the best approach?

    Should I write an web service/API for this?

    Please suggest best approach.


    Sonali Das

    Tuesday, August 22, 2017 11:45 AM

All replies

  • A REST API is the correct choice here. It is the only technology that can be used seamlessly with just about any language. If the language supports making HTTP calls then it works with REST. Other technologies either require more work or support libraries to get them to play with non-.NET platforms.

    Please post further questions related to REST APIs in the ASP.NET forums.

    Michael Taylor

    • Proposed as answer by BonnieBMVP Wednesday, August 23, 2017 4:17 AM
    Tuesday, August 22, 2017 2:08 PM