Skip to content

Commit 507d0d7

Browse files
Update option.md
1 parent 5d2b9da commit 507d0d7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

doc/option.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ show_minor_errors=false
2727

2828
CodeBehind framework users can remove the path of aspx files from wwwroot and add them to their desired directory. If you use server-side code in view (aspx) pages, this option leads to more security of your applications.
2929

30+
Operation location: Compiling view files
31+
3032
**Move views from wwwroot path**
3133

3234
(`move_view_from_wwwroot=true`)
3335

3436
If you have selected the path of the view file in a path other than the wwwroot path, if the option to move from the wwwroot path is enabled, automatically after recompile, all aspx and astx files will be moved from the wwwroot path to your chosen path.
3537

38+
Operation location: Compiling view files
39+
3640
**Rewrite aspx path as directory**
3741

3842
(`rewrite_aspx_file_to_directory=false`)
@@ -48,12 +52,16 @@ Also access aspx file after rewrite as directory
4852
(`access_aspx_file_after_rewrite=false`)
4953
If you have enabled rewriting the path of aspx files as a directory name, enabling this option will allow you to still access the path of the aspx file.
5054

55+
Operation location: Compiling view files
56+
5157
**Ignore Default.aspx after rewrite**
5258

5359
(`ignore_default_after_rewrite=true`)
5460

5561
Naming the aspx file as Default.aspx makes it unnecessary to add the name of this file after the last directory, and this file is recognized automatically; If you have enabled rewriting the path of aspx files as a directory name, enabling this option will make the Default.aspx files be considered as the default file of the previous directory path. Therefore, the Default directory will not be executed.
5662

63+
Operation location: Compiling view files
64+
5765
**Don't worry about new lines and extra tabs and spaces.**
5866

5967
**Trim in start**
@@ -88,6 +96,8 @@ This way there will be no extra lines
8896
<!DOCTYPE html>
8997
```
9098

99+
Operation location: Compiling view files
100+
91101
**Trim in inner aspx**
92102

93103
(`inner_trim_in_aspx_file=true`)
@@ -102,18 +112,24 @@ Example for Razor syntax
102112
Example for standard syntax
103113
`<% code %>`
104114

115+
Operation location: Compiling view files
116+
105117
**Trim in end**
106118

107119
(`end_trim_in_aspx_file=true`)
108120

109121
If this option is active, every new line and extra tab and space will be deleted from the bottom of the aspx files.
110122

123+
Operation location: Compiling view files
124+
111125
**Break for layout**
112126

113127
(`set_break_for_layout_page=true`)
114128

115129
If this option is enabled, layout files are automatically ignored from direct access and cannot be accessed via url.
116130

131+
Operation location: Compiling view files
132+
117133
**Support cshtml extension**
118134

119135
(`convert_cshtml_to_aspx=false`)
@@ -127,10 +143,14 @@ For default cshtml pages, the name should be Default.cshtml; So pages named Inde
127143
Please note that these files must not be added to projects in Visual Studio; The reason for this is that, in addition to the CodeBehind framework, these pages are also compiled in the default .NET mode and can create unstable situation and security risk conditions.
128144
Also note that the default code highlighter of Visual Studio may in some cases have unnecessary errors from cshtml pages based on the CodeBehind framework.
129145

146+
Operation location: Compiling view files
147+
130148
**Show minor errors**
131149

132150
(`show_minor_errors=false`)
133151

134152
By enabling the show minor errors option, when compiling, errors that do not cause problems in the compilation process but are not optimal will be displayed in the `views_compile_error.log` file in the code_behind directory.
135153

136154
In the future, more customization options will be added to the options file.
155+
156+
Operation location: Compiling view files

0 commit comments

Comments
 (0)