Archivi tag: generic handler

WCF REST, configure endopoint to return SOAP, XML and JSON

WCF is a great technology but unfortunatly it’s not so easy to configure it to work correctly. I’ve spent many hours to understand exact how to configure WCF to gain the right result. Creating a WCF it’s easy, and it’s … Continua a leggere

Pubblicato in Asp.Net, c#, WCF | Contrassegnato , , , , , , , , | 4 commenti

Suggest filename to client when you generate it at runtime

Many times I’ve to generate a report file from a web pages. To do this I create a genericHandler that query the Database and compose a string comma separated. with only this code you generated a csv file but no … Continua a leggere

Pubblicato in .Net, Asp.Net, c# | Contrassegnato , , , , | Lascia un commento