Helpful Information
 
 
Category: .Net Development
Where can i learn how to execute C/C++ code from ASP.NET?

Hi there,

I am extrememly new to C (only been playing with it for a few days), and will be am required to be using C and ASP.NET for work purposes in the next few months. I come from a mostly Java background where it was easy to write JAVA code, and provide web interfaces that made use of that code in JSP.

I would be greatful if anyone can tell me

a) Is the same effect possible using ASP.net to access / execute etc C/C++ code (pretty sure that works - but be good to know incase there is another step in there).

b) Where can i learn more about it? Can you suggest any weblinks or books etc?

Thanks in advance,

Nick
aceduk

Nick,

If you compiled your code to a DLL you could probably access them via ASP.NET by loading the DLL and calling procedures within it. That's a lot of work though. You're probably best off just writing in C to begin with, which isn't very hard at all. Contact me off list if you're looking for help.

As for books on C/C++, you should definitely get the foundation books, Kernighan & Ritchie for C and Stroustroupe for C++. Kernighan & Ritchie is more than a little terse but well worth working through. Stroustroupe is very dense in sections but I found that it made learning the language very easy.

Clay, I'm going to send you an email regarding a very similar situation that I am in. I hope that you reply!










privacy (GDPR)