Demo of a simple ASP.NET Core web API written in Swift

Overview

Welcome!

This repo is a demo which shows the use of Llama Swift with ASP.NET Core.

Llama is my exploratory project to compile "other languages" for .NET using LLVM. It is at the "proof of concept" stage. See my blog for more info:

https://ericsink.com/tocs/llama.html

Try it

First, let me apologize to folks on a Mac, which means "almost all Swift developers". :-(

In principle, everything here should be cross-platform. Llama generally works on Windows, Mac, and Linux. But I haven't tried Llama Swift on Mac (or Linux) yet, so it probably doesn't work there. I plan to fix this soon.

Anyway, if you are on Windows and have Swift 5.4 installed, you should be able to just:

cd mul_webapi
dotnet run

Oh wait, you need .NET 6 Preview 4 as well. This sample uses the new serialization APIs in System.Text.Json.

The necessary nuget packages for this demo are in the nupkgs directory, which is configured using a nuget config file.

You should see the usual ASP.NET server starting up. The mul.json file contains an example request, and the mul.sh contains an example of how to send that request to the server using curl.

You might also like...
The demo app demonstrates a real-time application using FindSurface to search point clouds, which ARKit provides, for geometry shapes.
The demo app demonstrates a real-time application using FindSurface to search point clouds, which ARKit provides, for geometry shapes.

FindSurface-GUIDemo-iOS (Swift) CurvSurf FindSurface™ GUIDemo for iOS (Swift) Overview This demo app demonstrates a real-time application using FindSu

A demo project using VIPER architecture and building user interface programmatically
A demo project using VIPER architecture and building user interface programmatically

ProductDiscovery A demo project that building a UIKit user interface programmatically. Because the UI is made of code very long so I have separated it

 MeCab Demo for iOS 15 and SPM
MeCab Demo for iOS 15 and SPM

MeCab Demo for iOS 15 and SPM Sample project for MeCab, a Japanese tokenizer/morphological analyzer. Updated for iOS 15 and SPM. Successor to landonep

Demo app for SwiftUI state management
Demo app for SwiftUI state management

StateObject vs ObservedObject Demo Demo app for SwiftUI state management Run the app and push 3 buttons to increase each counter. Toggle one of the to

Official demo app released by Apple to teach SwiftUI

Landmarks This repository contains a demo application that I developed while following Apple's SwiftUI tutorials. Cloning Clone the repository using c

 emoji-picker demo 🥰
emoji-picker demo 🥰

emoji-picker demo 🥰 External dependencies Dependencies are managed by Swift Package Manager. SnapKit - a DSL to make Auto Layout easy on both iOS and

Demo project for MOPCON2021

Nav This project is a demo for MOPCON 2021. The topic is SwiftUI Navigation Study. There are 3 ways to see how the code works, which demos different v

Demo of using AVPictureInPictureController with an AVSampleBufferDisplayLayer content source not working on tvOS or macOS

PiP Bug Demo I believe there is an Apple-level framework issue when using AVPictureInPictureController with an AVSampleBufferDisplayLayer content sour

MeetingSample iOS demo workspace

MeetingSample iOS demo workspace

Owner
Eric Sink
Eric Sink
ITunesSearchApiDemo - A demo for using iTunes Search API

iTunesSearchApiDemo This is a demo for using iTunes Search API. For more informa

Gokhan Mutlu 0 Jan 26, 2022
A simple demo app to showcase streaming HLS with SwiftUI Videoplayer

HLS Streaming with SwiftUI Basic implementation of VideoPlayer for SwiftUI to play remote media files using HTTP Live Streaming (HLS). Multiple views

Create with Swift 17 Dec 14, 2022
🚀 This demo is very simple project, which designed to understand SwiftUI

?? This demo is very simple project, which designed to understand SwiftUI. It includes Main screen, DayList screen and detail screen.

Necati Evren Yaşar 40 Jan 6, 2023
Demo project using React Native technology to create a simple iOS app to find music in iTunes

React Native, native iOS apps with JavaScript iTunesCatalog is a demo app that aims to show the React Native platform potential. There are included th

Alexis Santos Pérez 55 Feb 10, 2022
This swiftUI Demo is very simple & easy to understand

This swiftUI Demo is very simple & easy to understand. This swiftUI demo includes On-boarding screens, login screen, forgot password screen, sign up screen, home & logout.

MindInventory 196 Dec 21, 2022
Example Xcode swift iOS project for Core Data + iCloud syncing

iCloudCoreDataStarter Hello, I'm Chad. For the last several months I have been working on Sticker Doodle, an app you should go download right now! In

Chad Etzel 521 Dec 27, 2022
Task App for Swift that Persist Data with Core Data (iOS)

Originally by: Michael Crump Updates for Xcode 10 with Swift 4.2 by David Phillip Oster

Michael Crump 16 Aug 3, 2021
GoodAsOldPhones is the demo app of Swift tutorial on code school.

GoodAsOldPhones GoodAsOldPhones is the demo app of Swift tutorial on code school. This app demonstates basic use and implementation of tab bar control

Kushal Shingote 5 May 24, 2022
Demo Swift Lint Two Warnings

DemoSwiftLintTwoWarnings Supports: iOS 10.0 and above Branches: master - stable app releases develop - development branch, merge your feature branches

Igor Makarov 0 Nov 25, 2021
The source code of the EU Digital COVID Certificate App Core for iOS

This repository contains the source code of the EU Digital COVID Certificate App Core for iOS.

null 35 Apr 5, 2022