Skip to content

Commit 01ffb9f

Browse files
committed
feat: Implement initial BookStore application including API, Web UI, tests, and documentation.
0 parents  commit 01ffb9f

139 files changed

Lines changed: 68175 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.aspire/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"appHostPath": "../src/BookStore.AppHost/BookStore.AppHost.csproj"
3+
}

.editorconfig

Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
indent_style = space
9+
indent_size = 4
10+
11+
[*.{cs,vb}]
12+
# Naming preferences
13+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
14+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
15+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
16+
17+
dotnet_naming_symbols.interface.applicable_kinds = interface
18+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
19+
dotnet_naming_symbols.interface.required_modifiers =
20+
21+
dotnet_naming_style.begins_with_i.required_prefix = I
22+
dotnet_naming_style.begins_with_i.required_suffix =
23+
dotnet_naming_style.begins_with_i.word_separator =
24+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
25+
26+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
27+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
28+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
29+
30+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
31+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
32+
dotnet_naming_symbols.types.required_modifiers =
33+
34+
dotnet_naming_style.pascal_case.required_prefix =
35+
dotnet_naming_style.pascal_case.required_suffix =
36+
dotnet_naming_style.pascal_case.word_separator =
37+
dotnet_naming_style.pascal_case.capitalization = pascal_case
38+
39+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
40+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
41+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
42+
43+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, method, field, event, delegate
44+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
45+
dotnet_naming_symbols.non_field_members.required_modifiers =
46+
47+
# Organize bindings
48+
dotnet_sort_system_directives_first = true:warning
49+
dotnet_separate_import_directive_groups = false:warning
50+
51+
# Use file-scoped namespace declarations
52+
csharp_style_namespace_declarations = file_scoped:warning
53+
54+
# Expression-bodied members
55+
csharp_style_expression_bodied_accessors = true:warning
56+
csharp_style_expression_bodied_constructors = true:warning
57+
csharp_style_expression_bodied_indexers = true:warning
58+
csharp_style_expression_bodied_lambdas = true:warning
59+
csharp_style_expression_bodied_local_functions = true:warning
60+
csharp_style_expression_bodied_methods = true:warning
61+
csharp_style_expression_bodied_operators = true:warning
62+
csharp_style_expression_bodied_properties = true:warning
63+
64+
# Pattern matching preferences
65+
csharp_style_pattern_local_over_anonymous_function = true:warning
66+
csharp_style_pattern_matching_over_as_with_null_check = true:warning
67+
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
68+
csharp_style_prefer_extended_property_pattern = true:warning
69+
csharp_style_prefer_not_pattern = true:warning
70+
csharp_style_prefer_pattern_matching = true:warning
71+
csharp_style_prefer_switch_expression = true:warning
72+
73+
# Null-checking preferences
74+
csharp_style_conditional_delegate_call = true:warning
75+
76+
# Modifier preferences
77+
dotnet_diagnostic.IDE0040.severity = warning
78+
dotnet_style_require_accessibility_modifiers = omit_if_default:warning
79+
csharp_prefer_static_local_function = true:warning
80+
81+
# Code-block preferences
82+
csharp_prefer_braces = true:warning
83+
csharp_prefer_simple_using_statement = true:warning
84+
85+
# Style preferences
86+
csharp_style_var_for_built_in_types = true:warning
87+
csharp_style_var_when_type_is_apparent = true:warning
88+
csharp_style_var_elsewhere = true:warning
89+
csharp_style_unused_value_expression_statement_preference = discard_variable:error
90+
91+
# Modern C# features (C# 13 / .NET 10)
92+
# Collection expressions (C# 12+)
93+
csharp_style_prefer_collection_expression = when_types_exactly_match:warning
94+
dotnet_style_prefer_collection_expression = when_types_exactly_match:warning
95+
96+
# Primary constructors (C# 12+)
97+
csharp_style_prefer_primary_constructors = true:suggestion
98+
99+
# Inline arrays and ref readonly (C# 13)
100+
csharp_style_prefer_readonly_struct = true:warning
101+
csharp_style_prefer_readonly_struct_member = true:warning
102+
103+
# Target-typed new expressions (C# 9+)
104+
csharp_style_implicit_object_creation_when_type_is_apparent = true:warning
105+
106+
# Simplified using statements (C# 8+)
107+
csharp_prefer_simple_using_statement = true:warning
108+
109+
# Null-checking preferences (modern)
110+
csharp_style_throw_expression = true:warning
111+
csharp_style_prefer_null_check_over_type_check = true:warning
112+
113+
# Index and range preferences (C# 8+)
114+
csharp_style_prefer_index_operator = true:warning
115+
csharp_style_prefer_range_operator = true:warning
116+
117+
# Expression preferences
118+
dotnet_style_prefer_auto_properties = true:warning
119+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
120+
dotnet_style_prefer_conditional_expression_over_return = true:silent
121+
dotnet_style_prefer_compound_assignment = true:warning
122+
dotnet_style_prefer_simplified_boolean_expressions = true:warning
123+
dotnet_style_prefer_simplified_interpolation = true:warning
124+
125+
# Namespace preferences (file-scoped already set above)
126+
# Using directive preferences
127+
dotnet_style_namespace_match_folder = true:suggestion
128+
129+
# Tuple preferences
130+
dotnet_style_prefer_inferred_tuple_names = true:warning
131+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
132+
133+
# Parameter preferences
134+
dotnet_code_quality_unused_parameters = all:warning
135+
136+
# Suppression preferences
137+
dotnet_remove_unnecessary_suppression_exclusions = none:warning
138+
139+
# New line preferences for modern C#
140+
dotnet_style_allow_multiple_blank_lines_experimental = false:warning
141+
dotnet_style_allow_statement_immediately_after_block_experimental = false:warning
142+
csharp_style_allow_embedded_statements_on_same_line_experimental = false:warning
143+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:warning
144+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false:warning
145+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = false:warning
146+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = false:warning
147+
148+
# Formatting - Indentation
149+
csharp_indent_block_contents = true
150+
csharp_indent_braces = false
151+
csharp_indent_case_contents = true
152+
csharp_indent_case_contents_when_block = true
153+
csharp_indent_labels = one_less_than_current
154+
csharp_indent_switch_labels = true
155+
156+
# Formatting - New Lines
157+
csharp_new_line_before_catch = true
158+
csharp_new_line_before_else = true
159+
csharp_new_line_before_finally = true
160+
csharp_new_line_before_members_in_anonymous_types = true
161+
csharp_new_line_before_members_in_object_initializers = true
162+
csharp_new_line_before_open_brace = all
163+
csharp_new_line_between_query_expression_clauses = true
164+
165+
# Formatting - Spacing
166+
csharp_space_after_cast = false
167+
csharp_space_after_colon_in_inheritance_clause = true
168+
csharp_space_after_comma = true
169+
csharp_space_after_dot = false
170+
csharp_space_after_keywords_in_control_flow_statements = true
171+
csharp_space_after_semicolon_in_for_statement = true
172+
csharp_space_around_binary_operators = before_and_after
173+
csharp_space_around_declaration_statements = false
174+
csharp_space_before_colon_in_inheritance_clause = true
175+
csharp_space_before_comma = false
176+
csharp_space_before_dot = false
177+
csharp_space_before_open_square_brackets = false
178+
csharp_space_before_semicolon_in_for_statement = false
179+
csharp_space_between_empty_square_brackets = false
180+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
181+
csharp_space_between_method_call_name_and_opening_parenthesis = false
182+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
183+
csharp_space_between_method_declaration_name_and_opening_parenthesis = false
184+
csharp_space_between_parentheses = false
185+
csharp_space_between_square_brackets = false
186+

0 commit comments

Comments
 (0)