-
From SOAP to REST to GraphQL
Last updated: Tuesday, April 23, 2024
Published in: CODE Magazine: 2024 - May/June
This article by Joydip Kanjilal provides an overview of the evolution of web APIs from SOAP to REST to GraphQL. By understanding the progression from SOAP to REST to GraphQL, developers can make informed decisions when choosing the right API design for their projects. The article includes code examples and instructions for building applications using SOAP, REST, and GraphQL.
-
Building Microservices Architecture Using GraphQL and ASP.NET 7 Core
Last updated: Wednesday, December 13, 2023
Published in: CODE Magazine: 2023 - July/August
This article provides an overview of GraphQL, its features and benefits, and how it compares and contrasts with REST and gRPC. It also explains how to take advantage of GraphQL to build microservices-based real-time applications in ASP.NET Core 7 and provides an overview of GraphQL schemas and their components.
-
Minimal APIs in .NET 6
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - January/February
Controller-based APIs have been around for a long time, but .NET 6 changes everything with a new option. Shawn shows you how it works.
-
Test Your REST APIs Using Insomnia REST Client
Last updated: Wednesday, May 24, 2023
Published in: CODE Magazine: 2021 - July/August
APIs are everywhere! Joydip shows you how to take advantage of them using a new, free, cross-platform desktop framework, Insomnia, with its user-friendly interface and sophisticated features.
-
Using Ajax and REST APIs in.NET 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - March/April
In this article, create a .NET 5 Web server to service Web API calls coming from any Ajax front-end. You also learn to create an MVC Web application and a Node server to serve up Web pages from which you make Ajax calls to the .NET 5 Web server.
-
Intro to GraphQL for .NET Developers: Schema, Resolver, and Query Language
Last updated: Thursday, March 18, 2021
Published in: CODE Magazine: 2019 - September/October
Peter introduces you to GraphQL so your REST API client list can grow and change without a lot of pain. You can use strongly typed schema, eliminated over- and under-fetching, and you can get analytics about how clients are really using your API.
-
Implementing Push Notifications in Progressive Web Apps (PWAs) Using Firebase
Last updated: Wednesday, April 7, 2021
Published in: CODE Magazine: 2019 - January/February
Using Firebase Cloud Messaging, Wei-Meng shows you how to enable PWA push notifications as if they were native code, and how to host your REST API as a serverless app.
-
Building a CODE Framework Service and Consuming It on an iPhone Application
Last updated: Tuesday, May 31, 2022
Published in: VFP Conversion Papers, CODE Magazine: 2013 - May/June
In this article, you will create a CODE Framework RESTful service and an iPhone application from scratch. For the client side, you will utilize XCode (yes, you’ll need a Mac!), which uses Objective-C as the primary language. This article won’t teach you the language; you need to know the basics of Objective-C. Even if you don’t know anything about it but want to code right away, read the article “Building a Twitter Search Client on iOS,” by Ben Scherman, available for all CODE readers in the Xiine application for Windows, Android, and iPhone. For the database, you’ll use any instance of SQL Server 2008. The service will be written in C#, using the latest version of CODE Framework, available on http://codeframework.codeplex.com, where you will find not only the download link, but also a lot of useful information.
-
Exploring the Bing API Using WCF
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2010 - May/June
The TV commercials took me and many others by surprise. A stream-of-conscienceless-style ad that had our brains struggling to catch up with the next topic that the next person blurted out. Funny enough, the bouncing from topic to topic by the actors in the commercial seem to be a familiar metaphor to anyone that has traversed search results at one time or another. And at the end, a familiar logo appears: Microsoft, followed by a not-so-familiar one: Bing.
-
Using the Amazon Web Service SDK for .NET
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2010 - March/April
The richest set of cloud computing services comes from a little e-commerce company known as Amazon.com. Developers can access the Amazon Web Services (AWS) platform using numerous tools including the .NET platform.Amazon.com is a major player in the cloud computing space and has numerous services available to developers. In late 2009, Amazon released the AWS SDK for .NET. This article will demonstrate using the AWS SDK to create a custom backup service using the Amazon Simple Storage Service (S3).
-
Post Mortem: Tower48 Software Escrow
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2009 - September/October, Markus Egger Talks Tech
-
Twitter Programming Using WCF and REST
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2009 - September/October
Along with an easy site with which you can access your account, there are many really cool Twitter clients out there. This is thanks to an exposed API that you can use to access all of Twitter’s features. The great thing is that this API uses a technology that WCF has embraced completely; I’m talking about REST. Though you can certainly use straight network programming to access and update your Twitter account, why not use the technology that Microsoft has put all their eggs into as far as communications programming is concerned? Twitter is, after all, all about communicating, right?
-
Programming Twittering with Visual Basic
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2009 - March/April
Social networking has reached critical mass. One unique social networking platform, Twitter, launched in March of 2006 and took the world by storm with its social networking and microblogging platform.The developers of Twitter had the forethought to provide a REST -based API. Numerous developers have used the REST-based API to build Twitter clients on dozens of different platforms. In this article I’ll demonstrate how to access Twitter using the .NET platform.
-
Chapter 1: RESTful Systems - Back to the Future
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
Developers are rapidly discovering the power of REST to simplify the development of even the most sophisticated Web services—and today's .NET platform is packed with tools for effective REST development. Now, for the first time, there's a complete, practical guide to building REST-based services with .NET development technologies.