Best practices for handling exceptions in C#

Exception handling is the technique of handling runtime errors in your application code. Basically, you have two categories of exceptions: Exceptions that are generated by the application and exceptions that are generated by the runtime. Exceptions should be handled with care. You should have a good idea of how exceptions should be handled and when…

Read More

Microsoft cuts BinaryFormatter from .NET 9

Citing a security concern, Microsoft announced it is removing the BinaryFormatter from the planned .NET 9 open source application platform. Microsoft outlined the risk of using BinaryFormatter in an August 28 blog post, stating: “Any deserializer, binary or text, that allows its input to carry information about the objects to be created is a security…

Read More

Microsoft announces Pinecone .NET SDK

Microsoft has announced the Pinecone .NET SDK, for building AI applications that leverage the Pinecone vector database. With the SDK, Pinecone is becoming the newest member of the AI ecosystem in .NET, Microsoft said. Building AI applications requires efficient vector data processing, Microsoft said in an August 27 blog post. A vector database stores and…

Read More

AWS’ Amazon Bedrock GenAI service gets cross-region inferencing feature

AWS has added a new feature, dubbed cross-region inferencing, to its Amazon Bedrock generative AI service in order to help developers automate inference routing requests coming to the service during traffic spikes in AI workloads. Cross-region inferencing, which has been made generally available and comes as a no-cost option for developers using on-demand mode inside…

Read More

Better than reflection: Using method handles and variable handles in Java

One of the things that distinguishes a veteran Java developer is familiarity with reflection and its modern alternatives. Reflection gives you superpowers, but it is cumbersome, error-prone, and a performance bottleneck. Modern Java is working to replace reflection with standardized options, including MethodHandle and VarHandle. Like reflection, these classes give you the ability to access…

Read More

Microsoft donates Mono cross-platform .NET to WineHQ

Microsoft has donated its Mono Project, which has provided a .NET implementation on Android, iOS, Linux, and other operating systems, to the WineHQ organization, according to bulletin publicized August 27. WineHQ provides a compatibility layer for running Windows applications on Posix-compliant platforms such as Linux, macOS, and BSD. The organization will take over as stewards…

Read More

Quantum computing attacks on cloud-based systems

Quantum-resistant cryptography has become an increasingly urgent topic as the threat posed by quantum computing continues to grow. The U.S. National Institute of Standards and Technology (NIST) recently released the first set of finalized algorithms designed to withstand quantum computer attacks. As a result, companies are hastening their transition to quantum-resistant systems. What is a…

Read More