Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 30 additions & 27 deletions Configuration/src/Steeltoe.Samples.Configuration.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ReplaceSliceWithRangeIndexer/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ReplaceSubstringWithRangeIndexer/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ReplaceWithPrimaryConstructorParameter/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SeparateLocalFunctionsWithJumpStatement/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SimplifyStringInterpolation/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SpecifyStringComparison/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=StringEndsWithIsCultureSpecific/@EntryIndexedValue">WARNING</s:String>
Expand Down Expand Up @@ -165,6 +166,7 @@
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_PRIMARY_CONSTRUCTOR_PARAMETERS_STYLE/@EntryValue">WRAP_IF_LONG</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CssFormatter/LINE_FEED_AT_FILE_END/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/HtmlFormatter/LINE_FEED_AT_FILE_END/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/HtmlFormatter/TagsAreNotIndentedInside/@EntryValue"></s:String>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/INDENT_SIZE/@EntryValue">2</s:Int64>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/LINE_FEED_AT_FILE_END/@EntryValue">True</s:Boolean>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/TAB_WIDTH/@EntryValue">2</s:Int64>
Expand Down Expand Up @@ -194,8 +196,7 @@
<s:String x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/TagAttributesFormat/@EntryValue">OnSingleLine</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/USE_INDENT_FROM_VS/@EntryValue">False</s:Boolean>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/WRAP_LIMIT/@EntryValue">160</s:Int64>
<s:String x:Key="/Default/CodeStyle/CSharpFileLayoutPatterns/Pattern/@EntryValue">&lt;?xml version="1.0" encoding="utf-16"?&gt;&#xD;
&lt;Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"&gt;&#xD;
<s:String x:Key="/Default/CodeStyle/CSharpFileLayoutPatterns/Pattern/@EntryValue">&lt;Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"&gt;&#xD;
&lt;TypePattern DisplayName="Non-reorderable types" RemoveRegions="All"&gt;&#xD;
&lt;TypePattern.Match&gt;&#xD;
&lt;Or&gt;&#xD;
Expand All @@ -219,7 +220,7 @@
&lt;HasMember&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="Method" /&gt;&#xD;
&lt;HasAttribute Name="Xunit.FactAttribute" Inherited="True" /&gt;&#xD;
&lt;HasAttribute Inherited="True" Name="Xunit.FactAttribute" /&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/HasMember&gt;&#xD;
&lt;/And&gt;&#xD;
Expand All @@ -231,7 +232,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Group DisplayName="Fields"&gt;&#xD;
Expand All @@ -244,7 +245,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Static"&gt;&#xD;
Expand All @@ -258,7 +259,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance Readonly"&gt;&#xD;
Expand All @@ -272,7 +273,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance"&gt;&#xD;
Expand All @@ -288,7 +289,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Group&gt;&#xD;
Expand All @@ -301,7 +302,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance"&gt;&#xD;
Expand All @@ -314,7 +315,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Group&gt;&#xD;
Expand All @@ -325,7 +326,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Group DisplayName="Events"&gt;&#xD;
Expand All @@ -337,7 +338,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance"&gt;&#xD;
Expand All @@ -350,7 +351,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Group&gt;&#xD;
Expand All @@ -365,7 +366,7 @@
&lt;/Or&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Kind Order="Constructor" /&gt;&#xD;
&lt;Kind Is="0" Order="Constructor" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Test methods" Priority="100"&gt;&#xD;
Expand All @@ -375,6 +376,8 @@
&lt;Or&gt;&#xD;
&lt;HasAttribute Name="Xunit.FactAttribute" /&gt;&#xD;
&lt;HasAttribute Name="Xunit.TheoryAttribute" /&gt;&#xD;
&lt;HasAttribute Name="FactSkippedOnPlatform" /&gt;&#xD;
&lt;HasAttribute Name="TheorySkippedOnPlatform" /&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
Expand All @@ -396,7 +399,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Nested types"&gt;&#xD;
Expand All @@ -413,7 +416,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Group DisplayName="Fields"&gt;&#xD;
Expand All @@ -426,7 +429,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Static"&gt;&#xD;
Expand All @@ -440,7 +443,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance Readonly"&gt;&#xD;
Expand All @@ -454,7 +457,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance"&gt;&#xD;
Expand All @@ -470,7 +473,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Group&gt;&#xD;
Expand All @@ -483,7 +486,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance"&gt;&#xD;
Expand All @@ -496,7 +499,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Group&gt;&#xD;
Expand All @@ -507,7 +510,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Group DisplayName="Events"&gt;&#xD;
Expand All @@ -519,7 +522,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Instance"&gt;&#xD;
Expand All @@ -532,7 +535,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Group&gt;&#xD;
Expand All @@ -555,7 +558,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access /&gt;&#xD;
&lt;Access Is="0" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Group&gt;&#xD;
Expand All @@ -576,7 +579,7 @@
&lt;/And&gt;&#xD;
&lt;/Entry.Match&gt;&#xD;
&lt;Entry.SortBy&gt;&#xD;
&lt;Access Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;Access Is="0" Order="Private Internal Protected ProtectedInternal Public" /&gt;&#xD;
&lt;/Entry.SortBy&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;Entry DisplayName="Nested types"&gt;&#xD;
Expand Down
50 changes: 25 additions & 25 deletions Connectors/src/CosmosDb/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,40 @@
<div class="table-responsive">
<table class="table table-bordered table-primary mb-0">
<tbody>
<tr>
<th>Connection String</th>
<td>@Model.ConnectionString</td>
</tr>
<tr>
<th>Options</th>
<td>
<pre>@Html.Raw(Model.OptionsJson)</pre>
</td>
</tr>
<tr>
<th>Database</th>
<td>@Model.Database</td>
</tr>
<tr>
<th>Connection String</th>
<td>@Model.ConnectionString</td>
</tr>
<tr>
<th>Options</th>
<td>
<pre>@Html.Raw(Model.OptionsJson)</pre>
</td>
</tr>
<tr>
<th>Database</th>
<td>@Model.Database</td>
</tr>
</tbody>
</table>
</div>

