Skip to main content
Home  ›  Blog

WebAPI 2.5 Routing or "How does the API-URL end up talking to this WebAPI-Code"

In this post I would like to help you understand what happens between the sheets - mostly from the moment the web server receives the request up to the moment where your code (your C# class) gets to do something.

Pre-Requisites

  • I would recommend to watch the Basic-Series Parts 1.1, 1.2 and 1.3 since it explains the very basics of WebAPI.
  • Since this is part 2.2, you would also benefit from starting with 2.1, 2.2, 2.3 and 2.4.
  • Even if you don't, make sure you have a working DNN with 2sxc 6.4 installed ( see this blog for help).
  • The App you'll install can be found in the App-Catalog - direct link here

In the following 7 minute Video, I'll show you

  1. Routing - what binds a URL to your code
  2. Help you understand how things are connected - very important if you want to get good at WebAPI
  3. I'll also show you differences from ASP.net to DNN to DNN-Apps in 2sxc (which don't require any registration). 
  4. The URLs and posts data which arrives at the server
  5. The mechanisms that are at work before your code starts

Let's go!

Further links

With love from Switzerland,
Daniel 


Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 800 DNN projects since 1999. He is also chief architect of 2sxc (see github), an open source module for creating attractive content and DNN Apps.

Read more posts by Daniel Mettler