0
Reply

To create a common reusable component in mvc 4

Kushal Rangadale

Kushal Rangadale

Sep 5 2013 9:13 AM
1.7k

I need to create a common component in mvc 4 which includes a C# function that takes HTML string as input and creates a pdf file. Then this pdf is printed using vbscript. I need to call the vbscript print function on calling C# create pdf function. This function will be consumed in MVC. I need to know how can i combine c# code and vbscript code into a single reusable component.