Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My project is using angularjs for client side and it's using .NET for server side code processing. As part of our project architecture we interact with WCF which further interacts with Business and Data Layer to get data. Now I have a requirement to generate a excel with data. So currently I am thinking of using HttpHandler for this purpose.

What I have tried:

On button click event I am thinking of redirecting the request to handler which will interact with Business and Data Layer to prepare data and will finally write the excel in HttpResponse object. I want clarification whether using HttpHandler for this purpose a good approach or there exists some better ways of achieving the same.
Posted
Comments
Richard Deeming 11-May-18 9:14am    
Sounds like the right approach to me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900