Click here to Skip to main content
14,921,361 members
Articles / Programming Languages / Javascript


26 bookmarked

.NET Core Web API: The Least You Need To Know (Part 1 of 2)

Rate me:
Please Sign up or sign in to vote.
4.94/5 (15 votes)
20 May 2020CPOL15 min read
A quick article to walk you through building your .NET Web API and posting to it via AJAX (using JSON)
Have you ever wanted to gen up a quick Web API to run some server side functionality? Follow this article and you'll have a working Web API and understand how to use vanilla JavaScript to post your JSON to it via XMLHttpRequest (AJAX).




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior) RADDev Publishing
United States United States
Roger has worked in IT for over 25 years in numerous roles (Technical Support, Quality Assurance, Capacity & Performance Engineering and Software Development).
During that time, he has recognized that software often just becomes another layer of work that the user has to wade through.
Sometimes technical documentation is like that too: so confusing and complex that it wastes developers' time.
That's why when he writes his books like Programming Windows 10 Via UWP and his articles (Practical Electronics For Makers) he strives to explain things in the shortest available space with the simplest language possible. Often that means, writing in a tutorial style with numerous images to help guide the user.
He believes the best guiding principle is Einstein's famous quote: "Everything should be made as simple as possible, but not simpler."

Comments and Discussions