Rustが再評価される:エコシステムの現状と落とし穴 In this article, we share findings and insights about the Rust community and ecosystem and elaborate on the peculiarities and pitfalls of starting new projects with Rust or migrating to Rust from othe...
PLINQ (Parallel LINQ) は黒歴史かも知れない。 私はLINQが好きだ。愛しているといっても過言ではない。 着実な言語的積み重ねの上に成り立つ、これほどスマートな改善を見たことがない。 LINQを知らない人のために簡単に説明しよう。(知っている人は次のコードサンプルを読み飛ばすこと。) LINQは関数型にヒントを得た……などは置いておくと、要はfor文の組み合わせたデータ処理を簡単にしてくれるものだ。 従来、配列のデータをフィルタしたり集計するには、forブロックと中間変数が必要だった。 たとえば、Personクラスの配列から、20代だけを抽出し、年収平均を計算したいとする。 // 処理データ集合を確定する。 Person persons = new {…}; // データは与えられているものとする。 // 対象を絞り込む。 List<Person> targets =
The most common complaint against NoSQL is that if you know how to write good SQL queries then SQL works fine. If SQL is slow you can always tune it and make it faster. A great example of this incremental improvement process was written up by StackExchange's Sam Saffron, in A day in the life of a slow page at Stack Overflow, where he shows through profiling and SQL tuning it was possible to reduce
The Microsoft® .NET Client Library supports data service queries by using language-integrated queries (LINQ). The client library handles the details of mapping the LINQ statement to the appropriate URI for the Table service and of retrieving the specified resources as .NET objects. LINQ Query Operators The following tables note which LINQ query operators are supported for use with the Table servic
In Visual Studio 2022 17.10 Preview 2, we’ve introduced some UX updates and usability improvements to the Connection Manager. With these updates we provide a more seamless experience when connecting to remote systems and/or debugging failed connections. Please install the latest Preview to try it out. Read on to learn what the Connection ...
すべての Microsoft 製品 Global Microsoft 365 Teams Copilot Windows Surface Xbox セール 法人向け サポート ソフトウェア Windows アプリ AI OneDrive Outlook Skype OneNote Microsoft Teams PC とデバイス Xbox を購入する アクセサリ VR & 複合現実 エンタメ Xbox Game Pass Ultimate Xbox Live Gold Xbox とゲーム PC ゲーム Windows ゲーム 映画とテレビ番組 法人向け Microsoft Cloud Microsoft Security Azure Dynamics 365 一般法人向け Microsoft 365 Microsoft Industry Microsoft Power Platform W
すべての Microsoft 製品 Global Microsoft 365 Teams Copilot Windows Surface Xbox セール 法人向け サポート ソフトウェア Windows アプリ AI OneDrive Outlook Skype OneNote Microsoft Teams PC とデバイス Xbox を購入する アクセサリ VR & 複合現実 エンタメ Xbox Game Pass Ultimate Xbox Live Gold Xbox とゲーム PC ゲーム Windows ゲーム 映画とテレビ番組 法人向け Microsoft Cloud Microsoft Security Azure Dynamics 365 一般法人向け Microsoft 365 Microsoft Industry Microsoft Power Platform W
Extras Dynamically Composing Expression Predicates Suppose you want to write a LINQ to SQL or Entity Framework query that implements a keyword-style search. In other words, a query that returns rows whose description contains some or all of a given set of keywords. We can proceed as follows: IQueryable<Product> SearchProducts (params string[] keywords) { IQueryable<Product> query = dataContext.Pro
このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 LINQ クエリのプリコンパイル Julie Lerman コード サンプルのダウンロード アプリケーションで LINQ to SQL や LINQ to Entities を使用するときは、繰り返し実行するクエリを作成する際に、クエリのプリコンパイルを検討することが重要です。開発工程では、特定の仕事に忙殺され、工程がかなり進むまで、プリコンパイル済みのクエリを活用することをつい忘れがちです。これは、事が起きてからアプリケーションに例外処理を押し込もうとする、"例外処理病" と非常によく似ています。 ただし、この重要なパフォーマンス強化技法を実装したとしても、そのメリットが失われる可能性があります。パフォーマ
This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Leaving Microsoft, Blog Moving to EricWhite.com Due to personal obligations (moving away from Seattle) it is with sadness that I’m announcing... Author: Eric White - Independant Consultant Date: 01/19/2011 Using the OData Rest API for CRUD Operations on
PLINQ: LINQ, but Faster! With Ed Essey, Igor Ostrovsky Thursday | 8:30am - 9:30am | 515A Multi-core processors are everywhere! Parallel Language Integrated Query (PLINQ) in the Microsoft .NET Framework 4 offers a minimal-code solution to take advantage of this parallel hardware, providing an implementation of the .NET Standard Query Operators that uses parallel execution techniques underneath the
When we wrote LINQ in Action we included a sample of how to simply query against a CSV file using the following LINQ query: From line In File.ReadAllLines(“books.csv”) Where Not Line.StartsWith(“#”) Let parts = line.Split(“,”c) Select Isbn = parts(0), Title = parts(1), Publisher = parts(3) While this code does make dealing with CSV easier, it would be nicer if we could refer to our columns as if t
Last time I announced Linq to Mocks, some said Moq didn't actually have anything to do with Linq. Despite the heavy usage of lambda expressions and expression trees, the "q" in Linq is for "query" after all. And they were right, of course, but it was fun anyway, and the name is definitely cool IMO :). But this time around, I'm happy to say that it's finally true. What the next version of Moq (ear
アナウンス ご無沙汰しております。 本ブログですが、Closeになる予定となっております。公開している記事が必要な方は、保存などをお願いします。 Author: shozoa Date: 01/26/2019 デスクトップ ブリッジと VC ランタイムについて Windows 10 Fall Creators Update がリリースされて、Visual Studio 2017 も Fall Creators Update 対応の 15.4... Author: shozoa Date: 11/10/2017 KB4025342 と DAC について 大分、更新が滞っておりました。2017年7月に KB4025342 がリリースされてから、Desktop App Converter... Author: shozoa Date: 09/04/2017 Desktop Bridge と Wi
Archived MSDN and TechNet Blogs 2/7/2020 2 minutes to read MSDN and TechNet blog sites have been retired, and blog content has been migrated and archived here. Archived blogs are grouped alphabetically by the initial letter of the blog name. Blogs and blog posts can be searched by their names, using the Search box at the top of the page. Actively updated blogs have been moved to other blog sites,
I am implementing Repository Pattern with ADO.NET entity framework. I see that updating records is relatively more complicated than just adding or removing from the database. See below the Update statement and add statement for your judgment. I was wondering if there is any way that I can update the record without having to retreive the original record first. public void Update(User user) { var us
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く