Register your certificate on your machine with WinHttpCert

Aug 18, 2010 No Comments by Ochawin Chirasottikul

You can read my previous post on how to create and encrypt your certificate. This is basic things before understanding this part. If you develop app with ASP.NET or classic ASP and you want to use certificate that you got from somewhere e.g. PayPal (give it to you to authenticate yourself when consuming PayPal service [...]

Security, Tip(s) Read more

How to securely send data with digital signature

Jul 25, 2010 1 Comment by Ochawin Chirasottikul

I’ll explain the concept shortly. As you know, if signed by a private key (a secret key kept secretly by the owner), a correspondent public key (anyone can know publicly) must be used to decrypt at the opposite party, and vice versa. In this diagram, firstly, we sign with our private key to provide authentication. [...]

General ASP.NET C#, Security Read more

New the blog for . net

Jul 10, 2010 1 Comment by theblogf

Welcome back my all friends, I’m very pleased to open a new blog here. Actually, it’s not a new but we’ve decided to migrate from BlogEngine to WordPress due to the following reasons: – Less SPAM, I’ve removed 400++ of them – Greater look and feel – Faster – More fantastic things to play with, [...]

Uncategorized Read more

Workaround Cookie Stuffs

Jul 06, 2010 No Comments

How does cookie being set? Your browser (client) makes a call to www.theblogfor.net as normal. Then, www.theblogfor.net will return you a response with Set-Cookie name-value command in the header. This means that the server needs your browser to store this name-value cookie data into the client browser, and next subsequent calls made to the server [...]

Read more

Facebook Graph API Preview I

Jun 28, 2010 No Comments

I’ve spent 2 weeks creating Facebook Graph API in C#. The reason behind this is I don’t feel like any FB APIs (C#) that’re available at the present. I feel pain when using them (need some workaround before it can really be used), in addition, their documentations are not so widely available. I’ll give a [...]

Read more

Fluent Ribbon Control Suite

Jun 28, 2010 No Comments

I found this’s very interesting.. It might be useful (for us).  Fluent Ribbon Control Suite Fluent Ribbon Control Suite is a library that implements an Office-like (Microsoft® Office Fluent™ user interface) for the Windows Presentation Foundation (WPF). It provides well-customized controls such as RubbonTabControl, Backstage, Gallery, QuickAccessToolbar, ScreenTip and so on. It is bundled with [...]

Read more

Build a borderless windows with a beautiful shadow, interaction with aero snap event

Jun 07, 2010 No Comments

Hello Guys! Today I’m going to talk about a window drop shadow effect in WPF My Goal is to create a window which drop a beautiful shadow and interact with windows 7 Snap feature 1. Create a borderless window without Windows Style and transparent background <Window x:Class=“cmmadnatWallet.Window1″    xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation”    xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml”    Title=“Window1″ Height=“377″ Width=“369″   [...]

Read more

Use my DumpMe!

May 24, 2010 2 Comments

Printing List, Array, ArrayList, IEnumerable, Dictionary, ListDictionary, primitive array,etc. are troublesome for every C# developer. My solution is to create DumpMe() method that can be easily used to print all of the IEnumerable derived things. Plz leave me a comment if you like it or not. Feel free to use it. /// /// this method [...]

Read more

Drag UIElement on Canvas with Silverlight

May 21, 2010 4 Comments

Drag an UIElement in SIlverlight has 3 main events 1. OnMouseClicked         After you click it will allow that UIElement can be move on Mousemove event. 2. OnMouseMove         If that UIElement is clicked. It will be move follow your mouse. 3. One MouseUp         Once you mouseup, that UIElement will be released. It is [...]

Read more

Append JScript to the header

May 16, 2010 2 Comments

Use ajax to append the script to head tag of the pageIt’s useful when you want to acquire a script or JSON object from cross domain. var script = document.createElement(‘script’);script.src = ‘http://ajax.googleapis.com/ajax/services/searc…’;script.type = ‘text/javascript’;document.getElementsByTagName(‘head’)[0].appendChild(script);​ from : http://code.google.com/apis/ajax/playground/#jsonp

Read more