Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Programming APIs with C# and .NET

You're reading from   Programming APIs with C# and .NET Develop high-performance APIs that ensure seamless application communication and enhanced security

Arrow left icon
Product type Paperback
Published in Nov 2024
Publisher Packt
ISBN-13 9781835468852
Length 166 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jesse Liberty Jesse Liberty
Author Profile Icon Jesse Liberty
Jesse Liberty
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Chapter 1: Getting Started 2. Chapter 2: What We’ll Build FREE CHAPTER 3. Chapter 3: Implementing with REST 4. Chapter 4: Documentation with Swagger 5. Chapter 5: Data Validation 6. Chapter 6: Azure Functions 7. Chapter 7: Azure Durable Functions 8. Chapter 8: Advanced Topics 9. Chapter 9: Authentication and Authorization 10. Chapter 10: Deploying to Azure 11. Chapter 11: What’s Next? 12. Index 13. Other Books You May Enjoy

The application

The database we’ll be creating will be used in a simple (fictional) application for buying and selling cars. The database will keep a list of automobiles along with details of their engine, performance, and so on. A short example of this data is shown in Figure 2.2.

Figure 2.2 – A subset of the data table we’ll be using

Figure 2.2 – A subset of the data table we’ll be using

Creating the Car Table

The data for the Car table is from the free Automobile dataset at https://kaggle.com. Download the data and import it into a database named Cars and a table named Car. The columns should take care of themselves.

The datasets on Kaggle change frequently, so your list of cars may look a bit different. All the datasets are all presented as .csv files, so just download one and open SSMS in order to do the import. Here are the steps:

  1. Log into SSMS and create a database.
  2. Create a table named CARS.
  3. Start the Import Data Wizard. To do so, right-click on the table...
You have been reading a chapter from
Programming APIs with C# and .NET
Published in: Nov 2024
Publisher: Packt
ISBN-13: 9781835468852
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image