friedice
friedice
CC#
Created by Curlyfry210 on 6/20/2024 in #help
✅ not a specific issue on a code, I just need somewhat of a lesson
3 replies
CC#
Created by kasen0177 on 6/14/2024 in #help
Devexpress loadOptions parse filter array, how to handle in serverside
$details
15 replies
CC#
Created by Gipper on 6/5/2024 in #help
Easiest and simplest way to insert a Microsoft SQL Server DB into an app saving data in csv files?
I mean what I would do is create a project for the data access layer, create the models of your csv(s) alongside appdbcontext, create the crud repos and inject it accordingly
20 replies
CC#
Created by BlueHelmet on 6/4/2024 in #help
Blazor NavigationManager throws Unspecified navigation exeption.
I personally never ran into that issue. What's your .razor look like? Are you using WASM, server, or auto?
5 replies
CC#
Created by kacperz on 5/22/2024 in #help
I can't find ASP.NET Core with React.js
what version of .net do you have installed?
48 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
Which shouldn't really have done much in the scheme of things
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
I think I modified only app.razor and home.razor
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
its bizarre that your env isn't working with the same code though
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
I can push it to a repo and you can clone it, see if that works?
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
https://gbr1b886-7097.usw3.devtunnels.ms/ I created a tunnel of my env, only thing that doesnt work is the counter/weather component. Didn't really change much either User: test@mail.com Pass: Test123!
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
no idea what's different between our env. I managed to login fine and get context of the user
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
how does httpcontext get created in the scope of the current application? That's what im wondering
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
I played around with app.razor because it didn't seem to make sense to me, give this a shot. removed render mode from headoutlet, injected navmanager instead of httpcontext since that can be null in a prod enviroment
@inject NavigationManager NavigationManager
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<base href="/"/>
<link rel="stylesheet" href="./bootstrap/bootstrap.min.css"/>
<link rel="stylesheet" href="app.css"/>
<link rel="stylesheet" href="ExampleIssues.styles.css"/>
<link rel="icon" type="image/png" href="favicon.png"/>
<HeadOutlet />
</head>

<body>
<Routes @rendermode=RenderModeCheck/>
<script src="_framework/blazor.web.js"></script>
</body>

</html>

@code {
private IComponentRenderMode? RenderModeCheck => NavigationManager.Uri.Contains("/Account")
? null
: InteractiveServer;
}
@inject NavigationManager NavigationManager
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<base href="/"/>
<link rel="stylesheet" href="./bootstrap/bootstrap.min.css"/>
<link rel="stylesheet" href="app.css"/>
<link rel="stylesheet" href="ExampleIssues.styles.css"/>
<link rel="icon" type="image/png" href="favicon.png"/>
<HeadOutlet />
</head>

<body>
<Routes @rendermode=RenderModeCheck/>
<script src="_framework/blazor.web.js"></script>
</body>

</html>

@code {
private IComponentRenderMode? RenderModeCheck => NavigationManager.Uri.Contains("/Account")
? null
: InteractiveServer;
}
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
No description
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
i am curious how httpcontext gets created here since in the program.cs I see you only injected httpcontextaccessor and dont seem to use it
26 replies
CC#
Created by Jonathan on 5/6/2024 in #help
Error Accessing a User in Blazor
No description
26 replies
CC#
Created by TrattTratt on 5/6/2024 in #help
Where to store passwords and ApiKeys for production ASP.NET
how are you deploying it?
24 replies
CC#
Created by TrattTratt on 5/6/2024 in #help
Where to store passwords and ApiKeys for production ASP.NET
24 replies
CC#
Created by fedora¯ on 5/5/2024 in #help
client-side form validation
what's your code?
3 replies