技術者派遣の技術日誌ブログ

April 24, 2009

CSharp Templating Engine investigation « Information for Technology

,ASP.NET,JAVASCRIPT,JQUERY

NET Programming website the codegain.com on 1st of this June 2009. Currently CodeGain has more than 400 articles within the a month under the followings categories C# , VB.NET, ASP.NET ,WPF, WCF ,WFF,LINQ, AJAX, JQuery, JavaScript, …

NET Programming website the codegain.com on 1st of this June 2009. Currently CodeGain has more than 400 articles within the a month under the followings categories C#, VB.NET,ASP.NET,WPF,WCF,WFF,LINQ, AJAX, JQuery, JavaScript, …

Link:
CSharp Templating Engine investigation « Information for Technology

April 23, 2009

Technical Snippets on C#, Silverlight: Checklist for Hosting a …

,ASP.NET,JAVASCRIPT,JQUERY

I had a problem with the Asp .net Application Security.

I had a problem with the Asp .net Application Security. I can login and logout using the Membership provider using Brad Adam’s article . But I wanted to verify the security at different places in my web services. And the problem is WCF

Excerpt from:
Technical Snippets on C#, Silverlight: Checklist for Hosting a …

April 20, 2009

Oracle To Buy Sun For Approximately $7.4 Billion – Hold On To Your …

Wow this is really scary if java and mysql are not open source any more… reply. Joben Ilagan – April 20th, 2009 at 5:49 am UTC. I don’t think Oracle will kill MySQL

Read the original:
Oracle To Buy Sun For Approximately $7.4 Billion – Hold On To Your …

April 15, 2009

WCF and SilverLight with Cross domain isssue

,ASP.NET,JAVASCRIPT,JQUERY

. ….

….. I read and write on WCF, SilverLight , SharePoint , ASP.Net MVC, ASP.Net 3.5 Extensions , .Net 4.0 , C# 3.0 , C# 4.0 etc etc. Currently , I am working for UST Global as Software Engineer and active member of Microsoft COE team . …

View post:
WCF and SilverLight with Cross domain isssue

WCF and SilverLight with Cross domain isssue

,ASP.NET,JAVASCRIPT,JQUERY

. ….. I read and write on WCF , SilverLight , SharePoint , ASP.Net MVC, ASP.Net 3.5 Extensions , .Net 4.0 , C# 3.0 , C# 4.0 etc etc.

….. I read and write on WCF, SilverLight , SharePoint , ASP.Net MVC, ASP.Net 3.5 Extensions , .Net 4.0 , C# 3.0 , C# 4.0 etc etc. Currently , I am working for UST Global as Software Engineer and active member of Microsoft COE team . …

View post:
WCF and SilverLight with Cross domain isssue

April 14, 2009

LinkButton in GridView and QueryString in ASP.NET to pass data

,ASP.NET,JAVASCRIPT,JQUERY

C# .NET ASP.NET Articles VB.NET CSHARP code Examples samples tutorials.

C#.NET ASP.NET Articles VB.NET CSHARP code Examples samples tutorials. ASP.NET articles,C#.NET,VB.NET tutorials and Examples,AJAX, SQL Server, GridView Articles and code examples. Subscribe To Feeds · Follow me on twitter …. I have launched a web site www.codegain.com and it is basically aimed C#,JAVA,VB.NET,ASP.NET,AJAX,Sql Server,Oracle,WPF,WCF and etc resources, programming help, articles, code snippet, video demonstrations and problems solving support. …

The rest is here:
LinkButton in GridView and QueryString in ASP.NET to pass data

April 12, 2009

WordPressパーマリンクの設定

Filed under: SEO対策, Wordpress — Tags: , — Sayuri @ 6:11 am

WordPressでは、各投稿記事のURL(パーマリンク)は、
http://localhost/hogehoge/?p=1
のように、パラメータ(クエリストリング)付きのURLがデフォルトとなります。
パーマリンク(デフォルト)

ただ、SEOを考慮すると、
パラメータ(クエリストリング)付きのURLは、検索エンジンにインデックスされにくい。
という問題があるそうで、パーマリンクの設定に少々工夫が必要となります。

ここでは、各投稿記事のURL(パーマリンク)を、
http://localhost/hogehoge/uncategorized/1.html
のように、「/カテゴリ名/投稿記事のID.html」の形式にする手順についてご紹介します。

  1. 以下の内容で、「D:¥WordPress¥hogehoge¥wp-404-handler.php」というファイルを作成する。
    <?php
    $my_wp_url = "http://" . $_SERVER['SERVER_NAME'] . "/hogehoge";
    $_SERVER['REQUEST_URI'] = substr($_SERVER['QUERY_STRING'], strpos($_SERVER['QUERY_STRING'], $my_wp_url)+strlen($my_wp_url));
    $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
    include('index.php');
    ?>

    ※「hogehoge」の部分は、WordPressをインストールした仮想ディレクトリ名にする。

    【追記】 IIS 6.0(Windows2003等)の場合、以下のように、「:80/」を頭につけるとよいようです。
    「80」は、ポート番号です。IIS 6.0の設定によって読み替えてください。
    (win23+iisさん、ありがとうございました。)

    <?php
    $my_wp_url = "http://" . $_SERVER['SERVER_NAME'] . ":80/hogehoge";
    $_SERVER['REQUEST_URI'] = substr($_SERVER['QUERY_STRING'], strpos($_SERVER['QUERY_STRING'], $my_wp_url)+strlen($my_wp_url));
    $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
    include('index.php');
    ?>

    ※「hogehoge」の部分は、WordPressをインストールした仮想ディレクトリ名にする。

  2. IISにて、仮想ディレクトリ「hogehoge」のプロパティを開く。
  3. 「カスタムエラー」タブにて、「HTTPエラー」=「404」を選択し「プロパティの編集」を押す。
  4. 「エラーマッピングのプロパティ」にて以下のように設定し、「OK」を押す。
    「メッセージの種類」=「URL」
    「URL」=「/hogehoge/wp-404-handler.php」
    エラーマッピング

    エラーマッピング(設定後)

  5. WordPressに、「admin」ユーザー(管理者のユーザー)でログインする。
  6. メニューの「設定」(右から3番目)をクリックする。
  7. サブメニューの「パーマリンクの設定」をクリックする。
  8. 「一般的な設定」にて、「カスタム構造」を以下のように入力し、「変更を保存」を押す。

    /%category%/%post_id%.html

    パーマリンクの設定

  9. ブラウザで確認する。
    パーマリンク設定後

【補足】

【参考URL】

April 9, 2009

Controller in ASP.Net MVC Framework

,ASP.NET,JAVASCRIPT,JQUERY

For example if desired name of controller is csharp then here name will be csharpController. So name of the class will be csharpController.cs

For example if desired name of controller is csharp then here name will be csharpController. So name of the class will be csharpController.cs. Step 3: Add namespace System.Web.Mvc if it is not added. Step 4: Inherit this class from Controller. … I read and write on WCF, SilverLight , SharePoint , ASP.Net MVC, ASP.Net 3.5 Extensions , .Net 4.0 , C# 3.0 , C# 4.0 etc etc. Currently , I am working for UST Global as Software Engineer and active member of Microsoft COE team . …

Here is the original post:
Controller in ASP.Net MVC Framework

Powered by WordPress