This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jsonファイルを読み込んでjsonを返す。 | |
// コンストラクタの引数は、ファイルからロードした文字列 | |
return new HttpResponseMessage() | |
{ | |
Content = new JsonContent( | |
ResourceLoader.LoadAsString( | |
OAuth2AndOIDCParams.JwkSetFilePath, | |
Encoding.GetEncoding(CustomEncode.UTF_8))) | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- DaoShippers_S1_Insert | |
-- 2013/1/10 日立 太郎 | |
INSERT INTO | |
[Shippers] | |
( | |
[ShipperID], | |
[CompanyName], | |
[Phone] | |
) | |
VALUES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ROOT> | |
<WHERE> | |
<IF></IF> | |
</WHERE> | |
<PARAM> | |
</PARAM> | |
</ROOT> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "ok", | |
"errorMessage": "", | |
"rp": { | |
"id": "localhost", | |
"name": "Fido2 test" | |
}, | |
"user": { | |
"name": "aaa@example.com", | |
"id": "YWFhQGV4YW1wbGUuY29t", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** Copyright Microsoft, Inc. 1994 - 2000 | |
** All Rights Reserved. | |
*/ | |
SET NOCOUNT ON | |
GO | |
USE master | |
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 一部、DataToDictionaryのテストコード | |
// https://github.com/OpenTouryoProject/OpenTouryo/blob/develop/root/programs/CS/Frameworks/Infrastructure/Public/Dto/DataToDictionary.cs | |
DataToDictionary d2d = null; | |
List<Dictionary<string, string>> list = null; | |
// マップなし | |
d2d = new DataToDictionary(null, null, null); | |
list = d2d.DataTableToDictionaryList(dt); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//********************************************************************************** | |
//* フレームワーク・テストクラス(B層) | |
//********************************************************************************** | |
// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 | |
//********************************************************************************** | |
//* クラス名 :LayerB | |
//* クラス日本語名 :B層のテスト | |
//* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ユーザー定義テーブル型 | |
CREATE TYPE [dbo].[IntValueTableType] AS TABLE ([Value] INT NULL); | |
GO | |
-- ストアドプロシージャ | |
CREATE PROCEDURE [dbo].[SummaryValueProc] | |
-- 入力パラメタ | |
@InPut int, | |
-- 出力パラメタ | |
@OutPut int OUTPUT, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --mirror https://github.com/OpenTouryoProject/OpenTouryo.git | |
cd OpenTouryo.git | |
git fetch --all | |
cd ..\ | |
git clone --mirror https://github.com/OpenTouryoProject/OpenTouryoTemplates.git | |
cd OpenTouryoTemplates.git | |
git fetch --all | |
cd ..\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ROOT> | |
SELECT * FROM SHIPPERS | |
<WHERE> | |
WHERE | |
<IF>SHIPPERID = @p1</IF> | |
<IF>hoge1 = @hoge1</IF> | |
・・・ | |
<IF>hoge1 = @hogeN</IF> → ここの「N」を、10, 20, 50, 100, 200, 500, 1000 タグと増やしていって性能を測定。 | |
</WHERE> |