Compare commits

..

No commits in common. '40a39ab463c9d058954ed56a3eeff9b5481477bc' and '1b82aeb1624b3f4e010f7f711a0e6ee1d6c9e7af' have entirely different histories.

  1. 4
      BlazorApp/AspNetCoreMVC/Controllers/HomeController.cs
  2. 3
      BlazorApp/AspNetCoreMVC/Program.cs
  3. 1
      BlazorApp/AspNetCoreMVC/Views/Home/Privacy.cshtml
  4. 10
      BlazorApp/AspNetCoreMVC/wwwroot/Hello.html
  5. BIN
      BlazorApp/AspNetCoreMVC/wwwroot/testImage.jpg

@ -20,10 +20,6 @@ namespace AspNetCoreMVC.Controllers
public IActionResult Privacy()
{
//int a = 1;
//int b = 3 / (a - 1);
ViewData["Message"] = "Data from privacy";
return View();
}

@ -11,9 +11,6 @@ namespace AspNetCoreMVC
var app = builder.Build();
//app.UseStaticFiles();
//app.UseWelcomePage();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{

@ -4,4 +4,3 @@
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>
<p>This is from view data: @ViewData["Message"]</p>

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Loading…
Cancel
Save