Kerrigiousidsy
New Member
(Not being a C++/C# programmer)- perhaps someone could help me understand why a VB programmer would want to utilize C# rather than VB in ASP+. What can it do that VB can not? What are the benefits of using C# over VB in ASP+? What other implications are there<BR><BR>Thank you in advance for any insight.One of the true benefits of ASP+ is language independence. Another is that all languages are compiled to Intermediate Language. Essentially this means that the choice between VB and C# is a matter of comfort. There is no performance gain from one language to the other, and all the same Namespace are available to all languages. Simply pick the language you prefer to work in, and write your code.<BR><BR>Doug Seven<BR>CodeJunkies.Net / ASPNextGen.com<BR>[email protected] was at a VB users group meeting last night and they discussed VS.net and C# and VB 7. As I understand VB 7 will be very different from VB 5 and 6, and if you take the code created in C# and copy and paste it into VB 7 you will only have to make minor changes like the {} and some variable declarations and some other small things. ASP+ will also be compiled code and you will have two seperate files to work with, unlike VisualInterDev does now where you have a design and code view, you will have the ASP seperate from the HTML. I'm not sure of the details, but that is what I could pick up from what was discussed.<BR><BR>If you are already programming in VB, the learning curve for VB7 would be small compared to C#. This is likewise for C++ and Java programmers. Basically there will be a NGWS compiler which would compile "ANY" code to be used with ASP+. This achieves the original goal of Java being platform independent. In theory you should be able to use any COM and COM+ components programmed in ANY language that supports OOP...Well, I downloaded the Pre-Beta .Net SDK and will "play" with it to see what it's all about. It sounds like Microsoft is going to do it with this version, but I don't want to get too excited...yet!<BR>> As I understand VB 7 will be very different from VB 5 and 6<BR><BR>I don't know if VERY different, but different, yes. The focus is to make it more OO, adding some features that should have been added a long time ago (such as not needing to use Gotos to do error handing)<BR><BR>>If you are already programming in VB, the learning curve for VB7 would be small compared to C#. <BR><BR>Agreed.<BR><BR>> Basically there will be a NGWS compiler which would compile "ANY" code to be used with ASP+. This achieves the original goal of Java being platform independent<BR><BR>Uh, not quite. Platform independent means that a piece of code can run on any platform... platform is defined as OS/Hardware. SCO UNIX and a Solaris box is one platform. Windows and Intel is another. ASP+ will only run on Wintel boxes with Microsoft's Web server. ASP+ looks to be more language-independent.<BR><BR>I have mixed feelings about ASP+, myself. It seems to make certain things easier and other things harder. For those serious in learning ASP+, be sure to check out the articles listed at: http://www.4guysfromrolla.com/webtech/LearnMore/ASPPlus.aspMixed feelings? How so? What becomes harder in ASP+? <BR><BR>Funny you should mention that you have mixed feelings, as that seems to becoming a rather common response as of late, ... which is suprising considering all the hype around the arrival of ASP+.