@@ -2,7 +2,7 @@ | |||||
<PropertyGroup> | <PropertyGroup> | ||||
<TargetFramework>net5.0</TargetFramework> | <TargetFramework>net5.0</TargetFramework> | ||||
<RootNamespace>_04_simple_blazor_discord_login</RootNamespace> | |||||
<RootNamespace>_05_simple_blazor_discord_login</RootNamespace> | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
@@ -1,5 +1,5 @@ | |||||
@page "/" | @page "/" | ||||
@namespace _04_simple_blazor_discord_login.Pages | |||||
@namespace _05_simple_blazor_discord_login.Pages | |||||
<h1>Hello!</h1> | <h1>Hello!</h1> | ||||
Navigate to /#access_token=real_access and test me. | Navigate to /#access_token=real_access and test me. | ||||
@@ -8,7 +8,7 @@ using System.Collections.Generic; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
namespace _04_simple_blazor_discord_login.Pages | |||||
namespace _05_simple_blazor_discord_login.Pages | |||||
{ | { | ||||
public partial class Index : ComponentBase | public partial class Index : ComponentBase | ||||
{ | { | ||||
@@ -1,5 +1,5 @@ | |||||
@page "/" | |||||
@namespace _04_simple_blazor_discord_login.Pages | |||||
@page "/" | |||||
@namespace _05_simple_blazor_discord_login.Pages | |||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers | ||||
@{ | @{ | ||||
Layout = null; | Layout = null; | ||||
@@ -9,7 +9,7 @@ using System.IO; | |||||
using System.Linq; | using System.Linq; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
namespace _04_simple_blazor_discord_login | |||||
namespace _05_simple_blazor_discord_login | |||||
{ | { | ||||
public class Program | public class Program | ||||
{ | { | ||||
@@ -1,9 +1,9 @@ | |||||
@using System.Net.Http | |||||
@using System.Net.Http | |||||
@using Microsoft.AspNetCore.Authorization | @using Microsoft.AspNetCore.Authorization | ||||
@using Microsoft.AspNetCore.Components.Authorization | @using Microsoft.AspNetCore.Components.Authorization | ||||
@using Microsoft.AspNetCore.Components.Forms | @using Microsoft.AspNetCore.Components.Forms | ||||
@using Microsoft.AspNetCore.Components.Routing | @using Microsoft.AspNetCore.Components.Routing | ||||
@using Microsoft.AspNetCore.Components.Web | @using Microsoft.AspNetCore.Components.Web | ||||
@using Microsoft.JSInterop | @using Microsoft.JSInterop | ||||
@using _04_simple_blazor_discord_login | |||||
@using _04_simple_blazor_discord_login.Shared | |||||
@using _05_simple_blazor_discord_login | |||||
@using _05_simple_blazor_discord_login.Shared |