Xavier Larrea
Latest articles
-
The "Using" Statement in C#
by Xavier LarreaThe using statement in the c# language allows us to define an scope for an object lifetime. This statement obtains the resource specified, executes the statements and finally calls the Dispose() method of the object to clean it up.
-
Sending Authenticated Emails in .NET 2.0
by Xavier LarreaLearn what's changed with .NET 2.0 and how to send out emails using an SMTP server that requires authentication.
-
Url Rewriting with Regex for ASP.NET 2.0
by Xavier LarreaA new feature in ASP.NET 2.0 is it's built-in url rewriting support. When i looked into this new feature I found that it lacked regular expressions support, which is really the point of an Url Mapper. So, this code demonstrates how to create a Url Rewriting Module with Regex support in ASP.NET.
-
Transactions made easy with .NET 2.0
by Xavier LarreaOne of the more significant improvement in .NET 2.0 is the transactions area. Now with a single line it becomes extremely easy to support transactional code blocks using the concept of “ambient” transaction thanks to TransactionScope in the System.Transactions namespace.
-
Database Independent ADO.NET 2.0
by Xavier LarreaADO.NET 2 has new classes that makes it quite easy to write data-programs independent of the database engine. Learn how here.
-
Encrypting Web.config sections in ASP.NET 2.0
by Xavier LarreaLearn how to encrypt any section of your Web.config file on-the-fly and programatically; plain-text connection strings in your config file are no more!