Question:
How to bypass a local proxy when doing HttpWebRequests in dot.net?
Tuesday, 16 April 2013
Friday, 5 April 2013
CSharp: setting private field reflection
Question:
How can I set the StackTrace property of an exception in c#?Can I set a private field of an object in dot.net?
Tuesday, 2 April 2013
Silverlight: get children of a control
Question:
How to get in Silverlight all children of a given control?Get all children of a given type from a control in Silverlight 4?
Labels:
C#,
Csharp,
dot.Net,
recursion,
Silverlight,
Silverlight4
Wednesday, 6 February 2013
Silverlight: Cross domain WCF service calls
Question:
How to access a WCF service on domain A from a Silverlight application on domain B?
I have a silverlight app on localhost:8008 and a WCF service on localhost:8080. My silverlight app cannot access the WCF service. What can I do?
Wednesday, 14 November 2012
CSharp: Read bytes from File
Question:
How to read bytes from a file?How to read a file as a byte array?
Tuesday, 30 October 2012
CSharp: Word Mail Merge with data
Question:
How to merge data into a Word document using the mail merge functionality?Using mail merge in MS Word with a data file.
Monday, 22 October 2012
SQL: return resultset from oracle procedure
Question:
How do I return a resultset from an Oracle procedure?
Monday, 17 September 2012
CSharp: Slice in CSharp
Question:
Is there an equivalent to the Python slice method in c#?How to slice in c#?
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?Monday, 26 September 2011
Asp.Net: Embed image in server control's assembly.
Question:
How to embed an image file as an embedded resource in a server control assembly?How to access an image from a server control assembly?
Labels:
Asp.Net,
C#,
Csharp,
dot.Net,
ServerControls,
WebControls
Asp.Net: Embed CSS in server control's assembly.
Question:
How to embed a CSS file in a server control assembly?How to access style information (CSS) from a server control assembly?
Labels:
Asp.Net,
C#,
Csharp,
Css,
ServerControls,
web,
WebControls
Thursday, 22 September 2011
Dot.Net: How to write RSS date format in CSharp
Question:
In a RSS feed I need to write dates in the format RFC #822. How do I do this?How to write a string in the RFC 1123 format??
Wednesday, 14 September 2011
Dot.Net: Generic List - test Subclass of IEnumerable
Question:
How to test if a given generic list type (e.g. List<>) implements an interface (e.g. IEnumerable<> or IEnumerable)?How to check interface implementation for generic types? (IsSubclassOf does not work)
Tuesday, 23 August 2011
Asp.Net: Generate PDF from Web Page
Question:
How to convert Html to PDF for a web page with wkhtmltopdf in asp.net ?How to generate PDF from HTML using wkhtmltopdf in .net?
Subscribe to:
Posts (Atom)