Can Angular be used with classic asp.net?

brgdotnet
brgdotnet used Ask the Experts™
on
I am working on a classic asp.net application. Can you tell me if I will be able to use Angular with classic Asp.net? Or is it only for MVC?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
A couple of pointers

There is ASP Classic and ASP.Net. Classic ASP.Net is not really a term.

Secondly, Angular is a client side scripting environment (server too if you are using Node.js - but that excludes ASP.Net) whereas ASP is a server side scripting environment.

Upshot: the two don't know anything about each other. When Angular talks to a server it has no idea what the scripting environment is - and it does not care - it asks for data using standard REST calls and the server responds (usually with JSON data).

As long as a server side script can handle a REST call (or a simple POST) and can return data in the required format Angular will work with it.
brgdotnetcontractor

Author

Commented:
Thank you Julian. I will award you the points for this question. Can you do me one special favor and give me one or two hyperlinks that show how to use Angurlar with asp.net web forms?
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
I don't have any specific examples other than what google will display on a simple search.

There are many examples out there. I don't use Angular with .Net in that way. I build the interface in Angular and then send and receive data from .Net web services.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial