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


【 .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


[ .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


【Tips】スレッド内で発生した例外 - System.Timers.Timer

clock September 10, 2008 12:47 by author citiszo
では、System.Timers.Timerを使った非同期処理の場合はどうなるんだろうか? この Timerもスレッドが生成されるので、同じ動きだろうか? [More]

Be the first to rate this post

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


[C sharp]GetEnumerator() vs. GetEnumerable()

clock September 9, 2008 22:31 by author citiszo
C#で、 public class MyClass { public IEnumerable<int> GetEnumerator() { yield return 1; yield return 2; yield return 3; yield return 4; } } というコードを書けば、 MyClass mc = new MyClass(); foreach ( int i in mc.GetEnumerator() ) { Console.WriteLine(i); } と foreach 文が書ける。最も... [More]

Be the first to rate this post

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


[HowTo]Network Serviceアカウントに適切な権限を付加する

clock September 6, 2008 13:52 by author citiszo
IIS6.0では、ワーカープロセスのアカウントとして Network Service アカウントが使用されます。 このアカウントはファイル・ディレクトリへのアクセス権などが制限されていて、ログファイルを出力することすらできません。 [More]

Be the first to rate this post

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


[Tips]Windows Server 2008 に SharePoint Server 2007 をインストールする際の注意点

clock September 3, 2008 10:45 by author citiszo
ここ数週間にわたって、検索に関するワンポイントをご紹介してきました。他にも少しあるのですが、1 か月も続けて話すほどではないので、ちょっと話題を変えてコマンド ウィンドウのお話をしましょう。 [More]

Be the first to rate this post

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


[Ruby]Rubyで日付-時間を操作

clock August 30, 2008 16:47 by author citiszo
年と月だけがわかっていて、その月の月末の日を求める方法です。 Date関数を使うとめちゃ簡単です。 [More]

Be the first to rate this post

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


[Python]文字列から日付型変換と演算

clock August 30, 2008 16:22 by author citiszo
検索結果を filter 使って絞って、order_by でソートできるのもわかりました。 なので、「今日の分だけ表示」はできた。 んで、「昨日(前の日)」を得るために、日付の書式で入力された文字列('2007-04-08'とか)を日付型に変換する方法がよくわからんかった。。。 [More]

Be the first to rate this post

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


Ruby 月末の日付を年月から計算

clock August 30, 2008 14:29 by author citiszo
年と月だけがわかっていて、その月の月末の日を求める方法です。 Date関数を使うとめちゃ簡単です。 [More]

Be the first to rate this post

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


[Ruby]Rubyで日付-時間を操作

clock August 29, 2008 14:41 by author citiszo
年と月だけがわかっていて、その月の月末の日を求める方法です。 Date関数を使うとめちゃ簡単です。 [More]

Be the first to rate this post

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


[Django][javascript] django - javascript 間を JSON でやりとりする

clock August 29, 2008 11:27 by author citiszo
django.utils.simplejson でモデルオブジェクトを JSON にできなくなってる。0.96のころはできたように思うんだけど。unicodeブランチのマージの影響か?仕方ないので django.core.serializers でシリアライズしてみたら、JSONとしては使いずらい結果になる。まあシリアライズだから当然か。子要素が展開されずにIDだけというのも困りもの。 [More]

Be the first to rate this post

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


【 .NET ] Windows Communication Foundation 】WCFでのエラー ハンドリング

clock August 19, 2008 12:09 by author citiszo
ASP.NET では、Global.asax で例外を一元的にハンドリングするためのエラー ハンドラを用意することができました。しかし、WCF では残念ながら Global.asax がサポートされていません。 ( ASP.NET 互換モードでも非サポート。 ) [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