Skip to content

Commit e7d1a1d

Browse files
Merge pull request #59 from BlazorData-Net/copilot/revertpr-58
Revert "Add MVC support to Blazor 9 application" (PR #58)
2 parents 2feef52 + 0c0d505 commit e7d1a1d

File tree

9 files changed

+0
-358
lines changed

9 files changed

+0
-358
lines changed

IMPLEMENTATION_SUMMARY.md

Lines changed: 0 additions & 151 deletions
This file was deleted.

MVC_INTEGRATION.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

RFPResponsePOC/RFPResponsePOC/Controllers/HomeController.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

RFPResponsePOC/RFPResponsePOC/Program.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ public static void Main(string[] args)
1818
builder.Services.AddRazorComponents()
1919
.AddInteractiveWebAssemblyComponents();
2020

21-
// Add MVC support
22-
builder.Services.AddControllersWithViews();
23-
builder.Services.AddRazorPages();
24-
2521
builder.Services.AddRadzenComponents();
2622

2723
// Local Storage
@@ -60,15 +56,6 @@ public static void Main(string[] args)
6056
app.UseAntiforgery();
6157

6258
app.MapStaticAssets();
63-
64-
// Map MVC controller routes
65-
app.MapControllerRoute(
66-
name: "default",
67-
pattern: "{controller=Home}/{action=Index}/{id?}");
68-
69-
// Map Razor Pages
70-
app.MapRazorPages();
71-
7259
app.MapRazorComponents<App>()
7360
.AddInteractiveWebAssemblyRenderMode()
7461
.AddAdditionalAssemblies(typeof(Client._Imports).Assembly);

RFPResponsePOC/RFPResponsePOC/Views/Home/About.cshtml

Lines changed: 0 additions & 30 deletions
This file was deleted.

RFPResponsePOC/RFPResponsePOC/Views/Home/Index.cshtml

Lines changed: 0 additions & 26 deletions
This file was deleted.

RFPResponsePOC/RFPResponsePOC/Views/Shared/_Layout.cshtml

Lines changed: 0 additions & 50 deletions
This file was deleted.

RFPResponsePOC/RFPResponsePOC/Views/_ViewImports.cshtml

Lines changed: 0 additions & 3 deletions
This file was deleted.

RFPResponsePOC/RFPResponsePOC/Views/_ViewStart.cshtml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)