LOGIC Library

This site is the Logic involvement in sharing expertise and skills acquired in daily work. The goal is to create a solid knowledge base and share best practices in software development and systems management.

More info about us can be found on logicsistemi.it.

ASP.NET - C# - Sending an e-mail to a list of recipients

In .NET, we can send an e-mail by two important classes of the namespace System.Net.Mail: the class SmtpClient and the class MailMessage. This article is a basic sample that shows how to send an e-mail to a list of addresses.

Joomla! 2.5: extending users' data with custom fields

In this post we try to explain how to extend Joomla! user's informations by adding additional fields, such as surname, organization or others.

The bad news is that you need to write PHP code and create a plugin. The good news is that in Joomla! 2.5 this task is very easy to be done and following this tutorial you can accomplish even if your coding skils are poor!

ASP.NET MVC - Entity Framework - C# - How to use a parameter for the field of an Order By clause

Entity Framework and related technologies allow adding an Order By clause thanks to the OrderBy method. Let's see how to use a parameter for the field of the Order By clause.

ASP.NET MVC - Entity Framework - C# - How to get DisplayAttribute properties at run-time

Entity Framework makes a large use of metadata attributes, in order to enrich class information. Let's see how to get at run-time values from the Display attribute (Data annotation).

ASP.NET MVC - Entity Framework - C# - How to dynamically add a Where clause

Entity Framework and related technologies simplify the way to query a database. In particular, we can add the Where clause by using the corresponding method. Let's see how to optionally add one or more Where clauses.

ASP.NET MVC - Entity Framework - C# - How to update selected fields

Entity Framework offers a rapid way to update a record (entity) of a table; the drawback is that it updates all the fields.

Page 8 of 10