ASP. NET two languages: J # And C ++

Source: Internet
Author: User

In the DataTable and DataReader operations, we can see that J # And C ++ use the get_Item () function in a large number. I estimate that both J # And C ++ undergo Object transformation, it may have a slight impact on performance.

Using these two languages to create ASP. NET may be useful to friends who are used to C ++ and JAVA.

I believe that each language has its own strengths. Everyone learns from each other and constructs a good overall structure. I have seen many C # beginners who seem to be interested in VB. NET is biased, and "never use VB" is the glory. Some friends, J # And C ++. net has little knowledge about it, so I misunderstand that these two languages are useless. In fact, these understandings are one-sided.

For example:

 
 
  1. /* Jscript | Jscript.Net */  
  2. var conn = Server.CreateObject("ADODB.Connection");  
  3. conn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data 
    Source="+Server.MapPath("image.mdb"));  
  4. var rs = conn.Execute("SELECT * FROM image_data");  
  5. while(!rs.EOF)  
  6. {  
  7. Response.Write(rs("title").value);  
  8. rs.MoveNext();  
  9. }  
  10. rs.Close();  
  11. conn.Close(); 


You don't need to think that this is only ASP, which is also the ASP. NET of the geographic path. Although in our. in the eyes of NET developers, the reputation of RecordSet may not be as good as that of DataReader, but this is not covered in this article. Here we only say: if C # is used to implement the same functions above, the result can only be slow execution, long code, and complex structure.

In ASP. NET, no language is the best or the worst language. Each of the five languages has its own strengths and weaknesses. All of them generate the IL intermediate code. That is to say, J # And C ++ are inherently compatible with each other, which is ASP.. NET.

  1. Introduction to ASP. net mvc Framework
  2. Introduction to MvcAjaxPanel in ASP. NET MVC
  3. ASP. net mvc Framework to save UpdatePanel
  4. Use ASP. net mvc source code to find a solution
  5. ActionInvoker of ASP. net mvc Framework

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.