Skip to content

Commit 635f4c0

Browse files
authored
Refine code formatting in README.md
Correct indentation and formatting in code blocks. Signed-off-by: Joachim Fosse <56757601+joaf123@users.noreply.github.com>
1 parent 89cfcda commit 635f4c0

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ Classic mode is not supported due to the nature of the classic IIS pipeline
3838
<%@ Application Language="C#" %>
3939
4040
<script RunAt="server">
41-
void Application_Start(object sender, EventArgs e)
42-
{
41+
void Application_Start(object sender, EventArgs e) {
4342
this.UseAuthentication();
4443
}
4544
</script>
@@ -72,7 +71,7 @@ public partial class WebFormsMasterPage : System.Web.UI.MasterPage
7271
```
7372
### WebMethods inside Page Classes & WebMethods inside WebService Classes:
7473
```csharp
75-
[RequiresAuthentication]
7674
[WebMethod]
77-
public string AjaxMethod() {
75+
[RequiresAuthentication]
76+
public string AjaxMethod() { ... }
7877
```

0 commit comments

Comments
 (0)