is it possible to built asp.net application with c++ as language .If is it possible please can you tell how ?If is it not possible please tell why is it not possible .
Actually no the asp.net engine doesn't support c++ but as I read many many years ago in an article you can just code your codebehind using c++ but I don't think that it could be a suitable approach for large scale applications.
I am already a C# and VB.NET professional . But i had the curisity to know whether code behind can be written in C++ or any other language .
Afterall CLR is language independent then why its not possible to code in C++ ...rather C++/CLI ?
What is actualy meant by ASP.NET engine ?Is is separate from CLR ? Is there no any relation between CLR and ASP.NET runtime.I have heard about ASP.NET engine that parses the aspx page , but actual implementation and relation between CLR and ASP.NET engine
is not clear to me.Though i am ASP.NET web developer its very sad that ASP.NET engine is not clear to me .
over CLR means ? can you please explain over here ?Is asp.net framework a part of clr or they are independent entity ?
rezaxp
and has some responsibilities such as handling web request
as far as handling web request , it is the work of web server e.g., IIS web server handles the web request ,not asp.net .This is my intution as far as i know.Please clearify me.
Yes ofcourse handling the request is webservers task but who creates and fills request and response object or httpContext ?
who handles HTTPModules and handlers?
these are not inside CLR these are Asp.net Engine's tasks. Asp.net Engine use CLR to give more functionality for web.Look at MVC framework .. it's a framework over asp.net.it gives us more functionality using asp,net engine and asp.net Engine gives us web
functionality using CLR ... got it?
Please don't forget Mark as Answered if you got your answer
Life would be so much easier if we could just look at the source code.
Tweet
shyam_oec
Member
656 Points
777 Posts
Can asp.net application be built with C++ language ?
Sep 18, 2011 09:26 AM|LINK
hello,
is it possible to built asp.net application with c++ as language .If is it possible please can you tell how ?If is it not possible please tell why is it not possible .
rezaxp
Participant
1879 Points
370 Posts
Re: Can asp.net application be built with C++ language ?
Sep 18, 2011 09:43 AM|LINK
Actually no the asp.net engine doesn't support c++ but as I read many many years ago in an article you can just code your codebehind using c++ but I don't think that it could be a suitable approach for large scale applications.
this is that article's link
http://www.codeproject.com/KB/mcpp/helloworldmc.aspx
why you are not migrating to c# ?
Life would be so much easier if we could just look at the source code.
Tweet
shyam_oec
Member
656 Points
777 Posts
Re: Can asp.net application be built with C++ language ?
Sep 19, 2011 08:08 AM|LINK
I am already a C# and VB.NET professional . But i had the curisity to know whether code behind can be written in C++ or any other language .
Afterall CLR is language independent then why its not possible to code in C++ ...rather C++/CLI ?
What is actualy meant by ASP.NET engine ?Is is separate from CLR ? Is there no any relation between CLR and ASP.NET runtime.I have heard about ASP.NET engine that parses the aspx page , but actual implementation and relation between CLR and ASP.NET engine is not clear to me.Though i am ASP.NET web developer its very sad that ASP.NET engine is not clear to me .
Can you please help me ?
rezaxp
Participant
1879 Points
370 Posts
Re: Can asp.net application be built with C++ language ?
Sep 19, 2011 09:28 PM|LINK
Checked it ... has some useful information
The Asp.net Engine is a framework over CLR and has some responsibilities such as handling web request and responses which are not inside the CLR ...
http://en.wikipedia.org/wiki/ASP.NET
Life would be so much easier if we could just look at the source code.
Tweet
shyam_oec
Member
656 Points
777 Posts
Re: Can asp.net application be built with C++ language ?
Sep 20, 2011 12:52 AM|LINK
over CLR means ? can you please explain over here ?Is asp.net framework a part of clr or they are independent entity ?
as far as handling web request , it is the work of web server e.g., IIS web server handles the web request ,not asp.net .This is my intution as far as i know.Please clearify me.
rezaxp
Participant
1879 Points
370 Posts
Re: Can asp.net application be built with C++ language ?
Sep 20, 2011 06:12 PM|LINK
Yes ofcourse handling the request is webservers task but who creates and fills request and response object or httpContext ?
who handles HTTPModules and handlers?
these are not inside CLR these are Asp.net Engine's tasks. Asp.net Engine use CLR to give more functionality for web.Look at MVC framework .. it's a framework over asp.net.it gives us more functionality using asp,net engine and asp.net Engine gives us web functionality using CLR ... got it?
Life would be so much easier if we could just look at the source code.
Tweet