IIS7でURLリライトモジュールを利用したときのPostback先の指定

clock November 2, 2008 21:52 by author citiszo
IIS7ではURLリライトモジュールが提供されていて、URLの書き換えが容易に行えるようになっています。 ただし書き換えを行った後でPostbackが起きると、書き換えられた後のURLになってしまいます。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


VSTO 上で Win フォームの DataGridView のデータを渡す方法

clock October 10, 2008 18:13 by author
VSTO も当然ながら、Win フォームのコンポーネントを作成して、ドキュメントや作業ウィンドウから Win フォームを起動することができます。 作業ウィンドウで操作してしまえばよい部分はありますが、やはり、領域の問題などもあり、どうしても Win フォームを呼び出してから、値を取得しドキュメント上で利用するケースもあるかと思います。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[Excel 開発]グラフの要素名と値を取得する方法

clock October 10, 2008 14:54 by author
取得した名前から、DB や Web サービスから情報を追加で取得して、分析をおこなうようなシナリオも考えられます。 ※一番右の要素をクリックした際のメッセージボックス ※一番左の要素をクリックした際のメッセージボックス Excel VSTO でグラフと連動した動的なアプリケーションを作成する際に有効です。 以下手順です。 手順: 1. 任意のグラフ付きのブックを用意します。 2. VSTO で読み込み、以下のコードを記述します。 Sub elementChart_MouseD... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[ .NET ] .NET Framework JIT 最適化にも負けずに呼び出し元のメソッドを取得する方法

clock October 9, 2008 12:04 by author
StackFrame クラス (System.Diagnostics) を使用すると、呼び出し元メソッドを取得することができる。しかし、Release ビルドされたアセンブリでは JIT 最適化により呼び出し元メソッドがインライン化されている可能性がある。 例えば、次のコードの実行結果を Debug ビルドと Release ビルド (非デバッグ実行) とで比較すると一目瞭然だ。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


【 .NET ] Windows Communication Foundation 】SOAP メッセージの検証・変更を行うための PowerShell 関数

clock October 8, 2008 16:08 by author citiszo
SOAP メッセージの検証・変更を行うための PowerShell 関数を作成しました。 【 Set-MessageInspector 関数 】 WCF クライアントが要求メッセージを送信する前、応答メッセージを受信した後の 2 箇所に独自の処理を追加します。 追加した処理からは、要求メッセージまたは応答メッセージの検査・変更を行うことができます。 これにより、例えば、SOAP メッセージをログに記録することができます。 [ パラメータ ] ・target SvcUtil.exe が生成したクライアントクラス ( ClientBase ジェネリッククラスの派生クラス ) ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Visual Studio 2010 & .NET Framework 4.0

clock October 6, 2008 21:32 by author
次の Visual Studio と .NET Framework のバージョンは、Visual Studio 2010 と .NET Framework 4.0 になるとのこと。 気になるのは、.NET Framework 4.0 の CLR のバージョンがどうなるかですね。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[.NET] WindowsIdentity.GetCurrent と Thread.CurrentPrincipal

clock September 17, 2008 19:19 by author
今まで同じものだと思ってた。 ( WindowsIdentity と IPrincipal の違いは置いといて。) それぞれ違うユーザー情報を返してきた時は驚いた。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[ .NET ] .NET Framework コンストラクタを呼び出さずにインスタンス化

clock September 16, 2008 13:21 by author citiszo
通常、インスタンスを生成する際には必ずコンストラクタが呼び出されます。 でも実は、コンストラクタを実行せずにインスタンスを生成することができます。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[ .NET ] .NET Framework VB の RaiseEvent アクセサの問題点

clock September 14, 2008 19:23 by author
とりこびとさんの記事を読んでいて、そういえば VB のイベント定義って C# と違うんだよなぁと思い出したことがきっかけで、久々に VB のコードを書いてみました。そしたら、ちょっとした問題に気づきました。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[C Sharp]DataSetのカラムで列挙型を扱うには

clock September 8, 2008 12:30 by author
型付DataSetのテーブルのカラムの型を、int ではなく、独自の列挙型にするには、2つの方法がある。 ひとつは、型付DataSetの定義を行う場合に列のデータ型を列挙型に指定する方法。 これは、デザイナー画面で、DataTypeプロパティの値を System.Int32 などから、独自の型 Gushwell.Genderなどを指定してあげればよい。 ドロップダウンリストには現れないので、手入力になる。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


.NET Framework 3.5 Client Profile

clock September 5, 2008 21:50 by author
.NET Framework 3.5 Client Profile (以下 Client Profile) は、クライアントアプリケーションを配布する際の、.NET Framework のインストールがもっと速くならないかという、多くのお客様からの要望に応えるために作成されました。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


親テーブルと子テーブルを DataSet 上で連携し、作業ウィンドウとシートの表示を連動させる方法 C# 版

clock September 3, 2008 09:20 by author
親テーブルと子テーブルを DataSet 上で連携し、作業ウィンドウとシートの表示を連動させる方法 C# 版 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[BookMark]ASP.NET の仕組み

clock September 2, 2008 12:15 by author
1.処理の開始と HttpContext ASP.NET を含む Web アプリケーションでは、ブラウザから Web サーバにリクエストが投げられることによって一回の処理が開始され、Web サーバがブラウザにHTMLを送り返すことで処理が終了します。Web アプリケーションはこのリクエスト単位の処理を何回も繰り返すことによって、一つのシステムとして動作しているのです。 そしてASP.NET では、Web サーバとして必ず IIS が動作しています。このため、ブラウザから投げられたリクエストをサーバ上でまず IIS が受け取ります。IIS は要求されているURL の拡張子を... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SQL Server 2008 RTM 版正式リリース

clock August 7, 2008 20:38 by author
SQL Server 2008 がRTM(製造段階,Release To Manufacturing)に移行され、MSDNとTechNet 会員に正式に提供されたとのこと。 MSDNを確認しましたが、今日(2008/08/07)の時点では英語版のみダウンロード可能になっています。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


ADO.NET Entity: Insert Update and Delete

clock August 4, 2008 10:35 by author
For small blogs, it requires more references and explanation, which sometimes are redundant. So I thought of writing single blog which is combination of topics more or less related to one thing. [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Search

Calendar

<<  November 2008  >>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

Archive

Tags

Categories


Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in