애저 OpenAI 서비스 배워보기
팀 동료인 Christopher Maneu가 정리한 내용을 바탕으로 한글화했습니다.
var json = "{ \"message\": \"Hello World!\"}"; | |
dynamic deserialised = JsonConvert.DeserializeObject<object>(json); | |
Console.WriteLine(deserialised.message); |
팀 동료인 Christopher Maneu가 정리한 내용을 바탕으로 한글화했습니다.
{ | |
"Values": { | |
"FUNCTIONS_WORKER_RUNTIME": "dotnet" | |
} | |
} |
func start |
process_id=$(sudo lsof -nP -i4TCP:7071 | grep LISTEN | awk '{print $2}') | |
sudo kill -9 $process_id |
#!/bin/bash | |
# Even after IntelliJ IDEA stops running the function app, | |
# the process is still alive. It only happens on IntelliJ IDEA on Mac. | |
# This script finds the Azure Functions process and kill it. | |
# | |
# You don't need this script if you use terminal or Visual Studio Code. | |
# You don't need this script if you run IntelliJ IDEA on Windows. | |
# | |
# Usage: ./kill-process.sh -p 7071 |
sh -c "$(curl -fsSL \ | |
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
<Project Sdk="Microsoft.NET.Sdk"> | |
... | |
<ItemGroup> | |
<!-- .NET Core 2.1 or 3.1: In-process Worker --> | |
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.OpenApi" Version="1.0.0" /> | |
</ItemGroup> | |
... | |
</Project> |
### original workflow: azure-static-web-apps-xxxx-xxxx-xxxx.yml ### | |
name: Azure Static Web Apps CI/CD | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: |
sdkVersion="6.0.100" | |
sudo rm -rf /usr/local/share/dotnet/sdk/$sdkVersion | |
sudo rm -rf /usr/local/share/dotnet/sdk-manifests/$sdkVersion |