개정판 b2629465
Rest API Test 수정
Change-Id: I82788112620dc9e32a8b6f280a524b1da391185f
ConvertService/ServiceBase/StationRestTest/Web.Debug.config | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
|
|
3 |
<!-- web.config 변환 사용에 대한 자세한 내용은 https://go.microsoft.com/fwlink/?LinkId=125889를 참조하세요. --> |
|
4 |
|
|
5 |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> |
|
6 |
<!-- |
|
7 |
아래 예에서, "Match" 로케이터가 "MyDB" 값을 가진 "name" 특성을 |
|
8 |
찾은 경우에만 "SetAttributes" 변환에서 "ReleaseSQLServer"를 |
|
9 |
사용하도록 "connectionString"의 값을 변경합니다. |
|
10 |
|
|
11 |
<connectionStrings> |
|
12 |
<add name="MyDB" |
|
13 |
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" |
|
14 |
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> |
|
15 |
</connectionStrings> |
|
16 |
--> |
|
17 |
<system.web> |
|
18 |
<compilation xdt:Transform="RemoveAttributes(debug)" /> |
|
19 |
<!-- |
|
20 |
|
|
21 |
아래 예에서 "Replace" 변환은 web.config 파일의 |
|
22 |
<customErrors> 섹션 전체를 바꿉니다. |
|
23 |
<system.web> 노드 아래에는 customErrors 섹션이 하나만 있기 때문에 |
|
24 |
"xdt:Locator" 특성을 사용할 필요가 없습니다. |
|
25 |
|
|
26 |
<customErrors defaultRedirect="GenericError.htm" |
|
27 |
mode="RemoteOnly" xdt:Transform="Replace"> |
|
28 |
<error statusCode="500" redirect="InternalError.htm"/> |
|
29 |
</customErrors> |
|
30 |
> |
|
31 |
--> |
|
32 |
</system.web> |
|
33 |
</configuration> |
ConvertService/ServiceBase/StationRestTest/Web.config | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
|
|
3 |
<!-- |
|
4 |
ASP.NET 응용 프로그램을 구성하는 방법에 대한 자세한 내용은 다음을 참조하세요. |
|
5 |
https://go.microsoft.com/fwlink/?LinkId=169433 |
|
6 |
--> |
|
7 |
|
|
8 |
<configuration> |
|
9 |
|
|
10 |
<system.web> |
|
11 |
<compilation debug="true" targetFramework="4.5"/> |
|
12 |
<httpRuntime targetFramework="4.5"/> |
|
13 |
</system.web> |
|
14 |
<system.codedom> |
|
15 |
<compilers> |
|
16 |
<compiler language="c#;cs;csharp" extension=".cs" |
|
17 |
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" |
|
18 |
warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/> |
|
19 |
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" |
|
20 |
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" |
|
21 |
warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/> |
|
22 |
</compilers> |
|
23 |
</system.codedom> |
|
24 |
|
|
25 |
</configuration> |
ConvertService/ServiceBase/StationRestTest/packages.config | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<packages> |
|
3 |
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="2.0.0" targetFramework="net45" /> |
|
4 |
</packages> |
내보내기 Unified diff