How to serialize an array or a list?

0
I needed to serialize an array few weeks ago and i found one way to perform this serialization.I performed the serialization for the following objects:_persons.Add(new Employee { FirstName =...

Enterprise Library: Criar ligação à base de dados de forma dinâmica

0
Já alguma vez precisaram, usando o Enterprise Library, de estabelecer uma ligação com um número de base de dados variável e em que a base de dados a ligar...

SAP .NET Connector e a passagem de campos do tipo Date

0
O SAP .NET Connector é um ambiente de desenvolvimento que permite a comunicação entre aplicações .NET e sistemas SAP. A sua utilização é relativamente simples, funcionando na forma de...

XNA is Not an Acronym

0
Are you a gamer? Are you a .Net developer? Do you still dream about being a game developer? Then Microsoft has good news for you. If you answers...

Cast vs OfType: Which should i use to cast an object’s list?

0
In this post i will explain what’s the differences between Cast() and OfType() methods using LINQ, and i will also explain when we should use each method. These methods...

How to run another application or batch file from my Visual C# .NET code

0
Example 1.Running a command line application, without concern for the results: private void Run(){    System.Diagnostics.Process.Start(@"C:runFile.bat");} Example 2.Retrieving the results and waiting until the process stops (running the process synchronously): private...

Codesmith, netTiers and reserved words

0
Started today using Codesmith tools today after a year or so since the last time that I used this great generation template based tool. I had to generate...

Ajax.NET – A free library for the Microsoft .NET Framework

0
Asynchronous JavaScript with XmlHttpRequest - C# Example Download the latest Ajax.dll (5.5.13.1) to use it for free in your web projects. To learn more about AJAX, visit:WikipediaA New Approach to Web...

Design Principles for AJAX Applications

0
Design Principles for AJAX Applications Minimise traffic between browser and server so that the user feels the application is responsive. Be clear on the interaction mode being used - regular...

Smaller .NET 6 docker images

0
Introduction This post compares different strategies to dockerize a .NET 6 application and how to create a < 100mb docker image to host a .NET 6 asp.net web application. Using...