update to net50

This commit is contained in:
Laura Hausmann 2020-12-21 16:23:56 +01:00
parent c8ad99cd79
commit 193cc39ce2
Signed by untrusted user: zotan
GPG Key ID: 5EC1D38FFC321311
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
@using System.Web
@model IndexModel
@{
ViewData["Title"] = "webmusic";
ViewData["Title"] = $"webmusic on .NET {Environment.Version}";
var path = HttpUtility.UrlDecode(Request.QueryString.Value.TrimStart('?'));
if (path.EndsWith(".m3u"))
{

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Music</title>
<title>@ViewData["Title"]</title>
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet">
<script src="/howler.core.js"></script>

View File

@ -10,7 +10,7 @@
"profiles": {
"webmusic": {
"commandName": "Project",
"launchBrowser": true,
"launchBrowser": false,
"applicationUrl": "http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net50</TargetFramework>
<DebugType>full</DebugType>
</PropertyGroup>