Tuesday, 19 June 2012

CSharp: How to replace with Regex

Question:
How to replace a set of chars by another character using regular expressions in C#?

Monday, 23 April 2012

Dot.Net: Method name Reflection

Question:
How to get the method name of the method you are executing?
I want to log the method name of my context method; how do I do that?

Thursday, 29 March 2012

JavaScript: Reload Page

Question:

How do you reload a web page with JavaScript?

Answer:

You ask the DOM API of your browser. There are several ways to do this.
Tuesday, 6 March 2012

Dot.Net: Get Dot.Net Source Code

Question:
Is there a way to see the source code of the dot.net framework?

Wednesday, 22 February 2012

JavaScript: Object literals - object initializers

Question:
How to create a simple JavaScript object with object initializers (aka object literals)?

Wednesday, 25 January 2012

SQL: Set Implicit Transactions SQL Server Manager

Question:
How to avoid or disable auto-commit for queries in SQLServer Manger?
How to set an implicit transaction scope for my queries? I want to commit them manually.

Tuesday, 22 November 2011

Asp.Net: Get Text in RadEditor from Telerik

Question:
How do I get the html text of the Telerik RadEditor with JavaScript, jQuery?