Search:
Type: Posts; User: BlackRiver1987
Search:
Search took 0.04 seconds.
-
Of course, if hiding the source code is important then NOT distributing anything is the best way to go.
Instead of giving them DLLs to use, you just give them API endpoints through which they...
-
Well, every DLL can be decompiled. With NuGet packages you just make the distribution a bit easier, IMHO.
-
If your system does something and you want other people/systems to get the results of your processing, then exposing an API with endpoints would be the simple solution.
This way you have a lot of...
-
Have you tried asking our online AI friend? I copied your question, pushed it a bit and here's the suggestion I got back:
Imports System.Runtime.CompilerServices
Public Class YourClass
...
-
Might be helpful:
https://thorarin.net/blog/post/2013/02/21/Preserving-Stack-Trace
As a side note: Why is your domain layer concerned with infrastructure stuff? If you are following Clean...
-
Log the response from the DB before you assign it to the DGV.
Also, how about you show us some code? How do you construct the query? How do you send it to the DB?
-
Here is an example of a console application which downloads a 100MB PDF file and saves it to a location on your PC. It also reports the download progress
Sub Main(args As String())
...
-
Make sure you check the response status code before you read the content. This will tell you if your request was ok or not.
Also, what does did not work mean in this context? Was there an error?...
-
In the first example, you are not actually getting the response content. After client.SendAsync(), you need to read the string content of the response. Something like the following might work: var...
-
You should look into Task.WhenAll
-
I think you are answering to AI
-
Why store these thing in the registry?
Create a really simple DB that holds the information about your application versions and trial periods. Have a really simple API endpoint exposed that can...
-
As for the cookies issue, I found the following on StackOverflow, it might help: https://stackoverflow.com/questions/65227400/do-pooled-httpclient-instances-keep-the-cookiecontainer
Also, in that...
-
Try it out, see what happens :)
-
My next suggestion would be to NOT wrap your HttpClient with the using block.
Also, dont use it like you do there. Use the HttpClientFactory to create a new instance of the client and then make your...
-
Never use .Result on an async method/function, await it.
Change the signature of your Button2_Click to be async, remove the .Result from your calls to 2 async functions you have. Await them.
-
When you do this, you need to make sure your accessorials object actually exists. So before you instantiate codes list, you need to do the same with accessorials object
-
Your Accessorials is an object that has a list of string called Codes.
You should be able to do something like:
Load.accessorials.codes = new List(of String)
Then you can do...
-
You could make your process really async by introducing a message queue, like for example RabbitMq.
This approach though would work very well if you had microservices arhitecture and eventual...
-
I completely agree with your points. I must say though, I also have a work colleague who is 10+ years older than me and has been through much more when it comes to projects. In his role as software...
-
Unit tests and TDD have been around for ages. They have thier place. I was also sceptical about their usage, until I started working on a project where we had 4 other devs with various skill levels....
-
Regardless, the issue could have been resolved in 10 minutes without going to forums. Not saying it was wrong, just a waste of time.
-
Gwboolean, you have to understand that when you are a software developer who gets paid to develop software, then these kind of errors are debugged and fixed within minutes.
Actually, if you unit...
-
This is why its good to have unit tests with some mocking.
-
Not sure what DB you are using under the hood, but that SQL with JOIN without the ON clause might not return the data you expect.
Read about JOINs to get a better understanding and make sure all...
-
Also, when working with HttpClient, you should look into IHttpClientFactory as the recommended way of dealing with HttpClient.
-
If you are using Windows, you could check the EventViewer, if you havent done so already.
It might contain some additional information about the exception.
-
Dude, its a school assignment, not a commercial app.
-
Really, the guy had a simple question and someone comes in and says don't use it. How is that helpful? My reply isn't helpful as well, but dear God some members here like to complicate things.
-
-
I searched for "Newtonsoft json parse" and got back many results.
In your case, MyData1 is a string. MyData is JObject and there you should be able to use MyData("Code").
-
That should be JObject.Parse.
Took me 5 seconds to google it
-
If you want to talk about best practices, then IMHO none of those mentioned would really be the best solution.
Without going too much into any infrastructure or architecture decisions, your best...
-
Maybe look into Service Discovery?
-
Maybe have a look at this:
https://stackoverflow.com/questions/1409358/ado-net-datadirectory-where-is-this-documented
-
Look into Int.TryParse
https://docs.microsoft.com/en-us/dotnet/api/system.int32.tryparse?view=net-5.0
-
Worked fine for me running the EXE from the bin folder
-
Maybe have a look at BlockingCollection class?
-
Turn off your anti virus software, if you have any running on your machine
-
Fields or columns. Does not matter. The fact is, you can solve this in 3 ways:
Make sure your select query only select the columns you need (basically don't do SELECT * ),
Remove unnecessary...
|
Click Here to Expand Forum to Full Width
|