Skip to content

Commit 85aadde

Browse files
committed
Update message character limit to 250
1 parent af71b65 commit 85aadde

File tree

2 files changed

+3
-3
lines changed
  • docs/03_improve_deploy_app
  • src/Application/src/RazorPagesTestSample/Data

2 files changed

+3
-3
lines changed

docs/03_improve_deploy_app/0301.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We have a work machine configured, so now it is time to ensure that everything w
1313

1414
## Description
1515

16-
Developers at Munson's Pickles and Preserves like the Team Messaging System in general, but they consistently bring up issues with one aspect of the application: it limits messages to 200 characters or fewer. Developers have made a case that the app should support messages of up to 250 characters in length instead.
16+
Developers at Munson's Pickles and Preserves like the Team Messaging System in general, but they consistently bring up issues with one aspect of the application: it limits messages to 250 characters or fewer. Developers have made a case that the app should support messages of up to 250 characters in length instead.
1717

1818
In this task, you will modify the application to support 250 characters instead of 200. You will also follow a feature branching strategy and use a pull request to bring your change into the `main` branch. If you wish to complete this task using a Test-Driven Design approach, please read the **Advanced Challenges (optional)** section below before making any changes.
1919

src/Application/src/RazorPagesTestSample/Data/Message.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ public class Message
99

1010
[Required]
1111
[DataType(DataType.Text)]
12-
[StringLength(200, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")]
12+
[StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your message.")]
1313
public string Text { get; set; }
1414
}
1515
#endregion
16-
}
16+
}

0 commit comments

Comments
 (0)