Sehra
Sehra
CC#
Created by Technical Developer on 3/28/2025 in #help
Code Forces Problem Way Too Long Words
you need to read the first line, parse that as int n, then loop n times, reading a line each time, do the thing and write the result
4 replies
CC#
Created by cashen95 on 3/24/2025 in #help
EFCore Discriminator Issue
think it's supported since 8 so should work
5 replies
CC#
Created by cashen95 on 3/24/2025 in #help
EFCore Discriminator Issue
which version of ef core are you using?
5 replies
CC#
Created by Tobii on 3/23/2025 in #help
✅ Local csproj
use a second console project to run, or a test project
9 replies
CC#
Created by wasabi on 3/22/2025 in #help
Appending to StringBuilder by Unicode code point?
void Append(StringBuilder sb, int cp)
{
if (cp > 0xFFFF)
{
sb.Append((char)((cp - 0x10000) / 0x400 + 0xD800));
sb.Append((char)((cp - 0x10000) % 0x400 + 0xDC00));
}
else
{
sb.Append((char)cp);
}
}
void Append(StringBuilder sb, int cp)
{
if (cp > 0xFFFF)
{
sb.Append((char)((cp - 0x10000) / 0x400 + 0xD800));
sb.Append((char)((cp - 0x10000) % 0x400 + 0xDC00));
}
else
{
sb.Append((char)cp);
}
}
12 replies
CC#
Created by TimberStalker on 3/18/2025 in #help
Blazor Wasm Static Content Error
postman is not a browser. check what headers you send that it matches the content. for example if you claim the content is gzipped but it's not
3 replies
CC#
Created by Nebula on 3/16/2025 in #help
Property setter disappears on `PublishTrimmed`
don't think there is. check if there is a code fix to do it on whole solution
13 replies
CC#
Created by Nebula on 3/16/2025 in #help
Property setter disappears on `PublishTrimmed`
where you introduce T, maybe it's up in the containing class
13 replies
CC#
Created by Nebula on 3/16/2025 in #help
Property setter disappears on `PublishTrimmed`
probably also T with what it complains about
13 replies
CC#
Created by Nebula on 3/16/2025 in #help
Property setter disappears on `PublishTrimmed`
you need to annotate the X type parameter with [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)]
13 replies
CC#
Created by CaffeineTremors on 3/14/2025 in #help
Deploying an asp.net blazor server app via docker container for local corporate intranet?
as example at work i use ECR as registry, and ECS to say i want a service running, here are the settings
10 replies
CC#
Created by CaffeineTremors on 3/14/2025 in #help
Deploying an asp.net blazor server app via docker container for local corporate intranet?
but sure, you can start it manually and restart it if needed
10 replies
CC#
Created by CaffeineTremors on 3/14/2025 in #help
Deploying an asp.net blazor server app via docker container for local corporate intranet?
orchestration can be pretty small, more of the kind you want one instance and restart if it crashes
10 replies
CC#
Created by CaffeineTremors on 3/14/2025 in #help
Deploying an asp.net blazor server app via docker container for local corporate intranet?
for orchestration, you can use for example swarm or kubernetes
10 replies
CC#
Created by CaffeineTremors on 3/14/2025 in #help
Deploying an asp.net blazor server app via docker container for local corporate intranet?
set up your own registry and use that
10 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
well that's a different thing, you showed error trying to set auth header twice
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
.DefaultRequestHeaders.Authorization = new("Bearer", "XXX");
43 replies
CC#
Created by Faker on 3/13/2025 in #help
✅ Looping through collections with key value pairs
IGrouping = Key + IEnumerable
17 replies
CC#
Created by Bashar al-Assad on 3/9/2025 in #help
✅ System.Net.Sockets.SocketException (10048): Only one usage of each socket address
the address is already in use by another process (or you trying to bind it twice)
6 replies
CC#
Created by Ellopis on 2/28/2025 in #help
Configure Swagger UI through docker?
19 replies