« first day (4272 days earlier)      last day (661 days later) » 

5:27 AM
[Squirrel in Training] GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
 
 
3 hours later…
8:36 AM
[Captain Obvious] morning
 
Good morning
Does gitlab automatically send a merge request back to its creator when I submit a review now? I could swear that just happened, and is a pretty nice feature, but I was surprised because I might as well just have forgotten I reassigned it seconds after.
 
 
1 hour later…
9:54 AM
[Hector] morning
 
 
2 hours later…
11:55 AM
0
Q: Local Datastore using LiteDB

Behnam Faghih I have these classes and I want to implement local datastore with LitDB with Begin and End Transaction and each Transaction must be separate, so public interface IDataStoreManager { IDataStoreInstance Create(string name); IDataStoreInstance Open(Guid tran...

 
12:10 PM
 
Hello. I have a [Serializable] class which has a bunch of properties as such:
[DataMemberAttribute()]
public string Property {get;}
When I try to Serialize it, it only appears the class, not the properties.
what am I missing?
sorry, I mean [DataMember]
 
1:11 PM
Are you sure it's not serialized? I'd expect it to be serialized but not deserialized.
As there's no setter
 
I only need Serialize
 
And it just serializes an empty object like {}?
Assuming you serialize to json
 
I am serializing with XmlSerializer
this is how it appears
<Client xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
should I specify sthg like XmlType or Namespace?
 
You shouldn't need to, I'm surprised it actually added those two namespaces already, not sure why you'd need them^^
If you serialize with JsonSerializer, is it also an empty object?
So you can find out if it's something special about the xml serializer
 
2:08 PM
Rosie on June 27, 2022
From Chemistry to Raspberry Pi: Sites covering Q&A on tech, leisure, language, and more celebrate their first decade.
 
 
4 hours later…
6:35 PM
posted on June 27, 2022 by Denizhan Yigitbas

Throughout Visual Studio 2022 Previews, we’ve been releasing a series of changes to the way you go about searching code in the IDE using the new All-In-One Search: VS 2022 17.1 Preview 1: Indexed Find in Files VS 2022 17.2 Preview 3: The New All-In-One Search VS 2022 17.3 Preview 1: All-In-One Search UI Cleanup Now, The post Sneak Peek and Edit Your Code While You Search appeared fir

 
7:09 PM
Hi there,

At work, we're designing a Rest API, and we're implementing authentication / authorization using Auth0, and that's all good.
Now, as the application grows, there are integration tests for each endpoint, and each endpoint requires authorization. So each endpoint communicates with Auth0, and now we're presented (from times to times) with a Rate limit (set by Auth0), because we're sending too many requests.

Anyone who's familiar with that? What kind of solution do you implement in order to solve these kind of issues?
 
 
3 hours later…
10:38 PM
what kind of authorization do you use?
OAuth2?
because in that case, you can just get a single token from Auth0 and reuse it, I guess
other than that, find a way to do some sort of internal access for tests
in our runtime system, we have the option to connect via http (which has auth) but also direct (without auth) so we can test without running into the authorization stuff
 
 
1 hour later…
11:46 PM
@Complexity concentrate on the actual Rest API. Implement a stress/load test. Reuse the token after the login for a lot of calls instead of relogin for each test. Don't disable the auth, cos this would test how you enable DDos attacks on your system.
we have preprod, which is testing how would our system horizontal scale, and we have your problems there. But that helps configure the scaling params
 

« first day (4272 days earlier)      last day (661 days later) »