微妙に釣りタイトルです。書こうと思ったきっかけはこちらの記事です。 前職ではC#/ASP.NETをよく書いていた。 キャリア的には5年ぐらいだったけど、悲しいことにずっとC# 2.0止まりだった。 型推論とかLINQとかは結局実務では使わずじまいだった。 Java/C# からRubyに乗り換えて感じたことのまとめ - give IT a try Visual Studio は IntelliSense が強力で超便利だけど、IDE 自体がかなりの重量級なのでメモリ 8GB 以上と SSD はもはや必須なのは事実すぎますし、規模が大きくなったらコンパイルも 5 秒ぐらいかかるし「そうだよなぁ・・・」と思いながら読んでいました。 でも、以下の 2 点に関しては最新の Visual Studio と C# では、NuGet の追加と var の導入で割と前から対応しています。 型情報がコードにな
データをマーシャリングするときに、相互運用マーシャラはマーシャリングされるデータをコピーまたは固定できます。データをコピーすると、あるメモリ位置のデータのコピーが別のメモリ位置に配置されます。マネージ メモリからアンマネージ メモリにコピーされた値型と、参照渡しされた型の違いを次の図に示します。 値渡しされる値型と参照渡しされる値型 値渡しされるメソッド引数は、スタック上の値としてアンマネージ コードにマーシャリングされます。コピーのプロセスは直接的です。参照渡しされる引数は、ポインタとしてスタック上に渡されます。参照型も、値渡しまたは参照渡しできます。値渡しされる参照型がコピーまたは固定されるようすを次の図に示します。 値渡しされる参照型と参照渡しされる参照型 一時的な固定は、現在のメモリ位置にデータをロックします。したがって、共通言語ランタイムのガベージ コレクタによって、そのデータが
このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 SQLite の内部 Ted Neward サンプル コードのダウンロード 今月のコラムのテーマに合わせるならば、SQL とリレーショナル データベースのルーツを振り返るべきでしょう。当然のことながら、SQL Server の概要、新しい機能セット、パフォーマンスの向上などについて説明するのが妥当でしょうが、それは私の流儀ではありません。誤解しないでください。SQL Server はすばらしいデータベースです。"大規模な" エンタープライズ クラスのシナリオでの使用は強くお勧めします。しかし、あらゆる問題に、(かつて友人が言ったように) 「どでかい一元的なデータベース」が求められているわけではありません。 実
Now that you know how to open a device, let’s look at the Win32 function DeviceIoControl: BOOL DeviceIoControl( HANDLE hDevice, // Handle returned from CreateFile DWORD dwIoControlCode, // Operation control code PVOID pInBuffer, // Address of input buffer DWORD nInBufferSize, // Size, in bytes, of input buffer PVOID pOutBuffer, // Address of output buffer DWORD nOutBufferSize, // Size, in bytes, o
A blog on coding, .NET, .NET Compact Framework and life in general.... Identifying your Arduino board from code For my IoT project I needed to write code slightly differently for specific Arduino boards. E.g. for... Date: 02/21/2016 ESP8266 Wifi With Arduino Uno and Nano If you are trying to add Wifi connectivity to an existing Arduino project or have serious... Date: 01/23/2016 Publishing a ASP.N
注意 このページにアクセスするには、承認が必要です。 サインインまたはディレクトリの変更を試すことができます。 このページにアクセスするには、承認が必要です。 ディレクトリの変更を試すことができます。 .NET の問題 ThreadPool の順序実行 Stephen Toub 質問: 私のシステムのコンポーネントの多くは非同期的に実行する必要があり、その意味で、Microsoft .NET Framework ThreadPool が適切なソリューションだと思います。しかし、各コンポーネントの作業項目は順序に従って処理される必要があるため、作業項目が 2 つ同時に実行されないようにする必要があると思うのですが、これは特別な場合に限られるのでしょうか。もっとも、複数のコンポーネントは同時に実行できるため、問題ありません。実際、それが要求されるのです。何かアドバイスはありますか。 回答: こ
This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. February 2009 Volume 24 Number 02 CLR Inside Out - Handling Corrupted State Exceptions By Andrew Pardoe | February 2009 This column is based on a prerelease version of Visual Studio 2010. All information is subject to change. Contents What Exactly Are Ex
このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 CLR 徹底解剖 破損状態例外を処理する Andrew Pardoe このコラムは、Visual Studio 2010 のプレリリース バージョンに基づいています。記載されているすべての情報は、変更される場合があります。 目次 例外とは正確にどのようなものか Win32 SEH 例外と System.Exception マネージ コードと SEH 破損状態例外 それでも Catch (Exception e) を使用するのはよくない 賢明なコーディング 完全には正しくないが、ほぼ十分と言えるコードを作成したことがありますか。すべてがうまく行っているときには正しく動作するが、何か問題が発生した場合にどうなるか
連載第2回となる今回は、「管理下ポインタ」(Managed Pointer)について取り上げる。 ■C#は参照渡しをサポートする C#は関数引数の参照渡しをサポートしている。といっても、C#コンパイラがすべき仕事はほとんどない。参照渡しの仕組みはCommon Language Infrastructure(CLI)によって提供されており、C#コンパイラは必要なメタデータと中間言語(IL)コードを出力しているだけである。 対照的に、Java Virtual Machine(JVM)は関数引数の参照渡しをサポートしない。JVM上で動く言語を設計するとして、その言語で参照渡しをサポートしたければ道は1つ、JVMがサポートする機能を用いて参照渡しをエミュレートすることである。つまりコンパイル時に参照渡しを「消去」する必要がある。 実際にC#のコード例で見てみよう。クラスFooのインスタンスを作り、
Gaurav Khanna has released its project called CSLMail, an SMTP/POP3 email component for .NET Framework and .NET Compact Framework platforms. CSLMail 2.0 is a free and feature rich .NET based email component, which supports the SMTP and POP3 protocols, completing the need to design a complete email client. Its comes with complete documentation and features include: SMTP Complete SM
Coding Tools Improved Support For Parallelism In The Next Version Of Visual Studio Stephen Toub and Hazim Shafi This article is based on prerelease versions of Visual C++, Visual Studio, and the .NET Framework. All information herein is subject to change. Contents Expressing Parallelism in Managed Code Expressing Parallelism in Native Code Debugging Parallel Applications Profiling Parallel Applica
This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Solving 11 Likely Problems In Your Multithreaded Code Joe Duffy Concurrency is everywhere. Server-side programs have long had to deal with a fundamentally concurrent programming model, and as multicore processors become more commonplace, client-side prog
This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. span.sup { vertical-align:text-top; } CLR Inside Out Unhandled Exception Processing In The CLR Gaurav Khanna Please note that although referenced in the print version of this article, there is no code download. Contents Managed Exception Handling Thread
Windows Mobile Blog: Moving Day As of today the Windows Mobile Blog has moved and officially joined the Windows Blog. There are now... Date: 07/14/2009 Getting started with widgets on Windows Mobile 6.5 Now that the Windows Mobile 6.5 Developer Toolkit is out, it is time to start writing widgets!!!... Date: 06/03/2009 Windows Mobile RampUp track is now available on MSDN Are you interested in learn
マイクロソフトのディベロッパー製品開発を担当している部署です。 Silverlight 4 SDK/Tools 正式版が公開されました 先週からになりますが、 Silverlight4 SDK および Visual Studio 2010 用の開発アドインが公開されました。... Date: 06/15/2010 Small Basic 0.9 がリリースされました 前回のリリースから大幅に機能強化を施して、Small Basic の最新バージョンである 0.9 がリリースされました。 今回の強化ポイントは、第一にパフォーマンスが大幅に高くなったことです。... Date: 06/13/2010 VS フィードバックのツイッターを始めました まだ試験運用中ですがhttps://connect.microsoft.com/VisualStudioJapan にいただいた中で、公開可能なフィー
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く