Profile cover photo
Profile photo
Clive Smith
Husband, father, avid technology junkie, and all-round good egg.
Husband, father, avid technology junkie, and all-round good egg.
About
Posts

Post has attachment
A free online eBook about programming blockchain in C# A great, if lengthy read. Enjoy!
README · Programming The Blockchain in C#
README · Programming The Blockchain in C#
programmingblockchain.gitbooks.io

Post has attachment
This is a very interesting article I came across, although it is two and half years old I believe it is still relevant today. I think UX is starting to shift with the growth or AI and devices such as Google Home and Alexa. I do not see us reaching a completely NO UI experience but I see the traditional UI playing a diminishing role in the future. I am viewing this through the lens of a software architecture / developers viewpoint - I am not a UX expert. I Would be interested in hearing people views on this?

Post has attachment
I found a little gem hidden away in the internals of the SqlCommand object that makes life so much easier when using SQL Query Notifications along with Entity Framework.

The problem we face is that internally Entity Framework ultimately executes a SqlCommand against a database, but the command is not exposed to the outside world, however it is needed to construct a fully functional SqlDepenency. On the face of it, an insoluble problem.

Here is where "MS.SqlDependencyCookie" comes to the rescue! A kludge of epic proportions, but it does the job nicely.

Now you can use SQL Notifications with Entity Framework in an easy(ish) way.

Read the attached for details if you are big on using Entity Framework.

It is NOT a silver bullet as SQL Notifications come with a whole bunch of constraints on how they can be used. Entity Framework constructs some pretty complex SQL under the hood which is often incompatible with SQL Notifications.

This mechanism works fine for simple activities such as invalidating lookup data.

Post has attachment
Are you using tasks in your code? Are you using them right? This is a link to a great article about doing task cancellation properly (i.e. cancellation tokens). A nice lunchtime read.

Post has attachment
A varied selection of C# snippets with ome useful test data generators.

Post has attachment
An interesting lunch time read.

Post has attachment
A common sense set of REST API guidelines used by ADIDAS and made public to benefit the wider community. Another excellent lunch time read.

Post has attachment
A fantastic article by ThoughtWorks about REST resource modelling. A nice lunch time read.

Post has attachment
A nice set of guidelines that are a good read. Enjoy!

Post has attachment
An excellent slide-share deck covering SQL antipatterns. 200+ slides so takes a bit of time to read but WELL WORTH IT. Enjoy!
Wait while more posts are being loaded