ASP.NET disabled with C++/CLI

  • Thread starter Thread starter Don Kim
  • Start date Start date
D

Don Kim

Hi,

I heard it was not possible to write asp.net with c++/cli. Is this true?

-Don Kim
 
Hello Don,
I don't think ASP.NET is disabled, maybe rather not supported with C++/CLI.
I 've presented this question to the folks at Microsoft with no response.
However, the code-behind for an ASP.NET page should work with any .NET assembly.

Here is a short article I wrote about this:
http://www.codeproject.com/managedcpp/helloworldmc.asp



[H]ope [T]hat [H]elps

RBischoff


DK> Hi,
DK>
DK> I heard it was not possible to write asp.net with c++/cli. Is this
DK> true?
DK>
DK> -Don Kim
DK>
 
RBischoff said:
Hello Don,
I don't think ASP.NET is disabled, maybe rather not supported with
C++/CLI. I 've presented this question to the folks at Microsoft with no
response. However, the code-behind for an ASP.NET page should work with
any .NET assembly.

Thanks. Actually, I read about this on the Apress book site, by Stephen
Fraser who wrote a good book on MC++. Here's what he said:

<snip>
Well I think it's a shame...
Managed C++.NET 1.1 had a small foothold in creating ASP.NET Web sites by
way of creating code behinds in MC++.NET. You could even use the designer
tool to layout your Web form. I thought for sure Microsoft will continue
from this and provide full support for MC++.NET, especially with all their
jockeying to make C++/CLI the premier .NET language.

Well, it looks like that foothold is gone. I can find no way of creating a
C++/CLI code behind using the latest C++ compiler and I don't think that
will change when the compiler goes gold. It appears that the partial class
(which CLI/CLI does not support) has made it impossible. My hope is one of
the greater minds out there finds a work-around.
</snip>

I haven't tried it yet, so I can't confirm. I'll use your fine article as a
starting point and try it out for myself. Thanks.

-Don Kim
 
Back
Top