sea cryptid
sea cryptid
CC#
Created by sea cryptid on 2/1/2023 in #help
❔ Name "PostsService" does not exist in the current context
Thank you!
5 replies
CC#
Created by sea cryptid on 2/1/2023 in #help
❔ Name "PostsService" does not exist in the current context
PostsService has
namespace BlazorBookGroup.Data
{
public class PostsService
namespace BlazorBookGroup.Data
{
public class PostsService
5 replies
CC#
Created by sea cryptid on 2/1/2023 in #help
❔ namespace 'Models' does not exist in the namespace 'BlazorBookGroup'
But I shouldn't have a Models folder in a Blazor project right? It should just all go in the Data folder?
11 replies
CC#
Created by sea cryptid on 2/1/2023 in #help
❔ namespace 'Models' does not exist in the namespace 'BlazorBookGroup'
But not sure why it wouldn't work in the Models folder.
11 replies
CC#
Created by sea cryptid on 2/1/2023 in #help
❔ namespace 'Models' does not exist in the namespace 'BlazorBookGroup'
Looks like it's working now that I put it in the Data folder.
11 replies
CC#
Created by sea cryptid on 2/1/2023 in #help
❔ namespace 'Models' does not exist in the namespace 'BlazorBookGroup'
OK but the namescpae was BlazorBookGroup.Models
11 replies
CC#
Created by sea cryptid on 2/1/2023 in #help
❔ namespace 'Models' does not exist in the namespace 'BlazorBookGroup'
11 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
Alright; well if anyone sees this, would definitely appreciate any help troubleshooting this.
17 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
Are you able to view it now? @Gian
17 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
Try now?
17 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
hold on
17 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
lol
17 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
17 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
17 replies
CC#
Created by sea cryptid on 1/29/2023 in #help
❔ Bootstrap modal in razor page closing for one page but not another
I really can't find any difference. Let me link the code though. It's in a public repo.
17 replies
CC#
Created by sea cryptid on 1/20/2023 in #help
❔ The name "onclick" does not exist in the current context
Should I be only putting razor pages in the Pages directory and then from there call razor components?
23 replies
CC#
Created by sea cryptid on 1/20/2023 in #help
❔ The name "onclick" does not exist in the current context
Wait . . .
23 replies
CC#
Created by sea cryptid on 1/20/2023 in #help
❔ The name "onclick" does not exist in the current context
Although it is possible that for saving time they did not do things the "optimal" way.
23 replies
CC#
Created by sea cryptid on 1/20/2023 in #help
❔ The name "onclick" does not exist in the current context
Oh. The tutorial I followed earlier had cshtml pages in a "Pages" directory than then call blazor components with
@(await Html.RenderComponentAsync<Login>(RenderMode.ServerPrerendered))
@(await Html.RenderComponentAsync<Login>(RenderMode.ServerPrerendered))
I would be surprised if this is bad practice because it was a tutorial from Microsoft but should I just be routing directly to Componenets?
23 replies
CC#
Created by sea cryptid on 1/20/2023 in #help
❔ The name "onclick" does not exist in the current context
So that I can just do a foreach on something like
["email","password"]
["email","password"]
or whatever.
23 replies