The AWS S3 SDK makes file uploads look easy—until you try streaming a non-seekable stream. Learn why PutObjectRequest fails and how multipart uploads solve the problem.

The AWS S3 SDK makes file uploads look easy—until you try streaming a non-seekable stream. Learn why PutObjectRequest fails and how multipart uploads solve the problem.
Bitwise operations are important when dealing with permissions. In this case the permissions are designed as flags and the operations described will include the scenario where one variable can have one or multiple permissions, all described in the enum. The following enum defines a set of permissions for a particular operation. [Flags] public enum FlagsRead more
Description I am not well trained into solving algorithms but from time to time this topic raises my interest and I find my self drawn into wanting to understand the underlying logic. I recently found a problem that I found to interresting to solve, it’s a Microsoft engineer interviewing question and I followed along theRead more
Perhaps not used too much but it’s very usefull to know. I had to implement data validation on several occasions outside of asp dotnet context.Read more
A less known yet usefull component in dotnet is the TypeConverter component. This component provides means to convert between data types. If you are wondering which data types are by default supported, just take a look under the hoodRead more
As developers we have a tendency to lean over the functional requirements of our problem in hand but we most of the times ignore the non-functional aspect of our solution, that of code optimization. Too often I’ve noticed a tendency to pin-point the “architecture” or the “programming language” or even the computing power when itRead more
HTTP means Hyper Text Transfer Protocol. It’s the underlying protocol used by the World Wide Web and it defines the formatting of transmitted messages between client and server. This protocol was designed for distributed, collaborative and hypermedia information systems. In 2015 the Internet Engineering Task Force (IETF) released HTTP/2, the second major version of thisRead more
What is dependency injection and why is it important? According to wikipedia is a technique whereby one object supplies the dependencies of another object. This concept may be confusing for some and for others that are in their beginnings in programming it may seem a bit overwhelming or perhaps not necessary. To understand why DI was conceivedRead more
Adding a Day suffix in a DateTime variable is not a complex task, but it should be done properly. In programming while most of the times we deal with logic that is not exposed to the UI there are times when we have to define and format an output for the client UI. In thisRead more
A lazy object is an object that is not initialized when the application runs, but when it’s first needed. This improves the overall performance of the application and ensures that the memory is not misused. One basic approach is to use the classical construct: private static Settings settings; public static Settings Settings { get {Read more