Archive for 'ASP.NET' Category
Use ICSharpCode.SharpZipLib to write directly to Response.OutputStream in a asp.net application
26 August 2008I have a web site where I need to dynamically create rtf reports. I decided to use Asp.NEt 3.5 routing, (maybe I’ll discuss another day) so I can redirect request like
http://localhost/Myapp/reports/reportwizard/14/Report.zip
to an handler that dynamically creates the zip file and stream it to the client browser. Here is the code
Dim service As New WebLogic.Report.ReportService
Dim [...]
First impressions on JQuery
8 August 2008I’ve finished reading the second chapter of “Jquery In Action” and I must admit that seems to me a very interesting library.
JQuery permits you to select various part of the DOM with a great flexibility, and I think that it can really simplify writing client code even for ASP.NEt application, where selecting the element by [...]
Asp.net 2.0 Controls adapter to the rescue
8 July 2008In an asp.net 2.0 application of our team we inserted long time ago a Theme Manager, a simple module that is used to retrieve the theme selected for current user (from profile management) and dynamically apply it to the page of the site. With this module each user can choose a theme for the site. [...]
Secure your queryString with encription in asp.net 2.0
13 June 2008This post is mainly a tralation of an old post in italian. Here is the source Code.
QueryString is a common and easy way to move state between pages in web applications, but it can lead to a security problem. Suppose you are writing a forum engine, you write a simple page to edit a post [...]
ASP.NEt and ObjectDataSource
19 May 2008I do not like very much the ObjectDataSource object of ASP.Net, but sometimes it gets useful, expecially when I already have a service class that extracts exactly the data you want. Today I did some cleanup on a project that is born with standard DAL with Enterprise Library and now Is evolving with nhibernate. I [...]
>