Thứ Ba, 1 tháng 8, 2017
Thứ Ba, 18 tháng 7, 2017
Decimal - Remove Trailing Zeros
public static decimal RemoveTrailingZeros(this decimal d)
{
return d / 1.0000000000000000000000000000M;
}
public static string ToStringIgnoreTrailingZeros(this decimal d)
{
return d.ToString("#,##0.############################");
}
Thứ Năm, 8 tháng 6, 2017
[RabbitMQ] Enable Automatic Connection Recovery
var connection = new ConnectionFactory
{
HostName = [HostName],
UserName = [UserName],
Password = [Password],
AutomaticRecoveryEnabled = true
}.CreateConnection();
Thứ Ba, 18 tháng 4, 2017
[SQL] Checking ANSI_NULLS and QUOTED_IDENTIFIER Options
SELECT o.name, o.xtype, m.definition, m.uses_ansi_nulls, m.uses_quoted_identifier FROM sys.sql_modules m INNER JOIN sysobjects o ON m.object_id = o.id
Thứ Hai, 3 tháng 4, 2017
RabbitMQ Exchange Types
https://lostechies.com/derekgreer/2012/03/28/rabbitmq-for-windows-exchange-types/
Direct Exchanges
Fanout Exchanges
Topic Exchanges
Headers Exchanges
Direct Exchanges
Fanout Exchanges
Topic Exchanges
Headers Exchanges
Đăng ký:
Nhận xét
(
Atom
)





