ASP.NET MVC Design Gallery and Upcoming View Improvements with the ASP.NET MVC Release Candidate

clock December 20, 2008 12:19 by author
Today we launched a new ASP.NET MVC Design Gallery on the www.asp.net site. The design gallery hosts free HTML design templates that you can download and easily use with your ASP.NET MVC applications. Included with each design template is a Site.master file, a CSS stylesheet, and optionally a set of images, partials, and helper methods that support them. [More]

Currently rated 4.0 by 1 people

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


[ASP.NET][Chart]Publish Server Performance Monitors with MsChart

clock December 19, 2008 15:51 by author
Publish Server Performance Monitors with MsChart In this article I'll try to show you how to to use MsChart Controls with ajax update panel to publish your server performance counter variables. Be sure to install these packages before your start; [More]

Currently rated 5.0 by 1 people

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


Builderパターン -複雑なインスタンスを組み立てる

clock November 29, 2008 19:19 by author
なお、当ソースは、Visual C# 2005 Express Editionで動作を確認しています。 [More]

Be the first to rate this post

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


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

clock November 29, 2008 19:10 by author
デモ環境を作っていて確認したことですが、 WIndows Server 2008 の環境に SharePoint Server 2007 をそのまま、インストールしてもエラーが出てインストールできません。 [More]

Be the first to rate this post

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


C#の文字列リテラルを正規表現で

clock November 22, 2008 15:12 by author citiszo
C#の文字列リテラルを探す時に正規表現を使ってみた。 Regex rx = new Regex(@"(@""([^""]|"""")*"")|(""([^\\""]|\\.)*"")"); Match strMatch = rx.Match(s); ... [More]

Be the first to rate this post

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


FactoryMethod ― インスタンス作成をサブクラスにまかせる

clock November 21, 2008 11:14 by author
C#のインスタンス作成をサブクラスにまかせる Regex rx = new Regex(@"(@""([^""]|"""")*"")|(""([^\\""]|\\.)*"")"); Match strMatch = rx.Match(s); ... [More]

Be the first to rate this post

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


AbstractFactoryパターン -関連する部品を組み合わせて製品を作る

clock November 16, 2008 19:19 by author
なお、当ソースは、Visual C# 2005 Express Editionで動作を確認しています。 Factoryクラス using System; namespace Gushwell.DesignPatterns.BaseFactory { public abstract class Factory { public static Factory GetFactory(string classname) { Factory factory = null; try { factory = (Factory)Activator.CreateInsta... [More]

Be the first to rate this post

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


Adapterパターン (継承版) -機能の階層と実装の階層を分ける-

clock November 12, 2008 12:22 by author
Adapterパターン (継承版) -機能の階層と実装の階層を分ける- [More]

Be the first to rate this post

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


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 ] .NET Framework ] JIT 最適化にも負けずに呼び出し元のメソッドを取得する方法

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


[C#] Nullable 型のボックス化

clock October 9, 2008 12:26 by author
窓際プログラマーの独り言 -C#の話題を中心に:Nullable型のType より int? a = 10; Type type = a.GetType(); Console.WriteLine(type.Name); を実行すると、 Int32 って表示されるんだ。 a = null; type = a.GetType(); だと、 「オブジェクト参照がオブジェクト インスタンスに設定されていません。」 と、例外が発生する。 へー、そんな動きするんですね。 ちょっと調べてみましたところ、CLR の動作による... [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


[ .NET ] ASP.NET セッションステートの利用方法を模索中

clock October 5, 2008 12:14 by author
最近、セッションステートの上手い利用方法を模索してます。 CodeZine に「ASP.NETのセッションをタイプセーフに取り扱うクラスの作成」という記事が載ってましたが、この方法は僕的にちょっと馴染めなかったもので。 以下、現時点での考えをメモしときます。 [More]

Be the first to rate this post

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


Search

Calendar

<<  January 2009  >>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

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 2009

    Sign in