Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
autogenerate VB
  • Loading branch information
DevExpressExampleBot authored and DevExpressExampleBot committed Feb 16, 2022
commit 5e5c8d4b8e1e8293aa94bd31ea5491f3db3215d9
6 changes: 3 additions & 3 deletions VB/WebDashboardAspNetCore3/Controllers/HomeController.vb
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ Namespace WebDashboardAspNetCore3.Controllers
End Sub

Public Function Index() As IActionResult
Return MyBase.View()
Return View()
End Function

Public Function Privacy() As IActionResult
Return MyBase.View()
Return View()
End Function

<ResponseCache(Duration:=0, Location:=ResponseCacheLocation.None, NoStore:=True)>
Public Function [Error]() As IActionResult
Return MyBase.View(New ErrorViewModel With {.RequestId = If(Activity.Current?.Id, HttpContext.TraceIdentifier)})
Return View(New ErrorViewModel With {.RequestId = If(Activity.Current?.Id, HttpContext.TraceIdentifier)})
End Function
End Class
End Namespace
5 changes: 2 additions & 3 deletions VB/WebDashboardAspNetCore3/WebDashboardAspNetCore3.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
<PropertyGroup>
<OptionInfer>On</OptionInfer>
<TargetFramework>netcoreapp3.0</TargetFramework>

</PropertyGroup>
<ItemGroup>
<PackageReference Include="BuildBundlerMinifier" Version="3.0.415" />
<PackageReference Include="DevExpress.AspNetCore.Dashboard" Version="19.1.13" />
<PackageReference Include="DevExpress.AspNetCore.Dashboard" Version="19.1.14" />
</ItemGroup>
<ItemGroup>
<Folder Include="Data\Dashboards\" />
</ItemGroup>
</Project>
</Project>