Last change
on this file since 101 was 101, checked in by coas-nagasima, 8 years ago |
TOPPERS/uKadecotのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain
|
File size:
1.4 KB
|
Rev | Line | |
---|
[101] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
| 2 |
|
---|
| 3 | <!-- web.config 夿ã®è©³ç´°ã«ã¤ãã¦ã¯ãhttp://go.microsoft.com/fwlink/?LinkId=125889 ãåç
|
---|
| 4 | §ãã¦ãã ããã -->
|
---|
| 5 |
|
---|
| 6 | <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
---|
| 7 | <!--
|
---|
| 8 | 次ã®ä¾ã§ã¯ã"MyDB" ã¨ããå¤ãæã¤ "name" 屿§ã "Match" ãã±ã¼ã¿ã¼ã§
|
---|
| 9 | è¦ã¤ãã£ãå ´åã«ã®ã¿ã"SetAttributes" 夿ã«ãã£ã¦ "connectionString" ã®
|
---|
| 10 | å¤ã "ReleaseSQLServer" ã使ç¨ããããã«å¤æ´ããã¾ãã
|
---|
| 11 |
|
---|
| 12 | <connectionStrings>
|
---|
| 13 | <add name="MyDB"
|
---|
| 14 | connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
---|
| 15 | xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
---|
| 16 | </connectionStrings>
|
---|
| 17 | -->
|
---|
| 18 | <system.web>
|
---|
| 19 | <compilation xdt:Transform="RemoveAttributes(debug)" />
|
---|
| 20 | <!--
|
---|
| 21 |
|
---|
| 22 | 次ã®ä¾ã§ã¯ãweb.config ãã¡ã¤ã«ã® <customErrors> ã»ã¯ã·ã§ã³å
|
---|
| 23 | ¨ä½ã
|
---|
| 24 | "Replace" 夿ã«ãã£ã¦ç½®ãæãããã¾ãã
|
---|
| 25 | <system.web> ãã¼ãã«ã¯ customErrors ã»ã¯ã·ã§ã³ã 1 ã¤ãããªãããã
|
---|
| 26 | "xdt:Locator" 屿§ã使ç¨ããå¿
|
---|
| 27 | è¦ã¯ããã¾ããã
|
---|
| 28 |
|
---|
| 29 | <customErrors defaultRedirect="GenericError.htm"
|
---|
| 30 | mode="RemoteOnly" xdt:Transform="Replace">
|
---|
| 31 | <error statusCode="500" redirect="InternalError.htm"/>
|
---|
| 32 | </customErrors>
|
---|
| 33 | >
|
---|
| 34 | -->
|
---|
| 35 | </system.web>
|
---|
| 36 | </configuration>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.