Sunday, July 12, 2009

Can Visual C++ 2008 Express Edition be used for web based applications?

I want to learn C++, however, i want the application to be based on C++ but deployed on a web server. I know that MS Visual Web Developer is perfect for this using VB.Net or C#.Net





Can the .dll that is created by the C++ IDE be dropped in to the /bin folder of the web app and be accessed by the web objects as normal?





Thanks for your answers and any comments you may have.

Can Visual C++ 2008 Express Edition be used for web based applications?
In the old days you would build a C++ program into a CGI file that is executed when a request occurs. Although you can also use C++ from a ASP page. To do this I think I still wrapped the C++ in C#. In fact C++ is often used for a slight performance improvement at the cost of increased development time.





So yes, but you should probably call the C++ code from C# and only use it for performant situations. If you must only use C++ I suggest you just use CGI. CGI is usually just a renamed script that can be written in many languages C++ is just one.

radiata

No comments:

Post a Comment