NuGet Gems: DeepEqual

This handy little package does one simple thing, and it does it well. According to its description, DeepEqual is: An extensible deep comparison library for .NET. I am sure you too have come across this a few times. You have some code that shuffles around objects, and at some point, you’d like to make sure that two instances of the same class are, indeed, equal. And no, you don’t mean “equal” as in reference equality. »

Author image Nicola Iarocci

FatturaElettronica for .NET v0.9 has been released

FatturaElettronica for .NET v0.9 has been released. The companion Extensions package also hits v0.4. The main new feature is the FromJson() extension method which allows, you guessed it, for deserialization of a JSON stream into a Fattura class instance: var fattura = Fattura.CreateInstance(Instance.Privati); fattura.FromJson(new JsonTextReader(new StringReader(json))); // or, if FatturaElettronica.Extensions v0.4 is being used: fattura.FromJson(json); // Invoice is now ready for inspection. foreach (var documento in fattura.Body) { var dati = documento. »

Author image Nicola Iarocci

Eve 0.8.1 has been released

Just a quick note to report that Eve v0.8.1 is out and ready to rock. It brings a number of fixes, some improvements as well as a couple of new features. Check out the changelog for details. Join the newsletter to get an email alert when a new post surfaces on this site. If you want to get in touch, I am @nicolaiarocci on twitter. »

Author image Nicola Iarocci

Lettura di fatture elettroniche con firma digitale in .NET (.p7m)

Sorry folks. Because of its target audience, this post is in Italian. Ho appena rilasciato FatturaElettronica.Extensions. Si tratta di un package che estende FatturaElettronica.NET aggiungendo (per ora) un solo extension method: ReadXmlSigned Il metodo si affianca all’esistente ReadXml ed accetta un file in formato standard fattura elettronica già firmato digitalmente (estensione .p7m), lo legge, verifica che le firme siano valide, quindi lo carica in un oggetto FatturaElettronica che lo rappresenta interamente: »

Author image Nicola Iarocci

Code Magazine: Learn Python with Visual Studio

On the July/August issue of Code Magazine, available both printed and online, you can find my article Learn Python with Visual Studio. From the incipit: In the Stack Overflow Developer Survey for 2018, Python sits comfortably in the first place as the most wanted programming language, with JavaScript and Go coming second and third. Python also ranks third in the “most loved” category. Despite the age (20 years and counting), Python’s popularity keeps growing, and for good reasons. »

Author image Nicola Iarocci