Thursday, September 26, 2013
test
http://a499.phobos.apple.com/us/r1000/026/Music6/v4/ee/1c/8e/ee1c8eea-cbfc-2984-db5e-5c4f2cf7c8c0/mzaf_3865492851037958779.plus.aac.p.m4a
Thursday, January 17, 2013
Encrypted Field
The steps to encrypt a field is easy, full details are here
CREATE MASTER KEY ENCRYPTION BY
PASSWORD = 'your password here'
GO
CREATE CERTIFICATE EncryptTestCert
WITH SUBJECT = 'name'
GO
CREATE SYMMETRIC KEY cryptoKey
WITH ALGORITHM = TRIPLE_DES
ENCRYPTION BY CERTIFICATE EncryptTestCert
GO
To get encrypted content
OPEN SYMMETRIC KEY cryptoKey
DECRYPTION BY CERTIFICATE EncryptTestCert
ENCRYPTBYKEY(KEY_GUID('cryptoKey'),@input)
To get decrypted content
OPEN SYMMETRIC KEY cryptoKey
DECRYPTION BY CERTIFICATE EncryptTestCert
CONVERT(nvarchar(Max), DecryptByKey(fieldName))
Tuesday, December 4, 2012
WCF postback size limitation
The maximum size is about 1MB. You need to modify web.config for this.
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
<standardEndpoints>
<webHttpEndpoint>
<standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</standardEndpoint>
</webHttpEndpoint>
</standardEndpoints>
</system.serviceModel>
Sunday, October 7, 2012
Wednesday, September 19, 2012
Monday, September 17, 2012
Addressbook - ios 101
Sunday, August 19, 2012
Sunday, July 22, 2012
Saturday, July 21, 2012
Wednesday, July 18, 2012
Click to edit control
Wednesday, June 27, 2012
Useful custom control
Saturday, April 28, 2012
Twitter 101
Twitter integration basic
http://search.twitter.com/search.json?q=@XXX&page=X
@XXX : search keyword
X : Current Page
http://search.twitter.com/search.json?q=@XXX&page=X
@XXX : search keyword
X : Current Page
Wednesday, April 18, 2012
Subscribe to:
Posts (Atom)