並び順

ブックマーク数

期間指定

  • から
  • まで

121 - 160 件 / 204件

新着順 人気順

dotnet runの検索結果121 - 160 件 / 204件

  • .NET Coreの汎用ホストを使ってバッチを作ってみる - athome-developer’s blog

    こんにちは、情報システム部の高野です。 とある方のつぶやきで初めて知ったのですが、 .NET Core 2.1で汎用ホストなるものが追加されていたのですね。 docs.microsoft.com これでバッチ処理などのバックエンドのプログラムも ASP.NET Coreのようにインジェクションなどの設定ができそう! ということでサンプルを作ってみたので手順を書いておきます。 とりあえず環境 .NET Core SDK v2.1.403 VisualStudio Code v1.29.0 プロジェクトの作成 汎用ホスト用のテンプレートは今のところ無いのでconsoleで作成します。 dotnet new console -o GenericHostSample cd GenericHostSample dotnet restore VS Codeのデバッグ設定 VS Codeでプロジェクトを

      .NET Coreの汎用ホストを使ってバッチを作ってみる - athome-developer’s blog
    • GTK# プラットフォームの設定 - Xamarin

      Xamarin.Forms では、現在、GTK# アプリのプレビュー サポートが提供されています。 GTK# は、GTK+ ツールキットとさまざまな GNOME ライブラリをリンクするグラフィカル ユーザー インターフェイス ツールキットであり、Mono と .NET を使用して完全にネイティブな GNOME グラフィックス アプリを開発できます。 この記事では、GTK# プロジェクトを Xamarin.Forms ソリューションに追加する方法について説明します。 Visual Studio Visual Studio for Mac Windows デスクトップで実行される GTK# アプリを追加するには、次の手順に従います。 Visual Studio 2019 で、ソリューション エクスプローラーのソリューション名を右クリックし、[追加] > [新しいプロジェクト] を選択します。

        GTK# プラットフォームの設定 - Xamarin
      • The history of the GC configs - .NET Blog

        Recently, Nick from Stack Overflow tweeted about his experience of using the .NET Core GC configs – he seemed quite happy with them (minus the fact they are not documented well which is something I’m talking to our doc folks about). I thought it’d be fun to tell you about the history of the GC configs ‘cause it’s almost the weekend and I want to contribute to your fun weekend reading. I started wo

          The history of the GC configs - .NET Blog
        • GKE で .NET Core アプリを実行してみた

          この記事は Google Cloud Japan Customer Engineer Advent Calendar 2019 の 15日目の記事です。 TL;DR.NET Core の特徴の一つはクロスプラットフォームであり、Windows 以外に Linux でも実行できるランタイムです。.NET Core のアプリケーションをコンテナ化し、Google Kubernetes Engine (GKE) を実行環境として選ぶと Google Cloud Platform (GCP)のサービスを利用できるメリットがありますので、簡単な Web アプリを GKE と GCP が提供している HTTP(S) Load Balancer の特徴を活かした設定を紹介します。 .NET Core の簡単なアプリケーションを作成しコンテナ化.NET Core は現時点で 3.1 になっており、3.0

            GKE で .NET Core アプリを実行してみた
          • Elmish · Elmish

            -ish a suffix used to convey the sense of “having some characteristics of” Elmish implements core abstractions that can be used to build F# applications following the “model view update” style of architecture, as made famous by Elm. The goal of the architecture is to provide a solid UI-independent core to build the rest of the functionality around. Elm architecture operates using the following con

            • #Script Lisp

              #Script is designed as a small, expressive and wrist-friendly dynamic scripting language that for maximum familiarity is modelled after the world's most popular and ubiquitous scripting Language, JavaScript. Its minimal syntax was inspired by other small but powerful languages which heavily utilizes functions instead of adopting a larger language grammar defining different bespoke syntax for langu

              • .NET 5 を使いたい理由6選(ASP.NET Core編)CCT-recruit | CCT-recruit

                フロントエンドからバックエンドまでC#を使いたい .NET 5 では、コアモジュールのパフォーマンス向上、言語面の進化に加え、ASP.NET Coreも進歩しました。この記事ではASP.NET Coreの進歩に着目します。 私たちが ASP.NET Core 5 を使わない理由はあるでしょうか。 おそらく「C#のエンジニアが揃ったチームの新規開発」のシナリオにおいてそれはほとんどありません。積極的に使いたい理由を6つ取り上げます。 使いたい理由1 : 最新のC#9をサポートしている C#9の record をサポートしています。recordはclassの拡張なので動いて当然といえば当然と思えますが、こうした言語の拡張がスムーズに取り込まれていくことはとても重要です。そしてこれも.NET / C#の魅力です。 C#で近年強化された何を使うことができるでしょうか。 例えば、パターンマッチングを

                • Async in C#, .NET, and Unity: Allocation and state machine builders

                  Async in C#, .NET, and Unity: Allocation and state machine builders While helping with little something that uses Unity I came across the rabbit hole async/await support is in Unity. Historically Unity used generators (known as coroutines in Unity’s world) to support async/multiple-frames-spanning computation. In 2017 they added initial support for async/await but without any meaningful libraries

                    Async in C#, .NET, and Unity: Allocation and state machine builders
                  • ASP.NET Core などで使われている Generic Host (汎用ホスト) を見てみよう

                    最近 (といっても何年も前からですが…) ASP.NET Core などの Web アプリケーションを作ると以下のようなコードが Program.cs に書いてあったりします。 using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebApplication5 { public class Program { public static

                      ASP.NET Core などで使われている Generic Host (汎用ホスト) を見てみよう
                    • GitHub Actions now with Manual Approvals

                      Implement deployment gating with manual approvals in GitHub Actions, now available with the Environments feature. I’ve loved GitHub Actions since they were released, but the one piece I always felt was missing was some kind of gating or more control around deployments. Now we can add manual approval requirements to our workflows through GitHub’s new Environments configurations. Environments also s

                        GitHub Actions now with Manual Approvals
                      • AWS Toolkit for VS Code に App Runner管理機能が追加されたのでためしてみた | DevelopersIO

                        いわさです。 Visual Studio Code では、AWS Toolkit for Visual Sutdio Codeという拡張機能が提供されていますが、今回こちらにAWS App Runnerの統合機能が追加されました。 App Runnerをスルーしていたなーと思っていたので、良い機会ですし触ってみました。 Webアプリ用意 まずは、Webアプリを用意します。 App Runnerではコードからデプロイする機能とコンテナをデプロイする機能があるようで、コードランタイムはPythonとNode.jsのみ現時点では対応しているようです。 皆さんASP.NETを使いたいだろうと思いますので、今回はコンテナイメージから用意したいと思います。 ASP.NET CoreのMVCテンプレートにDockerFileを追加したものをデプロイに使います。 dotnetコマンドでスケルトンを作成し、

                          AWS Toolkit for VS Code に App Runner管理機能が追加されたのでためしてみた | DevelopersIO
                        • チュートリアル - .NET の Azure Web アプリを使用して Azure Key Vault を使用する

                          Azure Key Vault は、資格情報やその他のシークレットをより安全に格納する方法を提供します。 ただし、それらを取得するためには、コードから Key Vault に対する認証を行う必要があります。 Azure リソースのマネージド ID に関するページは、Microsoft Entra ID で自動的に管理される ID を Azure サービスに提供することで、この問題を解決するのに役立ちます。 この ID を使用して、コードに資格情報が表示されていなくても、Key Vault を含む Microsoft Entra の認証をサポートする任意のサービスに認証することができます。 このチュートリアルでは、Azure Web アプリケーションを作成して Azure App Service にデプロイします。 マネージド ID、Azure key vault、.NET 用の Azure

                            チュートリアル - .NET の Azure Web アプリを使用して Azure Key Vault を使用する
                          • Nightmare - Nightmare

                            Nightmare is an intro to binary exploitation / reverse engineering course based around ctf challenges. I call it that because it's a lot of people's nightmare to get hit by weaponized 0 days, which these skills directly translate into doing that type of work (plus it's a really cool song). What makes Nightmare different? It's true there are a lot of resources out there to learn binary exploitation

                            • GitHub - taishi-i/awesome-ChatGPT-repositories: A curated list of resources dedicated to open source GitHub repositories related to ChatGPT

                              awesome-chatgpt-api - Curated list of apps and tools that not only use the new ChatGPT API, but also allow users to configure their own API keys, enabling free and on-demand usage of their own quota. awesome-chatgpt-prompts - This repo includes ChatGPT prompt curation to use ChatGPT better. awesome-chatgpt - Curated list of awesome tools, demos, docs for ChatGPT and GPT-3 awesome-totally-open-chat

                                GitHub - taishi-i/awesome-ChatGPT-repositories: A curated list of resources dedicated to open source GitHub repositories related to ChatGPT
                              • [アップデート] Amazon RDS for PostgreSQL で tcn 拡張モジュールが利用出来るようになったので .NET クライアントアプリで通知を受信してみた | DevelopersIO

                                [アップデート] Amazon RDS for PostgreSQL で tcn 拡張モジュールが利用出来るようになったので .NET クライアントアプリで通知を受信してみた いわさです。 本日 RDS for PostgreSQL で tcn 拡張モジュールがサポートされたとアナウンスがされていました。 tcn 自体は以前から存在していたようですが、RDS for PostgreSQL では先日のマイナーバージョンアップデート(14.6, 13.9, 12.13, 11.18)から利用が出来るようになったということのようです。 tcn は Trigger Change Notification の略で(多分)、テーブルに関する変更を通知することが出来る組み込みの拡張モジュールです。 本日はこちらの基本的な使い方を確認しながら、.NET クライアントアプリケーションで通知を受信するというこ

                                  [アップデート] Amazon RDS for PostgreSQL で tcn 拡張モジュールが利用出来るようになったので .NET クライアントアプリで通知を受信してみた | DevelopersIO
                                • PowerPoint Presentation

                                  © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive Solutions Architect 柳 嘉起 2020/8/25 EC2 Image Builder サービスカットシリーズ [AWS Black Belt Online Seminar] © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2 自己紹介

                                  • Announcing F# 5 preview 1 - .NET Blog

                                    We’re excited to announce that F# 5 preview 1 is now available! Here’s how to get it: Install .NET 5 preview SDK Install Jupyter Notebooks for .NET If you’re using Visual Studio on Windows, you’ll need both the .NET 5 preview SDK and Visual Studio Preview installed. Using F# 5 preview You can use F# 5 preview via the .NET 5 preview SDK, or through the .NET and Jupyter Notebooks support. If you’re

                                      Announcing F# 5 preview 1 - .NET Blog
                                    • ASP.NET Core の構成

                                      ASP.NET Core のアプリケーション構成は、1 つまたは複数の構成プロバイダーを使用して実行されます。 構成プロバイダーは、以下のようなさまざまな構成ソースを使用して、キーと値のペアから構成データを読み取ります: appsettings.json などの設定ファイル 環境変数 Azure Key Vault Azure App Configuration コマンド ライン引数 インストール済みまたは作成済みのカスタム プロバイダー ディレクトリ ファイル メモリ内 .NET オブジェクト この記事では ASP.NET Core の構成について説明します。 コンソール アプリでの構成の使用方法について詳しくは、.NET 構成に関する記事をご覧ください。 アプリケーションとホストの構成 ASP.NET Core アプリはホストを構成して起動します。 ホストはアプリの起動と有効期間の管理

                                        ASP.NET Core の構成
                                      • Azure Communication Services を使って Azure マネージドサービスのみでメールを送信出来るようになっていたので試してみた | DevelopersIO

                                        Azure Communication Services を使って Azure マネージドサービスのみでメールを送信出来るようになっていたので試してみた いわさです。 この記事は 「Azure Advent Calendar 2022」の 17 日目の記事となります。 これまで Azure にはメール送信するためのマネージドサービスがなく SendGrid などの外部サービスを利用する方法が使われていたと思います。 どうやらここ数ヶ月で Azure Communication Services を使った E メール送信というのが出来るようになったようです。知らなかった。 遡って調べてみると、この機能は今年 5 月の Microsoft Build 2022 でアナウンスされていた機能のようでして、現在プレビューで利用が可能です。 まだプレビューということもあり E メール送信システムに必要

                                          Azure Communication Services を使って Azure マネージドサービスのみでメールを送信出来るようになっていたので試してみた | DevelopersIO
                                        • Entity Framework Core 5 - Pitfalls To Avoid and Ideas to Try | The .NET Tools Blog

                                          IDEs AppCode CLion DataGrip DataSpell Fleet GoLand IntelliJ IDEA PhpStorm PyCharm RustRover Rider RubyMine WebStorm Plugins & Services Big Data Tools Code With Me Quality Assurance JetBrains Platform Scala Toolbox App Writerside JetBrains AI Team Tools Datalore Space TeamCity Upsource YouTrack Hub Qodana .NET & Visual Studio .NET Tools ReSharper C++ Languages & Frameworks Kotlin Ktor MPS Amper Edu

                                            Entity Framework Core 5 - Pitfalls To Avoid and Ideas to Try | The .NET Tools Blog
                                          • Switching from C# to Go for Backend Development - Aluma

                                            By Phil Richards, Lead Architect at Aluma Running a microservices-based architecture here at Aluma means we’re able to trial new technologies when developing new features, without having to rewrite a monolith. We'd already been using Go for our command-line client, but around a year ago we tried out Go for a new microservice, and we liked it so much we decided to use it for all future backend deve

                                              Switching from C# to Go for Backend Development - Aluma
                                            • GitHub Actions / Azure Pipelines 上で Azurite と Cosmos DB Emulator を使ったテストを実行する - しばやん雑記

                                              GitHub や Azure DevOps を使った開発フローにテスト実行を組み込むのは一般的に行われていると思いますが、Azure Storage や Cosmos DB などに依存するテストを実行する際には、実際のリソースにアクセスさせるのではなくローカルで完結させたいことが多いです。 特にテストケースによってはデータが実行毎に揮発してくれた方が都合の良いことが多いので、実際のリソースより気軽に起動とデータの全削除が行える Emulator が便利です。Azure Storage と Cosmos DB には Docker ベースの Emulator が提供されているので、CI と組み合わせるのが簡単になっています。 Azure Storage の Emulator は最近は Azurite が主流になっているので、古い Storage Emulator ではなくこちらを使って行くよう

                                                GitHub Actions / Azure Pipelines 上で Azurite と Cosmos DB Emulator を使ったテストを実行する - しばやん雑記
                                              • .NET 💜 GitHub Actions: Intro to GitHub Actions for .NET - .NET Blog

                                                Azure Developers .NET Day is back on April 30th! Join the .NET community to learn cutting-edge cloud development techniques from experts on cloud services for AI, data, cloud-native, and developer productivity. Elevate your cloud development skills today! Hi friends, I put together posts where I’m going to teach you the basics of the GitHub Actions platform. In this post, you’ll learn how GitHub A

                                                  .NET 💜 GitHub Actions: Intro to GitHub Actions for .NET - .NET Blog
                                                • Visual Studio Code May 2024

                                                  Version 1.92 is now available! Read about the new features and fixes from July. May 2024 (version 1.90) Update 1.90.2: The update addresses these issues. Update 1.90.1: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the May 2024 release of Visual Studio Code. There are many updates in this version that we

                                                    Visual Studio Code May 2024
                                                  • Loop alignment in .NET 6 - .NET Blog

                                                    Azure Developers .NET Day is back on April 30th! Join the .NET community to learn cutting-edge cloud development techniques from experts on cloud services for AI, data, cloud-native, and developer productivity. Elevate your cloud development skills today! When writing a software, developers try their best to maximize the performance they can get from the code they have baked into the product. Ofte

                                                      Loop alignment in .NET 6 - .NET Blog
                                                    • Conversation about crossgen2 - .NET Blog

                                                      Azure Developers .NET Day is back on April 30th! Join the .NET community to learn cutting-edge cloud development techniques from experts on cloud services for AI, data, cloud-native, and developer productivity. Elevate your cloud development skills today! Crossgen2 is an exciting new platform addition and part of the .NET 6 release. It is a new tool that enables both generating and optimizing code

                                                        Conversation about crossgen2 - .NET Blog
                                                      • .NET Core 2.1, 3.1, and .NET 5.0 updates are coming to Microsoft Update - .NET Blog

                                                        .NET Core 2.1, 3.1, and .NET 5.0 updates are coming to Microsoft Update 12/09/2020: this post was updated to clarify that Client operating systems will get .NET Core updates via Automatic Updates, while Server operating systems will get .NET Core updates via WSUS and MU Catalog. 12/14/2021: this post was updated to reflect Hosting Bundle updates are also available on Microsoft Update now. Starting

                                                          .NET Core 2.1, 3.1, and .NET 5.0 updates are coming to Microsoft Update - .NET Blog
                                                        • C# の静的サイトジェネレーター「Statiq」を使ってみた - Alternative Architecture DOJO

                                                          こんにちは。MLBお兄さんこと松村です。この記事はオルターブース Advent Calendar 2020の2日目の記事です。 adventar.org 1日目は弊社のマーケティング切り込み隊長のよしざっきーが開幕宣言をしてくれましたね!というかもう12月って早すぎませんかね。 aadojo.alterbooth.com アドベントカレンダーのネタ探しでは「聞いたことあるけどまだ試したこと無いもの」を取り上げるようにしています。 今年は何を書こうかなーと考えていましたが、 C# の静的サイトジェネレーターである「Statiq」を取り上げてみます。 突然ですが私は .NET Foundation のサイトをたまに見るんですが、実はこのサイトのソースコードは GitHub で公開されています。 github.com で、このリポジトリの README.md を読むとこう書かれています。 Thi

                                                            C# の静的サイトジェネレーター「Statiq」を使ってみた - Alternative Architecture DOJO
                                                          • .NET Serialization Roundup 2022

                                                            The last test is from 2019 which is still accurate but the world is changing and we have arrived at .NET 7.0 which is reason enough to spin up my test suite again and measure from .NET 4.8, 3.1, 5.0, 6.0 up to 7.0. The “old” articles are still relevant despite their age. https://aloiskraus.wordpress.com/2019/09/29/net-serialization-benchmark-2019-roundup/ https://aloiskraus.wordpress.com/2018/05/0

                                                              .NET Serialization Roundup 2022
                                                            • What's new in Windows Forms in .NET 7.0 - .NET Blog

                                                              There are a lot of exciting enhancements for Windows Forms developers in .NET 7. We are committed to support and innovate in the Windows Forms runtime, so let’s look at what is new in .NET 7. Accessibility improvements and fixes We strive to improve the experience for users of assistive technology. This release adds further improvements to accessibility, including but not limited to the following:

                                                                What's new in Windows Forms in .NET 7.0 - .NET Blog
                                                              • August ML.NET API and Tooling Updates - .NET Blog

                                                                ML.NET is an open-source, cross-platform machine learning framework for .NET developers. It enables integrating machine learning into your .NET apps without requiring you to leave the .NET ecosystem or even have a background in ML or data science. ML.NET provides tooling (Model Builder UI in Visual Studio and the cross platform ML.NET CLI) that automatically trains custom machine learning models f

                                                                  August ML.NET API and Tooling Updates - .NET Blog
                                                                • JetBrains Rider and the .NET Aspire Plugin | The .NET Tools Blog

                                                                  With the .NET 8 announcement, developers were surprised to learn of a new opinionated, cloud-ready stack for building observable distributed applications. Of course, we’re talking about .NET Aspire, a solution of tools and patterns delivered to developers via the NuGet workloads found in newer versions of the .NET SDK, similar to Multi-Application UI or MAUI. In this post, we’ll cover what .NET As

                                                                    JetBrains Rider and the .NET Aspire Plugin | The .NET Tools Blog
                                                                  • I Hacked Magic the Gathering: Arena for a 100% Winrate

                                                                    TLDR I could make opponents concede at will so that I never lost a game in Magic: The Gathering Arena Hey @MTG_Arena I figured out how to make an opponent auto-concede the game. Let me know how you'd like me to report the issue and I will send over the source + an explanation of how it can be mitigated. Thank you! pic.twitter.com/dWMdkKjOA2 — Daniel Mayer (@dan__mayer) March 31, 2023 Prelude Befor

                                                                      I Hacked Magic the Gathering: Arena for a 100% Winrate
                                                                    • WSL 2でRootless Dockerを使う - チラシの裏からうっすら見える外枠の外のメモ書き

                                                                      WSL 2がWindows 1909にバックポートされたおかげで、多くの人がWSL 2を体験できる状態になったと思います。 WSL 2のメリットにはDockerが使えるというものがありましたが、Rootless Dockerは使えないという問題がありました。 そこで、WSL 2に色々なものを加えてRootless Dockerをインストール、実行できるようにしました。 注意事項 動作環境 やること 具体的な手順 手順 1. daemonize/dbus/policykit-1をインストールする 2. dotnet-runtime-3.1をインストールする 3. Genieをインストールする 4. Genieを自動起動するようにする 5. Rootless Dockerをインストールする 6. .bashrcにRootless Dockerの設定を追記する コンテナ起動時の引数に--net=

                                                                        WSL 2でRootless Dockerを使う - チラシの裏からうっすら見える外枠の外のメモ書き
                                                                      • .NET Azure Functions で依存関係の挿入を使用する

                                                                        Azure Functions では、依存関係の挿入 (DI) ソフトウェア デザイン パターンがサポートされています。これは、クラスと依存関係の間で制御の反転 (IoC) を実現するための技術です。 Azure Functions の依存関係挿入は、.NET Core の依存関係挿入機能を基盤としています。 .NET Core 依存関係挿入について理解しておくことをお勧めします。 依存関係のオーバーライド方法と、従量課金プランで Azure Functions により構成値を読み取る方法に違いがあります。 依存関係の挿入のサポートは、Azure Functions 2.x から開始されます。 依存関係の挿入パターンは、C# 関数がインプロセスで実行されるか、アウトプロセスで実行されるかによって異なります。 重要 この記事のガイダンスは、ランタイムでインプロセスで実行される C# クラス

                                                                          .NET Azure Functions で依存関係の挿入を使用する
                                                                        • .NET Framework 4.5.2, 4.6, 4.6.1 will reach End of Support on April 26, 2022 - .NET Blog

                                                                          .NET Framework 4.5.2, 4.6, 4.6.1 will reach End of Support on April 26, 2022 .NET Framework 4.5.2, 4.6, and 4.6.1 will reach end of support* on April 26, 2022. After this date, we will no longer provide updates including security fixes or technical support for these versions. Customers currently using .NET Framework 4.5.2, 4.6, or 4.6.1 need to update their deployed runtime to a more recent versio

                                                                            .NET Framework 4.5.2, 4.6, 4.6.1 will reach End of Support on April 26, 2022 - .NET Blog
                                                                          • Announcing Polyglot Notebooks! Multi-language notebooks in Visual Studio Code - .NET Blog

                                                                            Announcing Polyglot Notebooks! Multi-language notebooks in Visual Studio Code We are excited to announce that Polyglot Notebooks, Visual Studio Code’s multi-language notebook extension, is now generally available in the VS Code Marketplace! Please note: While the Polyglot Notebooks extension in Visual Studio Code is now generally available, the .NET Interactive APIs that power it are still in prev

                                                                              Announcing Polyglot Notebooks! Multi-language notebooks in Visual Studio Code - .NET Blog
                                                                            • Xamarin.AndroidXMigrationについて - ものがたり

                                                                              今回はコレに関連して少し詳しく書く。 devblogs.microsoft.com 目次 Xamarin.Androidは時代遅れ androidx (a.k.a Jetpack) androidxへの移行の課題 Jetifier Xamarin.AndroidのJetpack移行戦略 Xamarin.AndroidXMigrationの仕組み Xamarin.AndroidXMigrationの注意点 その他 Xamarin.Androidは時代遅れ Xamarin.AndroidとスタンダードなKotlin中心のAndroid開発の乖離は年々ひどくなっている。たとえば data-binding, room: Android Gradle Pluginの中で行われるコード生成を前提としているので難しい。 constraint layout designer: constraint lay

                                                                                Xamarin.AndroidXMigrationについて - ものがたり
                                                                              • .NET - NamedPipe(名前付きパイプ)を使ったプロセス間通信 - yotiky Tech Blog

                                                                                今回は名前付きパイプの実装例です。 サンプルは1つ目の Console アプリで入力した文字列を、2つ目の Console アプリ、WPF アプリ、Unity でそれぞれ読み取って表示するものになります。 パイプはサーバー側で同じパイプ名を共有するサーバーインスタンスの最大数を指定できますが、既定値のままなので1対1での通信を想定しています。 目次 目次 概要 実装例 Console WPF Unity サンプルプロジェクト 参考 概要 パイプの説明を引用しておきます。導入されたのは .NET Framework 3.5 からのようです。 パイプは、プロセス間通信の手段となります。 パイプには、2 種類あります。 匿名パイプ。 匿名パイプは、ローカル コンピューターでのプロセス間通信を実現します。 匿名パイプは、名前付きパイプより必要なオーバーヘッドは少ないですが、提供するサービスは限られ

                                                                                  .NET - NamedPipe(名前付きパイプ)を使ったプロセス間通信 - yotiky Tech Blog
                                                                                • GoToキャンペーンを自粛してプログラミング言語のgoto文でやってみる – 未来をデザインするマーケティング会社 -ハイロックス

                                                                                  2020年7月22日からGoToキャンペーンが開催されました。 コロナ感染者がどんどん増えているっていうのにね。 僕はどこにも出かける予定が無いのでGoToキャンペーンなんか関係ないけれど GoTo…話題ですもんね 乗るしかない このビッグウェーブに! でも自粛しなきゃね。 ということで、プログラミング言語のgoto文でGoToしてみようじゃあないか。 無限ループ(禍)から脱出だ! goto文とは… プログラミング言語におけるgoto文(ゴートゥぶん、英: goto statement)とは、手続き列中の指定された場所(専らラベルで指定される)に無条件にジャンプ(移動)する、という制御構造のひとつである goto文 – Wikipedia 最近のプログラミング言語ではgoto文が使えるものは少ない。 流れが分かりづらくなるから多用しちゃダメ。というか、ほぼ使ったことが無い。 goto文が使