James, excited to hear this!  I had also started the work, and as you well know,
the syntax changes between VS .NET 2002 and VS .NET 2005 for their C++.NET are
intense, if not long overdue.

No more overloading the concepts of an object reference with a true C++ pointer,
using pinning became so much cleaner, etc.  If done right, the source code
shrinks in LoC, and the casts are so much easier to read :)

I'm disappointed to hear that we won't be able to support .NET 1.x with the new
flavors, however :-/  Maybe something can be done, most likely, not.

One bit I *really* hope to eliminate is the jaggy arrays issue which required
the additional stub _gcA_gcA_gcString.cs for our unknown request headers, but in
attempting to define the GetUnknownRequestHeader return value, I came up with
nothing <grrr>.  MS has promised, of course, to fix jaggy arrays since 2002 came
out, with no results.  Every variant of String^^ I tried blew up in the compile,
and no matter what I try, I can't seem to locate the proper c++ declaration
syntax ;(

Anyways, because of the scope of the changes (w/o even looking at your sources)
I expect we will need a CLA (see <http://www.apache.org/licenses/#clas>) which
is a precursor to becoming a committer, anyways.  That can be faxed to our
secretary (or snail mailed) - and once that is received I'd be happy to review
and commit your effort!!!

I'd like to branch the existing module and proceed with these changes on trunk/.
As your work beat my effort, I'd rather start with yours (my confidence is not
that high that my obj -> ref's were correct, but I can use a diff of your effort
and mine to make sure everything's on the right track, or possibly catch any
pinning issues your contribution creates.)

Please don't chalk it up as impossible to gain commit access, or if you have
specific concerns, please feel free to bring them up privately, with myself,
or any other PMC member of httpd.

Bill



James Park (pencil_ethics) wrote:
I am please to "announce" that mod_aspdotnet has been successfully
ported to version 2.0 of the .NET Framework. This is essentially trunk
with (a vast number of) syntax changes in Apache.Web to make it compile
with VC8. My statement of "success" basically means it can run trivial
ASP.NET 2.0 applications and a reasonably sized ASP.NET 1.1 application
(Windows Server Update Services) without any noticeable problems. I have
arbitrarily assigned the build number 2005 to this port.

Because of the fact that Managed Extensions for C++ was replaced with
C++/CLI in VC8, numerous syntactical changes were made to the code,
which basically means it requires testing. The major version change in
the .NET Framework also causes the AspNetVersion directive to stop
working (you can try, but it will fail miserably), although I am not
fully sure the version change is the root of the problem. Please keep
in mind that I cannot program in C/C++ myself, but I understand enough
to allow me to port the syntax over to the new C++/CLI style.

Please note this may or may not compile with Visual C++ 2005 Express, as
I do not know its exact capabilities or what is required for Apache.Web
and mod_aspdotnet to compile.

Unfortunately, since 1) I'm not a committer (and never will be),
2) this is a sizeable code change, and 3) I have nowhere to post the
source/binaries to, this is basically just a statement of existence.
Would anyone be interested in having a look? I would be more than happy
to somehow get the source/binaries across to interested parties. As with
code changes of this magnitude, it should be strictly taken as pre-alpha
code, although it just happens to work like production code. ;-)

-- James Park (pencil_ethics)


.

Reply via email to