Posts Tagged ‘C#’

Session state has created a session id, but cannot save it because the response was already flushed by the application.

February 3rd, 2009 by jf | comments 1 Comment | categories Filed in .NET, ASP.NET, C#, Cool Stuff, Internet Articles, My Life, Tech, Web, Work

Lately i started getting an Exception of the type [HttpException] with message: Session state has created a session id, but cannot save it because the response was already flushed by the application.

?View Code CSHARPType : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Session state has created a session id, but cannot save it because the response [...]

tagsTags: , ,

Merge pdf files using C#

October 3rd, 2008 by jf | comments 15 Comments | categories Filed in .NET, C#, Work

Recently I had to create an assembly component using C# to merge multiple PDF files into one file. The specification was pretty straight forward:
1) Merge two of more PDF document into a single output PDF File.
2) Used on an ASP.NET Page
After a few minutes of GOOG, I came up to this “ITextSharp”
iText# (iTextSharp) is a [...]

tagsTags: , ,

Copy-Clone custom object in C#

August 5th, 2008 by jf | comments 1 Comment | categories Filed in .NET, C#

This post relates how to Copy/Clone custom object in C# (Deep and Shallow Clone).
In this example I will be having a base class that all my custom object will be inheriting from.
Updates: After quiet some research on the subject i recently found some interesting articles on this subject and wanted to share them on this [...]

tagsTags: