Introduction From the first time I saw ambient light on tv, I always wanted to do something like this. Luckily, components required to do your own ambient light are not expensive, and it requires a bit of IT thinking and problem solving. In this tutorial, I will try to describe you the whole process of … Read moreAmbient Light with AmbiBox + Arduino + Bluetooth HC-05 + WS2812b
If you are running your C# code in different thread (e.g.: async EventReceivers or TimerJob), sometimes you may notice, that your SPWeb object is initialized in different language. You can use SPUtility.SetThreadCulture method to set CurrentThread.CurrentUICulture and CurrentThread.CurrentCulture.
In C# language you can pass parameters to function with Ref or Out keywords. Here is some simple example: Ref parameter needs to be initialized before passing to function call two-way – “in” and “out” – function can access initialized value of ref parameter, and can assign value to that parameter Out does not … Read moreC# Ref vs Out parameter
GetReferencedAssemblies is used to retrieve all referenced assemblies by assembly. But sometimes this list is not complete, and does no contain all assemblies, that are simply added to project references in Visual Studio. The problem is, that assembly is loaded to AppDomain “on demand” – lazy load – you must first “call/use something” from that assembly. … Read moreGetReferencedAssemblies not returning all referenced assemblies
ZFO files saves data in standart XML format, they can be opened by 602 XML Filler. But if you want get the content programatically, you need to use SignedCms class (on .net). Especially, Czech system for Data Messages (ISDS) sends signed ZFO file content from their web services. To get clean XML content, without signature … Read moreDecode signed ZFO file and get XML Content programatically