How to create a zip archive and download it in ASP.NET 5 april 2012 0 In a previous post How to download multiple files in ASP.NET, I explained how to generate multiple documents and offer them as separate downloads in ASP.NET. One of the options I had when looking for a solution to offer multiple…
How to download multiple files in ASP.NET 4 april 2012 1 The project I’m currently assigned to, already has an option to generate reports (pdf) which are just streams the binary output of the report generator to the response output stream. Something like this: Dim binReader As New System.IO.BinaryReader(report.ExportToStream()) With Response…
Aspect Oriented Programming (AOP) with PostSharp 27 mei 2011 0 What is AOP (Aspect Oriented Programming)? Aspect oriented programming breaks down programming logic in separate concerns. It separates and groups blocks of code that perform a specific operation and that can be applied to or re-used by different pieces of…
Introducing NuGet 23 mei 2011 0 What is NuGet? From the NuGet website: NuGet is a Visual Studio extension that makes it easy to install and update open source libraries and tools in Visual Studio. Installing NuGet Method 1: NuGet comes with ASP.Net MVC3 The easiest…
Prevent caching of stylesheet and javascript files 10 augustus 2010 0 First something about caching The numerous caching options you have in ASP.NET (MVC) are mainly focused on data and page output caching. But caching also occurs at the webserver, network and browser level. These you can’t always control from within…
A Guide to Learning ASP.NET MVC Release Candidate 1 28 januari 2009 0 Now that the ASP.NET MVC Release Candidate is available for download, how do you learn how to start using it to build applications? Here’s a guide to resources for learning about ASP.NET MVC Release Candidate 1. Stephen Walter on ASP.NET…
Essential Visual Studio Tips & Tricks that Every Developer Should Know 23 oktober 2008 0 In this blog entry, I list the essential tips and tricks that every developer who uses Visual Studio 2008 should know. I wanted to keep this list brief. I also wanted to focus on only those tips and tricks that…
The type ‘‘ exists in both ‘‘ and ‘‘ 11 september 2008 0 Today I got this error message: "The type ‘<class>’ exists in both ‘<dll location>’ and ‘<dll location 2>’" I remembered I encountered it before, but I didn’t remember the cause, nor the remedy. That’s why I keep this blog to…
Softwaredocumentatie met Sandcastle 21 augustus 2008 0 [DUTCH:] Waarom verschijnt er altijd een ongemakkelijke glimlach op het gezicht van een ontwikkelaar als er gevraagd wordt of zijn software gedocumenteerd is? Hoewel deze vraag niet wordt beantwoordt in dit artikel, zal er worden uitgelegd hoe het op eenvoudige…
URL Rewriting in IIS 7 18 augustus 2008 0 I started to use URL Rewriting on a Windows 2008 Server running Internet Information Server 7. At the time of writing, a technical preview of the module is available here: Using URL Rewrite Module. After installing the module, I was…
.NET Developers’ Reference Card Roundup | Alvin Ashcraft’s Morning Dew 8 juli 2008 0 I thought I would share this list of reference cards / cheat sheets that I have compiled over the last year or so. If I am missing any good ones, please post them in the comments. Alvin Ashcraft’s Morning Dew…
Exception handling best practices in ASP.NET web applications 3 juli 2008 0 Exception handling plays an important part of application management and user experience. If implemented correctly it can make maintenance easier and bring the user experience to a higher level. If not, it can be a disaster. How many times have…