並び順

ブックマーク数

期間指定

  • から
  • まで

161 - 200 件 / 213件

新着順 人気順

dotnet runの検索結果161 - 200 件 / 213件

  • .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
      • .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
        • 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について - ものがたり
          • GoToキャンペーンを自粛してプログラミング言語のgoto文でやってみる – 未来をデザインするマーケティング会社 -ハイロックス

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

            • ASP.NET Core | 業務プログラムの実践学習

              スタートアップ .NET ASP.NET Core入門 簡単なページを作ってみる - ウマヤディア 意識低めのASP.NET Core MVC入門(2)簡単なフォームを作る 意識低めのASP.NET Core MVC入門(3)モデルを使ってみる 概要 はじめてのASP.NET MVC5 連載:ASP.NET MVC入門【バージョン3対応】 - @IT 第1回 Controller-View開発のキモを押さえる(1/3) - @IT 第7回 レイアウト/部分ビューでアプリ共通のデザインを定義(1/4) - @IT ASP.NET MVC 開発を始める前に理解しておきたいこと - Qiita ASP.NET の機能 - ASP.NET 入門 【Visual Studio 2019】ASP.NET MVCでHello,Worldを出力!初心者でもわかりやすい画像付き | フライテック ASP.N

              • F# Programming

                WHAT'S NEW 2022/07/23 F# Junk Scripts: 二分木と Lisp のリストを追加 2022/07/18 F# Junk Scripts: 哲学者の食事を追加 2022/07/17 F# 入門: 並行プログラミングに排他制御を追加 2022/07/03 F# 入門: 並行プログラミングにタスク式を追加 CONTENTS 2022/03/06 はじめに .NET SDK のインストール、hello, F#!!、dotnet fsi、簡単なベンチマーク 2022/03/19 F# Junk Scripts 2022/03/06 参考文献・URL 2022/03/06 権利・免責事項など 2022/03/06 F# の基礎知識 使ってみよう、整数と実数、算術演算子、文字と文字列、比較演算子、論理演算子、条件分岐、変数、タプル、関数、局所変数と大域変数、軽量構文、コメ

                • Announcing built-in container support for the .NET SDK - .NET Blog

                  Containers have become one of the easiest ways to distribute and run a wide suite of applications and services in the cloud. The .NET Runtime was hardened for containers years ago. You can now create containerized versions of your applications with just dotnet publish. Container images are now a supported output type of the .NET SDK. TL;DR Before we go into the details of how this works, I want to

                    Announcing built-in container support for the .NET SDK - .NET Blog
                  • Multi-tenant Apps With EF Core and ASP.​NET Core | 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

                      Multi-tenant Apps With EF Core and ASP.​NET Core | The .NET Tools Blog
                    • Why and How to Execute GraphQL Queries in .NET - .NET Blog

                      Most (if not all) projects are consuming APIs to get data, and there many ways to do it. One of the most popular ways is to use REST APIs. However, REST APIs have some limitations, such as over-fetching (forcing the client to load all properties even when only a few are needed for the UI). GraphQL is a great alternative to REST APIs because it allows you to request only the data you need, which ca

                        Why and How to Execute GraphQL Queries in .NET - .NET Blog
                      • Working with Lambda layers and extensions in container images | Amazon Web Services

                        AWS Compute Blog Working with Lambda layers and extensions in container images In this post, I explain how to use AWS Lambda layers and extensions with Lambda functions packaged and deployed as container images. Previously, Lambda functions were packaged only as .zip archives. This includes functions created in the AWS Management Console. You can now also package and deploy Lambda functions as con

                          Working with Lambda layers and extensions in container images | Amazon Web Services
                        • ASP.NET Core で IHttpClientFactory を使用して HTTP 要求を行う

                          このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 作成者: Kirk Larkin、Steve Gordon、Glenn Condron、Ryan Nowak。 アプリ内で HttpClient インスタンスを構成して作成するために、IHttpClientFactory を登録して使用できます。 IHttpClientFactory には次のような利点があります。 論理 HttpClient インスタンスの名前付けと構成を一元化します。 たとえば、GitHub にアクセスするために、github という名前のクライアントを登録して構成できます。 一般的なアクセスのために、既定のクライアントを登録できます。 HttpClient でのハンドラーのデリゲートによ

                            ASP.NET Core で IHttpClientFactory を使用して HTTP 要求を行う
                          • .NET 8 の Blazor で WASM + API のプロジェクトを作る

                            この記事は以下のツイートから始まる疑問に対する回答みたいな記事です。 満たしたい要件としては、ASP.NET Core Blazor WebAssembly をフロントにしつつ、サーバーサイドは ASP.NET Core で Web API も作れて、同じサイトにフロントエンドとバックエンドの両方を配置できるようなプロジェクトを作ることです。 箇条書きにすると以下のような感じですね。 フロントエンドは ASP.NET Core Blazor WebAssembly バックエンドは ASP.NET Core Web API (もしくは Minimal APIs) 発行すると1つに纏まってフロントエンドとバックエンドと同じサイトに配置できる 先に解説 ASP.NET Core は DI コンテナ内にどんなサービスを登録するかということと、どんなミドルウェア(リクエストを処理するパイプライン)を

                              .NET 8 の Blazor で WASM + API のプロジェクトを作る
                            • チュートリアル: カスタム属性の定義と読み取り - C#

                              属性は、情報をコードに宣言的に関連付けるための手段を提供します。 また、さまざまなターゲットに適用できる再利用可能な要素も提供します。 ObsoleteAttribute について考えてみましょう。 この属性はクラス、構造体、メソッド、コンストラクトなどに適用できます。 これは、その要素が古いことを "宣言" します。 この属性を検索して、対応する何らかのアクションを実行するのは、C# コンパイラの役目です。 このチュートリアルでは、コードに属性を追加する方法、独自の属性を作成して使用する方法、.NET に組み込まれているいくつかの属性を使用する方法について学びます。 前提条件 お使いのマシンで、.NET を実行するように設定する必要があります。 インストールの手順については、「.NET のダウンロード」のページを参照してください。 このアプリケーションは、Windows、Ubuntu L

                              • neue cc - ConsoleAppFramework v4 - Minimal API for CommandLine tool

                                皆さん .NET 6で追加されたMinimal API使ってみました?最初は別にいらんやろ、とか思ってたんですが、いや、これ正直めっちゃ凄い、いい。まぁDelegateベースで書くかどうかは別として(書かないかなー)、謎Startupを葬り去ってBuilder/Runが素直に繋がった形が美しい。Top level statementとの相性も良いので、もうこっちのAPI以外で作る気しないなあ。 さて、ところでConsoleAppFrameworkです。今までクラスが必要だったんですよね、たった一個のメソッドを実装するにも。それがTop level statementとの相性が悪い。Top level statementだけで完結できるとき、クラスって作りたくないんですよね。と、いうわけで、そろそろ大改修が必要かなーと思っていたところにMinimal APIですよ。特にその場でラムダ式でばし

                                • neue cc - R3のコードから見るC#パフォーマンス最適化技法実例とTimeProviderについて

                                  R3のコードから見るC#パフォーマンス最適化技法実例とTimeProviderについて 2024-05-01 4/27に大阪で開催されたC#パフォーマンス勉強会で「R3のコードから見る実践LINQ実装最適化・コンカレントプログラミング実例」という題でセッションしてきました! タイトル的にあまりLINQでもコンカレントでもなかったかな、とは思いますが、R3を題材に、具体的なコードをもとにした最適化技法の紹介という点では面白みはあったのではないかと思います。 Rxの定義 R3は、やや挑発的な内容を掲げていることもあり、R3は「Rxではない」みたいなことを言われることもあります。なるほど!では、そもそも何をもってRxと呼ぶのか、呼べるのか。私は「Push型でLINQ風のオペレーターが適用できればRx」というぐらいの温度感で考えています。もちろん、R3はそれを満たしています。 mutable st

                                  • .NET Serialization Benchmark 2019 Roundup

                                    New Additions since 2018 are Apex, SimdJsonSharp, Utf8Json and JsonSerializer which comes with .NET Core 3. Test Execution You can clone my Serializer Testing Framework: https://github.com/Alois-xx/SerializerTests and compile it. Then execute RunAll.cmd from the SerializerTests directory which will execute the tests on .NET Framework and .NET Core 3.  I have put the output directory above the sour

                                      .NET Serialization Benchmark 2019 Roundup
                                    • .NET COREでLinuxで動作するサービスを作成する – code-lab.net

                                      .NET Core + C#でLinuxのDeamon作れないかなと思ったら、思ったより簡単に作れるようになっていたので覚え書き。Program.csとDaemonService.csの中味はほぼ定型なのでサンプルからそのまま流用します。 以下のサンプルは.NET Core 3.1で記述しています。 // Program.cs using System; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace DaemonSample { clas

                                      • Visual Studio と ReSharper で EditorConfig を作成して Azure Pipelines でチェックする - しばやん雑記

                                        GitHub で公開してるコードに Pull Request が来た時、思ってた以上にコーディングスタイルがバラバラで困ってたので EditorConfig を追加して CI でチェックするようにしました。 C# はみんなが Visual Studio を使っていて、大体は良い感じのコーディングスタイルになっていると思っていたらそんなことはなかったようです。Visual Studio では少し前から EditorConfig に対応しています。 リポジトリに EditorConfig を入れておけば、Visual Studio や Visual Studio Code ではいい感じに読み取ってくれて最高という世界になるはずですが、元になるファイルをどう作るかが悩みどころでした。 いろいろと試してみましたが、C# の世界では以下の 4 種類ぐらいの方法を選べそうです。 Visual Stud

                                          Visual Studio と ReSharper で EditorConfig を作成して Azure Pipelines でチェックする - しばやん雑記
                                        • Track Awesome List Updates Daily

                                          Track Awesome List Updates DailyWe track over 500 awesome list updates, and you can also subscribe to daily or weekly updates via RSS or News Letter. This repo is generated by trackawesomelist-source, visit it Online or with Github. 📅 Weekly · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 Github · 🌐 Website · 📝 04/22 · ✅ 04/22 Table of Contents Recently Updated Top 50 Awesome List All Tr

                                            Track Awesome List Updates Daily
                                          • VSCode|Visual Studio CodeでC#を動かしてみよう! - ウシマルラボ

                                            こんにちは、うしまるです。 この記事では、マイクロソフト社が提供する高機能プログラミングエディタ「Visual Studio Code」(以下VSCode)で、Windowsアプリケーションを筆頭に、MacOSやAndroid、iOSなどマルチなアプリケーション、最近ではUnityで使用できる言語として今後ARやVRでも大活躍しそうな「C#」を動かす方法について解説します。 まだVSCodeをインストールしていないよという方は、インストール方法を解説した記事を用意していますのでこちらを先に確認してみてください。 C#って何? C#は、VSCodeと同様にマイクロソフト社が作成しているプログラミング言語になります。 C#が初めて登場したのは2002年。 Visual Studio .NET 2002という開発環境に実装されました。 アンダース・ヘルスバーグというデンマーク出身のソフトウェアエ

                                              VSCode|Visual Studio CodeでC#を動かしてみよう! - ウシマルラボ
                                            • Microsoft、Silverlightを置き換える「Blazor WebAssembly」の正式版を公開 | ソフトアンテナ

                                              MicrosoftのSilverlightは2021年10月12日にサポートが終了する予定です。サポートされているブラウザもInternet Explorer 11のみで、積極的な開発は行われていない状態ですが、この代替となる新たなフレームワーク「Blazor WebAssembly」の正式版が公開されました(ASP.NET Blog)。 Blazor WebAssemblyでは、開発者はJavaScriptではなくC#を使ってWebアプリケーションを作成することができます。Blazorアプリは、C#、HTML、CSSを使用して実装された再利用可能なWeb UIコンポーネントで構成されており、クライアントとサーバーのコードは両方ともC#で書かれているため、開発者はコードやライブラリを共有することができるのです。 またBlazorはオープンなWeb標準を使用しているため、モバイルブラウザを含

                                                Microsoft、Silverlightを置き換える「Blazor WebAssembly」の正式版を公開 | ソフトアンテナ
                                              • What is WASI?

                                                What is WASI? — 2023-06-02 introduction what is webassembly? bytecode, webassembly, and the jvm what are webassembly components? what is wasi? categorizing webassembly iterating on wasi the future of wasi conclusion appendix a: terminology cheat sheet Introduction Now that the final touches are being put on the second version of WASI (WASI Preview 2), I figured now might be a good time to write a

                                                  What is WASI?
                                                • 自作WindowsアプリをAKSでコンテナに載せるキホン技

                                                  こんにちは、名古屋事業所勤務の松枝です。 Azure Kubernetes Service(AKS)はWindowsコンテナの使用できる構成を作成することができます(記事公開時点ではパブリックプレビュー)。 Windowsコンテナが使えるAKSを用意して、アプリを動かしてみましょう。 アプリの作成からインフラの作成まで一通り必要な手順を書いてみましたので、この記事をベースにWindowsコンテナの世界に入門していただけたらと思います。 また、アプリ開発、コンテナ作成、AKS作成を一通り記載しているので、例えばアプリ開発は知識があるけどインフラはちょっと… という場合に部分的に参照していただけると嬉しいです。 Azure Cloud Shellとはなんぞや?などの細かい説明は省いていますので、適宜調べながら読み進めていただけたらと思います。 概要 ・(Windows環境でしか動作しない)アプ

                                                    自作WindowsアプリをAKSでコンテナに載せるキホン技
                                                  • Calling Windows APIs in .NET5

                                                    With the release of .NET5 Preview 8, we have introduced a streamlined way for .NET developers to access the set of Windows Runtime (WinRT) APIs that are shipped as part of Windows. .NET5 applications can now access Windows APIs through a new set of Target Framework Monikers (TFMs), which have been extended to support platform specific APIs. This is the recommended mechanism for .NET going forward.

                                                      Calling Windows APIs in .NET5
                                                    • Memory<T> と Span<T> の使用ガイドライン - .NET

                                                      このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 .NET には、任意の連続したメモリ領域を表す多くの型があります。 Span<T> と ReadOnlySpan<T> はマネージド メモリまたはアンマネージド メモリへの参照をラップする軽量のメモリ バッファーです。 このような型はスタック上にのみ格納できるため、非同期メソッドの呼び出しを含むシナリオには適していません。 この問題に対処するために、.NET 2.1 では、Memory<T>、ReadOnlyMemory<T>、IMemoryOwner<T>、MemoryPool<T> など、いくつかの追加型が追加されました。 Span<T> と同様に、Memory<T> とそれに関連する型は、マネージド メ

                                                        Memory<T> と Span<T> の使用ガイドライン - .NET
                                                      • マイクロサービスを作らない人による .NET Aspire の概要説明(普通に便利)

                                                        Microsoft Build 2024 で .NET Aspire のバージョン 1.0 がリリースされました。 ここでは、その .NET Aspire の説明をしたいと思います。 公式ドキュメントは以下になります。 ここでは公式ドキュメントとはちょっと違った切り口で解説していこうと思います。 .NET Aspire とは .NET Aspire は、複数のサービスで構成されるアプリケーション開発やデプロイを支援するツールやライブラリの集合体です。 ここでいうサービスは自分たちで開発するマイクロサービスのこともあれば、既存のサービスやミドルウェアを指すこともあります。つまり単一の Web アプリが Redis や SQL Server に依存するといったケースでも .NET Aspire の恩恵を受けることが出来ます。 また .NET Aspire はアプリケーション開発フレームワークで

                                                          マイクロサービスを作らない人による .NET Aspire の概要説明(普通に便利)
                                                        • Announcing .NET Community Toolkit 8.1! Better, faster MVVM source generators, .NET 7 support, and more! - .NET Blog

                                                          Announcing .NET Community Toolkit 8.1! Better, faster MVVM source generators, .NET 7 support, and more! We’re happy to announce the official launch of the 8.1 release of the .NET Community Toolkit! This new version includes highly requested new features, bug fixes, and massive performance improvements to the MVVM Toolkit source generators, to make the developer UX when using them better than ever!

                                                            Announcing .NET Community Toolkit 8.1! Better, faster MVVM source generators, .NET 7 support, and more! - .NET Blog
                                                          • Building a Progressive Web App with Blazor - Visual Studio Blog

                                                            Building new functionality, writing unit tests, and learning new technologies has never been easier or more fun. A Progressive Web Application (PWA) is a Single Page Application (SPA) that uses modern browser APIs and capabilities to behave like a desktop app. Blazor WebAssembly (now in preview) includes support for Progressive Web Applications. Today, I want to show you how to build your first Bl

                                                              Building a Progressive Web App with Blazor - Visual Studio Blog
                                                            • .NET Interactive Preview 3: VS Code Insiders and .NET Polyglot Notebooks - .NET Blog

                                                              .NET Interactive Preview 3: VS Code Insiders and .NET Polyglot Notebooks ***Please note this post is outdated. The .NET Interactive Notebooks Extension is now named Polyglot Notebooks. See here to learn more: https://devblogs.microsoft.com/dotnet/dotnet-interactive-notebooks-is-now-polyglot-notebooks/ *** In .NET Interactive Preview 2, we announced that in addition to Jupyter Notebook and Jupyter

                                                                .NET Interactive Preview 3: VS Code Insiders and .NET Polyglot Notebooks - .NET Blog
                                                              • Elevating C# Code Quality with Qodana: A Journey Towards Perfection | 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

                                                                  Elevating C# Code Quality with Qodana: A Journey Towards Perfection | The .NET Tools Blog
                                                                • An Introduction to System.Threading.Channels - .NET Blog

                                                                  “Producer/consumer” problems are everywhere, in all facets of our lives. A line cook at a fast food restaurant, slicing tomatoes that are handed off to another cook to assemble a burger, which is handed off to a register worker to fulfill your order, which you happily gobble down. Postal drivers delivering mail all along their routes, and you either seeing a truck arrive and going out to the mailb

                                                                    An Introduction to System.Threading.Channels - .NET Blog
                                                                  • GitHub + AWS CodePipeline|Build|Deployで自動ビルド・デプロイ環境の構築 - lycheejam's tech log

                                                                    概要 ASP.NET CoreアプリをAWS LightsailでホスティングされているCentOS 7のサーバで公開するにあたり自動ビルド・自動デプロイ環境を構築しました。 所謂、CI環境と言うものですが自動テストは組み込んでいないためタイトルを「自動ビルド・デプロイ環境の構築」としています。 今回のインフラ基盤として使用したAWS LightsailはCodePipelineと統合されていないため、自動ビルド・デプロイ環境にAWS Codeシリーズを使用する旨味はあまりありません。 しかし、過去にAWS CodeBuildを使用してVue.jsの自動ビルド・デプロイ環境を整えた自身の経験があったためAWSを選択しました。 また、今回の構成では下記のような特徴があります。 AWS EC2などではなくオンプレミスなサーバ AWS CodeDeployと統合されていない環境 CodeDepl

                                                                      GitHub + AWS CodePipeline|Build|Deployで自動ビルド・デプロイ環境の構築 - lycheejam's tech log
                                                                    • 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を使う - チラシの裏からうっすら見える外枠の外のメモ書き
                                                                        • Create a .NET console application using Visual Studio Code - .NET

                                                                          This tutorial shows how to create and run a .NET console application by using Visual Studio Code and the .NET CLI. Project tasks, such as creating, compiling, and running a project are done by using the .NET CLI. You can follow this tutorial with a different code editor and run commands in a terminal if you prefer. Prerequisites Visual Studio Code with the C# extension installed. If you have the C

                                                                            Create a .NET console application using Visual Studio Code - .NET
                                                                          • .NET 6 で Bot Framework SDK を使ってみよう

                                                                            Bot Framework SDK を使って C# でボットを作るときは基本的に Bot Framework のテンプレートが追加される Visual Studio の拡張機能から作り始めるのが一番簡単なのですが、現時点ではまだ .NET Core 3.1 までしかテンプレートが用意されていません。 .NET 6 版もそのうち追加されると思いますが、とりあえず手動で .NET 6 対応でさくっと EchoBot を作ってみようと思います。Bot Framework SDK 的には .NET Core 3.1 までしか対応してない雰囲気を感じるので本番のボットは大人しくプロジェクトテンプレートから .NET Core 3.1 で作るのがいいような気がします。 Minimal APIs プロジェクトを作って Bot を足す ASP.NET Core (空) のプロジェクトテンプレートで作成する

                                                                              .NET 6 で Bot Framework SDK を使ってみよう
                                                                            • My Ultimate PowerShell prompt with Oh My Posh and the Windows Terminal

                                                                              I've long blogged about my love of setting up a nice terminal, getting the prompt just right, setting my colors, fonts, glyphs, and more. Here's some of my posts. How to make a pretty prompt in Windows Terminal with Powerline, Nerd Fonts, Cascadia Code, WSL, and oh-my-posh Patching the new Cascadia Code to include Powerline Glyphs and other Nerd Fonts for the Windows Terminal What's the difference

                                                                                My Ultimate PowerShell prompt with Oh My Posh and the Windows Terminal
                                                                              • Regular Expression Improvements in .NET 7 - .NET Blog

                                                                                A friend once quipped to me that “computer science is entirely about sorting and searching”. While that’s a gross overgeneralization, there’s a grain of truth to it. Searching is, in one way, shape, or form, at the heart of many workloads, and it’s so important that multiple domain-specific languages have been created over the years to ease the task of expressing searches. Arguably none is more ub

                                                                                  Regular Expression Improvements in .NET 7 - .NET Blog
                                                                                • Red Hat CodeReady Containers(1.0.0-rc)を入れてOpenShift 4をローカルで動かしてみた(成功編) - zaki work log

                                                                                  昨夜~今朝でストレージ不足で成功しなかったRed Hat CodeReady ContainersでローカルOpenShift 4にチャレンジ。 必要なのはRed Hatの開発者アカウント(無料) 細かい手順は失敗編のこちら zaki-hmkc.hatenablog.com VMの準備(主にストレージ) [zaki@codeready ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 76G 978M 75G 2% / devtmpfs 3.9G 0 3.9G 0% /dev tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 3.9G 8.9M 3.9G 1% /run tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sda1 10

                                                                                    Red Hat CodeReady Containers(1.0.0-rc)を入れてOpenShift 4をローカルで動かしてみた(成功編) - zaki work log