<h4 class="mt-3">Objects stored in CosmosDB container</h4>
<table class="table table-bordered table-primary">
<thead>
<tr>
<th scope="col">Id</th>
<th scope="col">Text</th>
</tr>
</thead>
<tbody>
@foreach (SampleObject sampleObject in Model.SampleObjects)
{
<tr>
<td>@sampleObject.Id</td>
<td>@sampleObject.Text</td>
<th scope="col">Id</th>
<th scope="col">Text</th>
</tr>
}
</thead>
<tbody>
@foreach (SampleObject sampleObject in Model.SampleObjects)
{
<tr>
<td>@sampleObject.Id</td>
<td>@sampleObject.Text</td>
</tr>
}
</tbody>
</table>
</div>
38 changes: 19 additions & 19 deletions Connectors/src/MongoDb/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@
<h4>MongoDB server info</h4>
<table class="table table-bordered table-primary">
<thead>
<tr>
<th scope="col">Connection String</th>
<th scope="col">Database</th>
</tr>
<tr>
<th scope="col">Connection String</th>
<th scope="col">Database</th>
</tr>
</thead>
<tbody>
<tr>
<td>@Model.ConnectionString</td>
<td>@Model.Database</td>
</tr>
<tr>
<td>@Model.ConnectionString</td>
<td>@Model.Database</td>
</tr>
</tbody>
</table>

<h4>Objects stored in MongoDB collection</h4>
<table class="table table-bordered table-primary">
<thead>
<tr>
<th scope="col">Id</th>
<th scope="col">Text</th>
</tr>
</thead>
<tbody>
@foreach (SampleObject sampleObject in Model.SampleObjects)
{
<tr>
<td>@sampleObject.Id</td>
<td>@sampleObject.Text</td>
<th scope="col">Id</th>
<th scope="col">Text</th>
</tr>
}
</thead>
<tbody>
@foreach (SampleObject sampleObject in Model.SampleObjects)
{
<tr>
<td>@sampleObject.Id</td>
<td>@sampleObject.Text</td>
</tr>
}
</tbody>
</table>
</div>
Loading