Fujio Kojima (@Fujiwo) header
Fujio Kojima (@Fujiwo) profile picture

I'm a software development engineer. (Microsoft MVP Jul. 2005 - Jun. 2027) Twilog: https://teapawt.net/t.co/BjZ0Wgd8yi Instagram: https://teapawt.net/t.co/8HLiXOhnUm

Fukui, Japan
Joined April 2007
Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)Photo by Fujio Kojima (@Fujiwo)
Fujio Kojima retweeted
本日の「C# 15 / .NET 11 の新機能」のセッションのスライドです! #dotnetlab speakerdeck.com/nenonaninu/d…
10
32
1,425
🎉🔨 Copilot SDK v2.0.4 released! 91 features & enhancements in this release Top features: • Replaced extension-permission-access with extension-launch; require approval before extension execution while preserving legacy grants 🛡️ • Assisted-mode permission prompts now include experimental userFeedbackUpload for sharing notes with GitHub after consent 📤 • Added maxToolTurns to cap logical model turns per local SDK request, returning error on excess • SDK hosts can configure GitHub.com OAuth app for runtime-managed sign-in and Entra-to-GitHub token exchange • Assisted Permissions in plan mode informs judge when plan is pending before starting implementation actions • In Assisted Permissions with Autopilot, agents may retry a denied action once after user requests it • Local non-workflow multi-turn background sub-agents now set resumable:true and continue after session resume • Agent reload preserves selected custom agent when display names match • Agent discovery returns launch-mounted copy when plugin defines same ID • SDK clients connected to Copilot CLI over stdio can pass per-request gitHubToken separately for key requests Enhancements: • Fixed prompt-cache diagnostics to avoid incorrect history_rewritten flags after tool calls or on session resume • Keep repaired lazy extensions dormant after eager startup failures • Preserve selected custom agent after reload when agents share display names • Preserve selected built-in agent during reload when custom agent has same file ID • Preserve extension permission denial during reconciliation after startup handshake fails • Added internal cancellable cloud-startup wait preserving session cleanup • Allow SDK tools to require exact custom-agent opt-in before model exposure • Assisted Permissions treat shell commands with non-zero exit as failures to prevent duplicate retry denials • additionalDirectories in same checkout no longer load root repo hooks if trust only for subdirectory • SDK reloads honor COPILOT_MCP_TOOL_CACHE=false even with explicit caching requested • Copilot Fusion staged phases no longer stream provisional deltas by default; opt-in with feature flag • Entra identity callbacks return stable opaque accountId and required tenantId without ID token • Tenant routing uses saved metadata and preserves accounts across reconnect and disconnect • GitHub CLI credentials reused up to 60 seconds instead of fresh auth token per request ⏱️ • Updated Node.js SDK’s Koffi runtime dependency from 3.3.7 to 3.3.8 • Extension reconciliation drains failed children before launch settlement • Bundled CLI runtimes no longer include voice service and assets, reducing SDK package size 📦 • Requests without explicit token use CLI’s active account; token never falls back to account • Profile-scope delivered updates for authorization consistency Bug fixes: • Fixed session event publication deadlock causing workflow completion failure 🐞 • Fixed prompt-cache diagnostics incorrect report of history_rewritten • Corrected permission denial preservation after failed startup handshake • Fixed agent reload to correctly preserve selected custom agent across reloads • Resolved issue with extension permission denial not preserved during reconciliation • Fixed SDK client usage to accept per-request tokens properly • Fixed retries treated as duplicate failure on non-zero shell commands in Assisted Permissions • Fixed additionalDirectories trust logic avoiding unintended repo hooks loading • Fixed Copilot CLI token reuse timing for improved credential handling Misc: • Added docs for configuring GitHub.com OAuth app for sign-in and token exchange • Enhanced tooling compatibility with updated Koffi runtime • Improved internal session cleanup during cloud startup • Provided configuration guidance for feature-flag controlled staged streaming • General SDK package maintenance reducing size and improving dependencies github.com/microsoft/copilot… #GitHubCopilotSDK
1
14
1,051
It took Microsoft 14 years to build .NET for Linux C# programs still compile to IL, and the runtime's JIT still compiles that IL to native code. This is the same as in 2002, when I started with .NET. What changed is when that happens and how much the runtime learns about the app when it runs. Here are the nine steps: 𝟭. 𝟮𝟬𝟬𝟮, .𝗡𝗘𝗧 𝗙𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 𝟭.𝟬. It was the first CLR, together with a JIT compiler and a garbage collector. Windows only. 𝟮. 𝟮𝟬𝟭𝟲, .𝗡𝗘𝗧 𝗖𝗼𝗿𝗲 𝟭.𝟬. The runtime is now open source and can target Linux and macOS as well as Windows. 𝟯. 𝟮𝟬𝟭𝟵, .𝗡𝗘𝗧 𝗖𝗼𝗿𝗲 𝟯.𝟬. Tiered JIT compilation is now here by default. Methods are compiled without optimizations the first time. If a method is "hot", it gets recompiled in the background with optimizations. 𝟰. 𝟮𝟬𝟮𝟬, .𝗡𝗘𝗧 𝟱. Microsoft drops "Core" from the name and skips version 4. .NET Framework continues as a separate product, and mobile support doesn't arrive until .NET 6. 𝟱. 𝟮𝟬𝟮𝟮, .𝗡𝗘𝗧 𝟳. Native AOT compiles the entire app ahead of time, at publish, without JIT runs. Start-up gets faster and memory use is smaller, at the expense of features like Reflection.Emit. 𝟲. 𝟮𝟬𝟮𝟯, .𝗡𝗘𝗧 𝟴. The JIT uses Dynamic PGO by default. It collects information about your app as it runs, like which branches are taken and which types are used, and uses it to improve performance. Microsoft says by as much as 20%. 𝟳. 𝟮𝟬𝟮𝟰, .𝗡𝗘𝗧 𝟵. Server GC adapts the size of the heap to the needs of the app. In TechEmpower benchmarks on a 48-core machine, Microsoft measured more than 80% less memory with only a 2 to 3% drop in throughput. 𝟴. 𝟮𝟬𝟮𝟱, .𝗡𝗘𝗧 𝟭𝟬. When the JIT can prove that an object won't escape its method, it can allocate it on the stack instead of the heap, so the GC doesn't have to track it. This now covers small arrays and delegates. 𝟵. 𝟮𝟬𝟮𝟲, .𝗡𝗘𝗧 𝟭𝟭. With runtime async, the work behind async/await moves from the C# compiler to the runtime. Apps need to opt in to use it, although the .NET libraries already do. Back to you, which version of .NET are you using in production right now?
11
53
298
18,361
𝗪𝗵𝗮𝘁 𝗘𝘃𝗲𝗿𝘆 𝗖#/.𝗡𝗘𝗧 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿 𝗡𝗲𝗲𝗱𝘀 𝘁𝗼 𝗞𝗻𝗼𝘄 𝗶𝗻 𝟮𝟬𝟮𝟲 Here is the list in which I believe: 𝟭. 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲 🔹 𝗖# 𝗳𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀: collections, generics, delegates, exceptions, asynchronous programming, and more. 🔹 Nullable reference types: compiler warnings help catch potential bugs related to null values. 🔹 Union types (C# 15): a value can be any of multiple specified types. 𝟮. 𝗥𝘂𝗻𝘁𝗶𝗺𝗲 🔹 Just-In-Time (JIT) compilation: the runtime compiles your code to native code as the program runs. 🔹 Garbage collection: the runtime manages memory for you. 🔹 There used to be three .NET runtimes but these days we write code for one .NET (Xamarin became unsupported in 2024). 🔹 .NET 10 is the current long-term support (LTS) version, with .NET 11 as the current standard-term support (STS) version. 🔹 .NET 10 & 11 will be supported (with patch releases) until November 14, 2028. 🔹 .NET 8 & 9 went out of support on November 10, 2026. 𝟯. 𝗟𝗶𝗯𝗿𝗮𝗿𝗶𝗲𝘀 🔹 Use NuGet to add libraries to your project. 🔹 You might use .NET Standard 2.0 if you want your library to work in .NET Framework applications. 𝟰. 𝗪𝗲𝗯 🔹 𝗔𝗦𝗣.𝗡𝗘𝗧 𝗖𝗼𝗿𝗲: Microsoft’s web framework. 🔹 𝗠𝗶𝗻𝗶𝗺𝗮𝗹 𝗔𝗣𝗜𝘀: an easy way to write web APIs with ASP.NET Core. 🔹 𝗕𝗹𝗮𝘇𝗼𝗿: write your web user interface in C# instead of JavaScript. 𝟱. 𝗗𝗮𝘁𝗮 🔹 Entity Framework Core (EF Core): interact with your database using .NET objects instead of writing SQL. 🔹 𝗟𝗜𝗡𝗤: write queries using C# syntax. 🔹 EF Core 11: Remove unnecessary joins. 𝟲. 𝗖𝗹𝗼𝘂𝗱 🔹 𝗖𝗼𝗻𝘁𝗮𝗶𝗻𝗲𝗿𝘀: you can publish your application as a container from the .NET SDK without writing a Dockerfile. 🔹 Native Ahead-Of-Time (AOT) compilation: compile your application to native code when you publish it to improve startup time and memory usage. 🔹 𝗢𝗽𝗲𝗻𝗧𝗲𝗹𝗲𝗺𝗲𝘁𝗿𝘆: vendor-neutral framework and tools for observability (telemetry: logs, metrics, distributed tracing). 𝟳. 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 🔹 𝗨𝗻𝗶𝘁 𝘁𝗲𝘀𝘁𝗶𝗻𝗴: xUnit, NUnit, MSTest, etc. Test early and often! 🔹 Microsoft.Testing.Platform: the next generation, high-performance, lightweight test runner. 🔹 .NET 11: The xUnit v3 project template uses Microsoft.Testing.Platform by default. 𝟴. 𝗧𝗼𝗼𝗹𝗶𝗻𝗴 𝗮𝗻𝗱 𝗔𝗜 🔹 dotnet command-line interface (CLI): create projects, add packages, build, publish, test, etc. 🔹 Diagnose problems with 𝚍𝚘𝚝𝚗𝚎𝚝-𝚌𝚘𝚞𝚗𝚝𝚎𝚛𝚜, 𝚍𝚘𝚝𝚗𝚎𝚝-𝚝𝚛𝚊𝚌𝚎, 𝚍𝚘𝚝𝚗𝚎𝚝-𝚍𝚞𝚖𝚙, etc. 🔹 Microsoft.Extensions.AI: interact with various AI models using a common interface (𝙸𝙲𝚑𝚊𝚝𝙲𝚕𝚒𝚎𝚗𝚝). 🔹 Model Context Protocol (MCP): open standard that helps AI applications integrate with tools and data sources. Back to you, what would you add to this list? You can check my full .NET Developer Roadmap in the comments.
11
38
1
217
7,726
I gave Claude the same 4 .NET 11 tasks twice. With my skills, it finished in 2.9 minutes. Without them, it took 13.2. Yesterday I published the article where I built 4 skills that teach Claude .NET 11. Here's what each skill does, and what happened when I tested them. 👉 𝗧𝗵𝗲 𝟰 𝘀𝗸𝗶𝗹𝗹𝘀 1. csharp-15-unions ↳ Union types, closed hierarchies, custom non-boxing unions and a union-aware Result<T> 2. csharp-15-features ↳ Collection expression arguments, extension indexers, labeled break and continue, and what is NOT in C# 15 3. aspnetcore-11 ↳ Async validation, OpenAPI 3.2, native OpenTelemetry tracing and Zstandard compression 4. efcore-11 ↳ FullJoin, MaxBy/MinBy, complex types, vector and full-text search, temporal tables 📌 𝗧𝗵𝗲 𝘁𝗲𝘀𝘁 Same starter project on the same tasks. I used Claude Code with Opus 5.5, web search off. One run without skills, one run with them. Then I built every project on .NET 11. ❌ Without skills: 99 turns, 13.2 min, $2.15 ✅ With skills: 44 turns, 2.9 min, $1.20 📌 Read the full article and download all 4 skills for free: 👉 antondevtips.com/blog/i-taug… Which .NET feature does your AI agent get wrong most often?
19
16
1
120
6,218
𝗪𝗵𝗮𝘁'𝘀 𝗡𝗲𝘄 𝗶𝗻 𝗖# 𝟭𝟱 Microsoft just released C# 15 with .NET 11 on November 10. It is the major language version for .NET 11 projects. The most important new features are: 🧵👇
2
8
28
1,994
Fujio Kojima retweeted
Explore DocumentExtractionClient (preview) in .NET for unified document parsing across PDFs, scans, images, and Office files. Extract structured content with interchangeable providers and integrate with data ingestion for AI-powered apps. 👉🏽 Learn more: msft.it/6019xJM4t
10
40
220
13,805
𝗠𝗶𝗰𝗿𝗼𝘀𝗼𝗳𝘁 𝗝𝘂𝘀𝘁 𝗥𝗲𝗹𝗲𝗮𝘀𝗲𝗱 .𝗡𝗘𝗧 𝟭𝟭 This is a Standard Term Support (STS) release, and it will be supported two years, until November 14, 2028. Here are the main updates: 🧵👇
7
8
61
4,112
Why did GitHub Copilot have no response to Claude Code? @satyanadella says: "Code went from input to output effectively. That was the transformation. In six months or so, IDEs faded away. When model jumps happen non-linearly, the form factor has to change quickly. AI-first product building is unforgiving because you have to build everything around a given model, then be ready for the next model to show emergent capabilities and rewire yourself for that. Don’t be in love with what you built."
9
11
12
167
91,148
Fujio Kojima retweeted
📣 #BuriKaigi 2027 プロポーザル採択完了! 登壇者が決定しました 🎉 対象の方は登壇のご意思を fortee 上にてお知らせください ✅ fortee.jp/burikaigi-2027/pro… 少しでも多くの方に登壇いただきたいので、今後会場と調整の上で登壇枠を追加できないか検討中です。追加を確約できるものではございませんが、採択となっていない方も今しばらくお待ちいただければ幸いです 🙇🏻 イベント 📅 2027/1/8 (金) - 2027/1/9 (土) 📍 富山国際会議場
📣 #BuriKaigi 2027 プロポーザル募集終了! なんと 151 件もの応募をいただきました🈵 昨年の 108 件を大幅に超える申し込みに驚くばかりです。現在スタッフ内での投票/採択作業中ですので、結果発表まで今しばらくお待ちください🙇 イベント 📅 2027/1/8 (金) - 2027/1/9 (土) 📍 富山国際会議場
2
29
9
56
16,065
Fujio Kojima retweeted
⋱Windows は 41 周年を迎えました🎉⋰ 1985 年の誕生から 41 年。 みなさまの思い出に残っている Windows は、どのバージョンですか? 歴代の Windows ロゴとともに、41 年の歩みを振り返りましょう✨
105
619
129
1,964
89,672
Microsoftが新型AIプログラミングモデル「MAI Code 2」と高速版「MAI Code 2 Flash」を発表、GPT-6.1 Solに匹敵する性能を40%のコストで発揮
1
16
3
66
11,206