Category Archives: programming

Logging in .NET with AOP using PostSharp

Here is a simple application that logs to console. Logging is programmed with Aspect Oriented Programming paradigm as an aspect using PostSharp. As a logger library I use log4net.

postsharp

Sample solution can be downloaded from here https://github.com/mchudinov/LoggingPostSharp. It is compatible with Visual Studio 2012, MonoDevelop 5, and Xamarin Studio 5.
Continue reading

Logging in .NET Mono on Linux and Windows using log4net

Here is a simple application that will log to console and syslog demon. On Windows platform we can use free edition of Kiwi Syslog Server. On Linux application will use both local and remote syslog. As a logger library I use log4net.

Sample solution can be downloaded from here https://github.com/mchudinov/Logging. It is compatible with Visual Studio 2012, Mono Develop 5, and Xamarin Studio 5.
Continue reading

Free .NET development software alternatives

The standard software stack for a .NET developer is

  • OS – desktop Windows
  • IDE – Visual Studio
  • Database – SQL Server

All these components are quite pricey. But there are free alternatives. And with my recent project I decided to use alternative software for development and production in .NET, all totally free.

  • OS – Linux Mint 17 (based on Debian/Ubuntu)
  • IDE – MonoDevelop
  • Database – MySQL Community Edition

monodevelop
Sample solution can be downloaded from here https://github.com/mchudinov/EF6MySQL
Continue reading

How to encrypt data in browser with JavaScript and decrypt on server side with PHP

Client-server encryption-decryption using Advanced Encryption Algorithm (AES) in client and server is complicated because exactly the same algorithm must be implemented twice: once for client side in JavaScript and once for server side in PHP,C# etc.

Continue reading

PHP extension collections links

PHP extensions collections

http://windows.php.net/downloads/pecl/releases

https://github.com/stealth35/stealth35.github.com/downloads

http://www.hmelihkara.com/files/php_sqlsrv_55.rar

WinCache – Windows Cache Extension

XCache – binary downloads for Windows

Microsoft Drivers 3.0 for PHP for SQL Server

XDebug

Unofficial Microsoft SQL Server Driver for PHP (sqlsrv)