並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 25 件 / 25件

新着順 人気順

".NET Core"の検索結果1 - 25 件 / 25件

  • 【C#】SpanとMemory - Annulus Games

    今回の記事はC#のSpan<T>とMemory<T>について。 現代のC#ではパフォーマンス向上のためにSpanが用いられる機会が非常に多くなっています。.NETでも多くのAPIがSpan<T>を受け入れるようになってきており、パフォーマンスに気を遣ってコードを書く場面ではもはやSpanの活用は必須と言えます。 また、C#ではSpanとは別に似たような型としてMemory<T>も存在しています。こちらは利用する上での制約がSpanと比べて少なく、Spanの代替として主にasyncメソッド内で用いられることが多いです。 そこで今回は、Span<T>やMemory<T>の利用方法や使い分け、またMemory<T>を適切に扱うための指針やIMemoryOwner<T>による所有権の管理についてまでをまとめていきたいと思います。基本的にはSpan<T>の利用のみで事足りますが、Memory<T>が

    • neue cc - ConsoleAppFramework v5 - ゼロオーバーヘッド・Native AOT対応のC#用CLIフレームワーク

      ConsoleAppFramework v5 - ゼロオーバーヘッド・Native AOT対応のC#用CLIフレームワーク 2024-06-13 ConsoleAppFrameworkの完全に新しいバージョンをリリースしました。完全に設計しなおして実装も完全に作り直された、何もかもが新しいフレームワークになっています。設計指針として「Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe」を掲げ、もちろん、他を圧倒的に引き離すパフォーマンスを実現しています。 これはコールドスタートアップ・ウォームアップなしでのベンチマークとなっていて、CLIアプリケーションでの実際での利用に最も即したものだと考えています。System.CommandLineと比較すれば280倍!メモリアロケーション量もほかのフレ

      • neue cc - R3 - C#用のReactive Extensionsの新しい現代的再実装

        R3 - C#用のReactive Extensionsの新しい現代的再実装 2024-02-27 先日、新しいC#用のReactive Extensionsの実装としてR3を正式公開しました!R3はRx for .NETを第一世代、UniRxを第二世代とした場合の、第三世代のRxという意味で命名しています。Rxとしてのコア部分(ほぼdotnet/reactiveと同様)は.NET共通のライブラリとして提供し、各プラットフォーム特化のカスタムスケジューラーやオペレーターは別ライブラリに分けるという形により、全ての.NETプラットフォーム向けのコアライブラリと、各種フレームワーク Unity, Godot, Avalonia, WPF, WinForms, WinUI3, Stride, LogicLooper, MAUI, MonoGame 向けの拡張ライブラリを提供しています。 GitH

        • C#で使える1msタイマーを探す - Qiita

          調査内容 C#かつWindowsで1msのタイマーを使いたい。Threading.TimerやTask.Delay(1)では最短でも15msになるっぽいので他の方法を調べた。 環境 Intel Core i5-8265U CPU @ 1.60GHz 1.80 GHz Windows 10 Pro 22H2 C#, .NET Framework 4.6.2, Debug build Visual Studio Community 2022 (64-bit) Version 17.8.5 調査日:2024年5月6日 2024年5月12日、追加調査。WaitableTimer, WaitableTimerExについて。 テストコード 1ms間隔の繰り返しタイマーを30回実行、毎回経過時間を取得してバッファリングする。最後に時間を出力する。 ※私自身が作成中のライブラリのテストコードの一部として実

            C#で使える1msタイマーを探す - Qiita
          • 明日から使える ASP.NET Core ロギング術!

            .NET ラボ 2023/07/22 での発表資料 ↓↓↓ 登壇内容をある程度文字起こししたブログ ↓↓↓ 【C#】明日から使える ASP.NET Core ロギング術!

              明日から使える ASP.NET Core ロギング術!
            • 2024-04-07: AWS Message Processing Framework for .NET, .NET 7 EoS, grpc-dotnet 2.62.0 - WeekRef.NET

              2024-04-07: AWS Message Processing Framework for .NET, .NET 7 EoS, grpc-dotnet 2.62.0 トピックス Introducing the AWS Message Processing Framework for .NET (Preview) | Amazon Web Services https://aws.amazon.com/jp/blogs/developer/introducing-the-aws-message-processing-framework-for-net-preview/ AWS Message Processing Framework for .NET のプレビューが公開された。 .NET で AWS の SQS や EventBridge を使用してメッセージ処理を行うためのフレームワ

              • Announcing .NET Chiseled Containers - .NET Blog

                .NET chiseled Ubuntu container images are now GA and can be used in production, for .NET 6, 7, and 8. Canonical also announced the general availability of chiseled Ubuntu containers. Chiseled images are the result of a long-term partnership and design collaboration between Canonical and Microsoft. We announced chiseled containers just over a year ago, as a new direction. They are now ready for you

                  Announcing .NET Chiseled Containers - .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
                  • A new MSBuild editing experience - Visual Studio Blog

                    MSBuild is a fundamental part of the .NET development experience, but it can be challenging to new and experienced developers alike. To help developers better understand their project files and access advanced functionality that requires editing the project file directly, we’re releasing an experimental MSBuild editor that has a much richer understanding of MSBuild files than the current XML schem

                      A new MSBuild editing experience - Visual Studio 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
                      • Refactor your code with C# collection expressions - .NET Blog

                        This post is the second in a series of posts covering various refactoring scenarios that explore C# 12 features. In this post, we’ll look at how you can refactor your code using collection expressions, we’ll learn about collection initializers, various expression usages, supported collection target types, and the spread syntax. Here’s how the series is shaping up: Refactor your C# code with primar

                          Refactor your code with C# collection expressions - .NET Blog
                        • Getting started with UI testing .NET MAUI apps using Appium - .NET Blog

                          Testing is a crucial part of software development to ensure the quality of your application. While there are many forms of testing, one that is particularly popular is user-interface testing, also known as UI testing. In this blog post we will have a look at how to get started with UI testing your .NET MAUI app, on mobile and desktop, by using Appium. What is Appium? Appium is a UI testing framewo

                            Getting started with UI testing .NET MAUI apps using Appium - .NET Blog
                          • 2024-04-26: Uno Platform 5.2, MySqlConnector 2.3.7, .NET Aspire preview 6 - WeekRef.NET

                            2024-04-26: Uno Platform 5.2, MySqlConnector 2.3.7, .NET Aspire preview 6 トピックス Announcing the first-ever true .NET Single Project for Mobile, Web, Desktop, and Embedded apps https://platform.uno/blog/the-first-and-only-true-single-project-for-mobile-web-desktop-and-embedded-in-net/ Uno Platform 5.2 がリリースされた。 このリリースでは Skia レンダラーの強化によるパフォーマンスの向上やマルチウィンドウのサポート、Uno SDK の改善、.NET 9 Preview のサポートなどが含まれて

                            • Using named pipes with ASP.NET Core and HttpClient

                              In this post I describe Windows named pipes, what they are, the scenarios where they're useful, how to use them with ASP.NET Core, and how to call a named pipe ASP.NET Core app using HttpClient. What are Windows named pipes? Windows named pipes provide a named, one-way or duplex pipe for communication between a client and a server. They provide a way to communicate between different processes, typ

                                Using named pipes with ASP.NET Core and HttpClient
                              • Secure your container build and publish with .NET 8 - .NET Blog

                                .NET 8 raises the bar for container security for .NET container images and SDK tools. The SDK produces application images that align with industry best practices and standards, by default. We also offer additional security hardening with Chiseled images for an extra layer of protection. dotnet publish will generate a container image for you and configure it as non-root by default. It’s easy with .

                                  Secure your container build and publish with .NET 8 - .NET Blog
                                • Streamline your container build and publish with .NET 8 - .NET Blog

                                  .NET 8 is a big step forward for building and using containers, with improvements for performance, security, and usability. We’ve been working over several releases to make .NET one of the simplest and most secure container platforms, as a default experience. Those efforts have all come together in an integrated way with .NET 8. We’ve delivered on the most common requests: non-root images, smaller

                                    Streamline your container build and publish with .NET 8 - .NET Blog
                                  • Testing Your Native AOT Applications - .NET Blog

                                    We are happy to announce that we just published an early preview of support for testing Native AOT with MSTest, and we welcome all of you to try it. This new solution is powered by a completely new testing engine that we wrote from ground up, to allow running tests in Native AOT, and that works together with the existing MSTest runner (Microsoft.Testing.Platform). We also leveraged the power of so

                                      Testing Your Native AOT Applications - .NET Blog
                                    • Rider 2024.2 Roadmap | The .NET Tools Blog

                                      With the first Rider 2024.2 Early Access Program (EAP) build just around the corner, we thought we’d give you an idea of what we’re working on for the next major update. The following is a list of our priorities for the next release. Note that these are the features we’re working on, however some might have to be postponed slightly. Performance After the release of Rider 2024.1, we received some v

                                        Rider 2024.2 Roadmap | The .NET Tools Blog
                                      • 2024-05-31: Build 2024, grpc-dotnet v2.63.0 - WeekRef.NET

                                        トピックス Catch Up on Microsoft Build 2024: Essential Sessions for .NET Developers - .NET Blog https://devblogs.microsoft.com/dotnet/catching-up-on-microsoft-build-2024-essential-sessions-for-dotnet-developers/ Build 2024 での .NET 開発者向けの動画の紹介。 .NET at Microsoft Build 2024 - YouTube Release Release v2.63.0 · grpc/grpc-dotnet https://github.com/grpc/grpc-dotnet/releases/tag/v2.63.0 grpc-dotnet v2.63.0 がリ

                                        • Improved F# hints in Visual Studio - .NET Blog

                                          A few months ago, we introduced a preview of F# hints – the type and parameter name hints. Since then, we’ve fine-tuned them, added return type hints, and incorporated tooltips for all of them. Explore the entire experience here: Code type Song = { Artist: string Title: string } type Playlist(songs) = member _.Add(artist, title) = { Artist = artist; Title = title } :: songs member _.Shuffle() = Al

                                            Improved F# hints in Visual Studio - .NET Blog
                                          • 2024-02-14: .NET 9 Preview 1, Visual Studio 2022 v17.9, .NET 8.0.2 & 7.0.16 & 6.0.27 - WeekRef.NET

                                            2024-02-14: .NET 9 Preview 1, Visual Studio 2022 v17.9, .NET 8.0.2 & 7.0.16 & 6.0.27 トピックス Our Vision for .NET 9 - .NET Blog https://devblogs.microsoft.com/dotnet/our-vision-for-dotnet-9/ Visual Studio 2022 17.9 Now Available - Visual Studio Blog https://devblogs.microsoft.com/visualstudio/visual-studio-2022-17-9-now-available/ .NET February 2024 Updates – .NET 8.0.2, 7.0.16, .NET 6.0.27 - .NET Bl

                                            • 2024-05-18: Npgsql security fix, .NET 6.0.30/7.0.19/8.0.5, Windows App SDK 1.4.6 - WeekRef.NET

                                              2024-05-18: Npgsql security fix, .NET 6.0.30/7.0.19/8.0.5, Windows App SDK 1.4.6 トピックス Release v8.0.3 · npgsql/npgsql https://github.com/npgsql/npgsql/releases/tag/v8.0.3 Release v7.0.7 · npgsql/npgsql Release v6.0.11 · npgsql/npgsql Release v5.0.18 · npgsql/npgsql Release v4.1.13 · npgsql/npgsql Release v4.0.14 · npgsql/npgsql .NET and .NET Framework May 2024 Servicing Updates - .NET Blog https:/

                                              • 2024-06-07: MSTest 3.4, OpenAI for .NET 2.0.0-beta.1, Serilog 4.0.0, Windows App SDK 1.6.0-experimental1 - WeekRef.NET

                                                2024-06-07: MSTest 3.4, OpenAI for .NET 2.0.0-beta.1, Serilog 4.0.0, Windows App SDK 1.6.0-experimental1 トピックス MSTest 3.4 is here with WinUI support and new analyzers! - .NET Blog https://devblogs.microsoft.com/dotnet/introducing-mstest-34/ MSTest 3.4 がリリースされた。 このリリースでは MSTest.Analyzer の様々な改善とバグ修正、STA スレッドのサポート、フィクスチャーメソッドのタイムアウトサポート、MSTest.Sdk での Playwright や Aspire のサポート、MSTest.Runner の WinUI のサ

                                                • MSTest 3.4 is here with WinUI support and new analyzers! - .NET Blog

                                                  We are excited to announce the new release of MSTest, the popular testing framework for .NET. This release brings many enhancements and bug fixes to MSTest.Analyzers, new features and improvements for MSTest.Sdk, and adds support for WinUI applications to MSTest.Runner. We’ve added [Timeout] support to all fixture (initialize and cleanup) methods, and STA thread support for UI tests. Both were lon

                                                    MSTest 3.4 is here with WinUI support and new analyzers! - .NET Blog
                                                  • Fly.io に Asp.NET Core アプリをデプロイ

                                                    https://fly.io/ の無料枠で、ASP.NET Core のAPIサーバを動かしてみるところまで。 https://github.com/Arshu/ASP.NET-Core-In-Fly.io こちらの手順を参考に進める。 Fly.io のアカウントを作っておく サインアップだけ。ペイメントの設定などはとりあえず何もしない。 Fly.io のCLIツールをインストール https://fly.io/docs/hands-on/install-flyctl/ の手順に従う。 Windowsなので、Powershellから以下を実行。

                                                      Fly.io に Asp.NET Core アプリをデプロイ
                                                    1