Jake
Jake
CC#
Created by Jake on 5/6/2024 in #help
How to upload C# Microservices architecture web app to gcloud?
I have 7 ASP.NET Core web apis, a gateway api of the same type and a blazor web app. I'm finding it hard to find any documentation for a situation like mine and I don't know how to properly configure my app.yaml to make it work. It either tells me one of my local shared console libraries is nto accessible if I do an app.yaml for each microservice (Obviosuly as they are in other files and I don't know how to allow them to access it) Or if I do one app.yaml for the whole solution it says there are too many .csproj files in the root repository which is nto true as they are in their own directories aand its still getting confused)
2 replies
CC#
Created by Jake on 5/2/2023 in #help
Can't read from MemoryStream from current position
I am trying to decrypt a file in c# and I have the cipher in a memory stream alongside the key and iv. I want to only get the cipher which starts at 256, and after reading the Key and IV the position is 256. I have tried using memoryStream.toArray() but that ignores the position completely.
64 replies
CC#
Created by Jake on 5/2/2023 in #help
Read from memory stream at position
I am trying to read from a memory stream at the position its currently in. I have tried to use memoryStream.Read() but since I will not know how big the file is I can't use byte[] cipher = new byte[128] for example. It needs to be as big as what is left in the memory stream. I was trying to use memoryStream.ToArray() but that ignores the position the memory stream is at.
2 replies
CC#
Created by Jake on 12/4/2022 in #help
❔ ASP.NET CORE Can't deselect context class
18 replies