Tag Archives: Coding

Tip: Never use IP addresses

Never use IP addresses Use of IP addresses are never actually required. There are two fully valid alternatives: Using DNS name served by DNS server. Windows/Linux can have unlimited number of DNS servers in case one goes down, so there is no problem with stability. Just add more DNS-servers. (At least two) In case DNS is not possible‚Ķ Read More »

.Net tools to use: log4net

log4net http://logging.apache.org/log4net/ Description Free popular logging system developed by Apache Foundation. Difficulty 1 line at top of each class. A standard XML-section in web.config. Sample usage: Sample web.config: Advantages Easily configured in web.config to filter what to log. Can write log to text-file, SQL, Trace, ASP.Net Trace, Event Log, SMTP (E-mail), etc. Has several levels based on severity‚Ķ Read More »