Integrating AngularJS with existing Asp.net web forms website RRS feed

  • Question

  • Hi I want to enhance the user interface of an existing web forms website using AngularJS. Is it possible to use it without upgrading website to webApp? Can anyone help me in steps of how to integrate AngularJSwith the website? Note: The code is a legacy code 10 years 
    Thursday, August 24, 2017 3:56 PM

All replies

  • Hello m_tawar,

    AngularJS is javascript so yes you can deliver without upgrading the website.  You might be getting confused by the different starter projects and templates available that show the referenced javascript and css being included via nuget packages.

    For a legacy app, I suggest taking one asp.net view and just referencing the javascript withing the view directly to get started.  Take the sample provided at https://angularjs.org/ as an example.  This just pulls down the required js files from CDN so you don't even need to deliver angular files from your solution to start.

    Hope this helps.

    Cheers, Jeff

    Thursday, August 24, 2017 8:38 PM
  • Hi m_tawar,

    According to your question is more related to asp.net, you could post a new thread in

    WCF, ASMX and other Web Services forum for suitable support.

    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,


    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.

    Wednesday, August 30, 2017 1:56 AM