teauxfu
teauxfu
CC#
Created by Hrolgar on 9/6/2023 in #help
❔ Troubleshooting Blazor Server Authentication with Duende IdentityServer: Need Help and Insights!
i'd suggest looking for some docs on the AuthenticationStateProvider, that may be what you need, or help point in the right direction
5 replies
CC#
Created by Hrolgar on 9/6/2023 in #help
❔ Troubleshooting Blazor Server Authentication with Duende IdentityServer: Need Help and Insights!
i don't have any good links in front of me, but if you're doing auth from blazor server there's some extra hoops to jump through. the authentication / cookie setting step happens on a separate razor/mvc style cshtml page. there are some subtle differences with the way httpcontext is handled in blazor server
5 replies
CC#
Created by teauxfu on 5/18/2023 in #help
❔ Razor pages asp-validation-for="MyProperty " vs asp-validation-summary="All"
hmm, seems to be a nesting issue. by moving getting rid of the separate InputModel property and hoisting the props within up to the PageModel, and binding them there directly, the issue seems to be resolved
5 replies
CC#
Created by teauxfu on 5/18/2023 in #help
❔ Razor pages asp-validation-for="MyProperty " vs asp-validation-summary="All"
strangely, using the @Html.ValidationMessage directive works... just not the <span asp-validation-for>. weird
5 replies
CC#
Created by teauxfu on 5/18/2023 in #help
❔ Razor pages asp-validation-for="MyProperty " vs asp-validation-summary="All"
My PageModel has the following property
public class RegisterModel : PageModel
{
// ...
[BindProperty]
public InputModel Input { get; set; }
public class RegisterModel : PageModel
{
// ...
[BindProperty]
public InputModel Input { get; set; }
and the Razor page refers to it as
@page "/account/register"
@model BlazorUI.Areas.Identity.Pages.Account.RegisterModel
@page "/account/register"
@model BlazorUI.Areas.Identity.Pages.Account.RegisterModel
5 replies
CC#
Created by teauxfu on 5/11/2023 in #help
❔ Advice on Blazor+TypeScript debugging in Visual Studio
Thanks for the thorough responses, you’ve given me some things to consider. Have peace in all your dealings
34 replies
CC#
Created by teauxfu on 5/11/2023 in #help
❔ Advice on Blazor+TypeScript debugging in Visual Studio
i get where people are coming from in calling it webforms 2.0, but i'm not sure i understand where the hate comes from. is signalR really so awful?
34 replies
CC#
Created by teauxfu on 5/11/2023 in #help
❔ Advice on Blazor+TypeScript debugging in Visual Studio
what do you consider to be a non-"trash" alternative framework?
34 replies
CC#
Created by teauxfu on 5/11/2023 in #help
❔ Advice on Blazor+TypeScript debugging in Visual Studio
okay, thanks for the response, i might spend a bit more time getting it to work with careful attention to the path mappings. your description of how it should work definitely makes sense
34 replies
CC#
Created by Natro on 5/11/2023 in #help
❔ Parsing inconsistent PDFs
Yeah that's one of the downsides of PDF -- it's really hard to scrape text from them unless they were specifically produced with the intention of supporting that. An OCR approach might be your best bet if you're expecting a high degree of variance. I know AWS and Azure both offer some document recognition services, but I imagine that gets expensive pretty fast.
3 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
13 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
!close
13 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
13 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
I was able to work around this by converting the notebook to .ipynb and executing it via papermill
13 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
Alas, this may just not be possible https://github.com/dotnet/interactive/issues/839
13 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
Unhandled exception: System.Text.Json.JsonException: '#' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: '#' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
...
Unhandled exception: System.Text.Json.JsonException: '#' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: '#' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
...
13 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
I can run dotnet-interactive jupyter notebook.dib but I get smacked with a huge ugly exception
13 replies
CC#
Created by teauxfu on 4/5/2023 in #help
❔ ✅ Is there a way to execute a .NET Interactive notebook from the command line?
Description:
Interactive programming for .NET.

Usage:
dotnet-interactive [command] [options]

Options:
--log-path <log-path> Enable file logging to the specified directory
--verbose Enable verbose logging to the console
--version Show version information
-?, -h, --help Show help and usage information

Commands:
jupyter <connection-file> Starts dotnet-interactive as a Jupyter kernel
stdio Starts dotnet-interactive with kernel functionality exposed over standard I/O
notebook-parser Starts a process to parse and serialize notebooks.
Description:
Interactive programming for .NET.

Usage:
dotnet-interactive [command] [options]

Options:
--log-path <log-path> Enable file logging to the specified directory
--verbose Enable verbose logging to the console
--version Show version information
-?, -h, --help Show help and usage information

Commands:
jupyter <connection-file> Starts dotnet-interactive as a Jupyter kernel
stdio Starts dotnet-interactive with kernel functionality exposed over standard I/O
notebook-parser Starts a process to parse and serialize notebooks.
13 replies
CC#
Created by Kiel on 3/2/2023 in #help
✅ Making a library as accessible for different .NET versions as possible
what does framework do that core doesn't?
11 replies
CC#
Created by teauxfu on 3/3/2023 in #help
❔ ✅ How does .NET MAUI Blazor relate to Blazor Server or WebAssembly?
thanks for the response
8 replies