Anchy
Anchy
CC#
Created by analino ✝ on 2/9/2025 in #help
HTML/CSS and ASP.NET
You can build Razor Pages with minimal razor syntax yes
5 replies
CC#
Created by analino ✝ on 2/9/2025 in #help
HTML/CSS and ASP.NET
Do you have any more information for this task? There is a couple of options to choose from here if you want to build a "home page" using ASP.NET. - ASP.NET Razor Pages - ASP.NET Blazor If you are looking for reactivity (where parts of the page update dynamically without reloading) or want to build a Single-Page Application (SPA), Blazor might be a better choice. Blazor lets you write interactive web applications using C# instead of JavaScript through Razor Components. But if you are new to ASP.NET and just need a simple homepage, Razor Pages could be a better starting point. You can write your homepage in mostly HTML and CSS and integrate the Razor syntax into your pages. Do some reading into these two technologies and come to your own conclusion.
5 replies
CC#
Created by ChunChunMaru on 2/5/2025 in #help
Smard card OpenId
it sounds like you are signing out of your webapp but not signing out of the provider as well
18 replies
CC#
Created by ChunChunMaru on 2/5/2025 in #help
Smard card OpenId
are you signing out of your openid provider when you log out?
18 replies
CC#
Created by YourMajesty on 2/3/2025 in #help
✅ Can't see code changes when app is running (vs code)
is hot reload even supported in VSCode? you may need to download Visual Studio instead
12 replies
CC#
Created by Faker on 1/28/2025 in #help
ref keyword in C#
my guess is for clarity, so you know that you are passing by reference
50 replies
CC#
Created by Sargonnas on 1/27/2025 in #help
✅ Wpf app won’t load when published
Are you getting any obvious errors? If not have you checked Event Viewer for any Application errors that may contain a potential crash?
9 replies
CC#
Created by Faker on 1/25/2025 in #help
Is it appropriate to compare programming languages while learning a new one?
Also I would heavily recommend reading the Microsoft docs for anything C# / .NET related because they are fantastic.
8 replies
CC#
Created by Faker on 1/25/2025 in #help
Is it appropriate to compare programming languages while learning a new one?
It's fine, but it's important you do not assume what works in Java works the same in C#. For example, you can create getter and setter methods in Java to get and set private fields from your object, but in C# we have properties for getting and setting fields from a public space. Java also has very strict rules on exception handling known as checked exceptions which are evaluated at compile time. C# does not do this and expects you handle your exceptions properly at runtime. These are a couple differences you might make assumptions on and get incorrect.
8 replies
CC#
Created by Bloomie on 11/11/2024 in #help
HTTPClient 'Host' header is not sent when 'DefaultRequestVersion' is set to 'Version(2, 0)'
you might need to read rule 6 in #info-and-rules
21 replies
CC#
Created by hutoanhill on 9/6/2024 in #help
✅ using Logging with ASP.NET
these hands are under NDA
137 replies
CC#
Created by starprogramming on 8/23/2024 in #help
✅ How can I integrate PayPal donation with asp.net?
PayPal should have documentation on how to setup a payment gateway either by redirecting the user to a payment gateway hosted by PayPal or a drop-in form.
7 replies
CC#
Created by pdr on 6/26/2024 in #help
Problem with JWT, always returns Unauthorized
it looks like you are using the Bearer scheme, inspect the request and see if the Authorization header is set using the Bearer scheme
2 replies
CC#
Created by CDL on 5/26/2024 in #help
best place to get started learning C# for web dev?
build something with ASP.NET Core and you will learn a lot that way
9 replies
CC#
Created by Luna on 5/24/2024 in #help
✅ Detect the user name who started the process
what does that give you
15 replies
CC#
Created by Luna on 5/24/2024 in #help
✅ Detect the user name who started the process
Process.MachineName?
15 replies
CC#
Created by Salty on 5/7/2024 in #help
WriteLine happening after Readline, why?
I am also unsure if you are meaning to use the bitwise & operator in your if statement or the logical && operator
23 replies
CC#
Created by Salty on 5/7/2024 in #help
WriteLine happening after Readline, why?
like what does file[i] even return, maybe follow the DRY principle instead of using file[i].Trim() multiple times
23 replies
CC#
Created by Salty on 5/7/2024 in #help
WriteLine happening after Readline, why?
try splitting your lines up into individuals variables so you can properly track the state of everything when you set a breakpoint
23 replies
CC#
Created by AppleCyder (NovaSprite) on 5/7/2024 in #help
I am about done with the assignment but it won't run, why?
If you are reading one of the MS Docs and you don't understand what it is saying, maybe research some of the key words specified in that doc
66 replies