0
.NET Language Supports  <br />
VB<br />C++<br />C#<br />J#<br />…<br />Common Language Specification<br />ASP .NET<br />Web Forms   Web Services<br />Mob...
.NET Language Support  Overview<br />VB<br />C++<br />C#<br />J#<br />COBOL<br />…<br />Web Services<br />User Interface<b...
IDE & CLR<br />Integrated Development Environment<br />Single Solution Explorer, Toolbox, and Debugger <br />IntelliSense®...
Increased Productivity<br />Simplifies mixed-language development<br />RAD across the board<br />Desktop <br />Web<br />Se...
Language Enhancements<br />Visual Basic .NET<br />Fully object oriented, supports free threading<br />Structured exception...
Visual Basic .NET<br />
Visual Basic .NET Overview<br />Modern, Powerful, True OOP<br />Inheritance, overloading, shadowing, delegates, attributes...
Classes & Inheritance<br />Inheritance supported<br />Derive from a single base class<br />Implicitly inherits from System...
Demo 1:  Visual Studio .NET Integrated Development Environment <br />
Visual C# .NET <br />
Visual C# .NET Overview<br />Strong C++ heritage<br />Immediately familiar to C++ and Java developers<br />Allows C-style ...
Component-Oriented<br />What defines a component?<br /> Properties, methods, events<br /> Design-time and runtime informat...
for I = 1 To 10<br />‘ for loop<br />Next I<br />for (i=1;i<11;i++) {<br />// for loop<br />}<br />Comparison to Visual Ba...
Visual C++ .NET<br />
Visual C++ .NET Compiler & Language<br />Optimizations<br />Whole Program Optimization<br />Optimized inline assembly inte...
Managed Extensions<br /><ul><li>Full access to the .NET Framework from C++
It’s still C++
All enhancements are compatible extensions
Nothing from C++ has been changed or removed
Enables incremental migration to .NET
Existing code can be recompiled as IL
Mix managed code within existing applications
Power to drop “to the metal” when needed</li></li></ul><li>Native Libraries<br />MFC/ATL<br />Improved MFC/ATL integration...
Upcoming SlideShare
Loading in...5
×

.Net language support

2,193

Published on

Languages in .NET

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,193
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
29
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of ".Net language support"

  1. 1. .NET Language Supports <br />
  2. 2. VB<br />C++<br />C#<br />J#<br />…<br />Common Language Specification<br />ASP .NET<br />Web Forms Web Services<br />Mobile Internet Toolkit<br />Windows<br />Forms<br />ADO .NET and XML<br />Base Class Library<br />.NET Language Support <br />Visual Studio .NET<br />Common Language Runtime<br />Operating System<br />
  3. 3. .NET Language Support Overview<br />VB<br />C++<br />C#<br />J#<br />COBOL<br />…<br />Web Services<br />User Interface<br />ASP.NET<br />ADO.NET: Data and XML<br />Base Framework<br />Common Language Runtime<br />
  4. 4. IDE & CLR<br />Integrated Development Environment<br />Single Solution Explorer, Toolbox, and Debugger <br />IntelliSense® statement completion and squigglies<br />Create multi-language solutions<br />Common Language Runtime<br />Microsoft: Visual Basic®, C#, C++, J#, JScript®<br />3rd Party: APL, Cobol, Component Pascal, Eiffel, Fortran, Haskell, Mercury, Oberon, Oz, Perl, Python, RPG, Scheme, Smalltalk, Standard ML<br />
  5. 5. Increased Productivity<br />Simplifies mixed-language development<br />RAD across the board<br />Desktop <br />Web<br />Server <br />Mobile<br />End-to-end debugging support across <br />Languages <br />Projects<br />Processes<br />Machines<br />
  6. 6. Language Enhancements<br />Visual Basic .NET<br />Fully object oriented, supports free threading<br />Structured exception handling<br />Visual C# .NET<br />Increased productivity for C++ developer <br />Component-oriented, type-safe<br />Visual C++ .NET<br />Attribute based programming<br />Managed Extensions for C++<br />Visual J# .NET<br />Java language for .NET Platform<br />
  7. 7. Visual Basic .NET<br />
  8. 8. Visual Basic .NET Overview<br />Modern, Powerful, True OOP<br />Inheritance, overloading, shadowing, delegates, attributes, hierarchical name spaces<br />Robust <br />Strict type checking, initialize variables at declaration, variable declaration types fixed <br />Consistent <br />Single assignment operator, parenthesis use simplified<br />Simplified <br />Legacy constructs removed<br />
  9. 9. Classes & Inheritance<br />Inheritance supported<br />Derive from a single base class<br />Implicitly inherits from System.Object<br />Declarable classes<br />Overriding<br />New implementation for base class method<br />Overrides keyword<br />MyBase refers base class<br />Me refers current class<br />Overloading<br />Multiple versions of a class member<br />Based on parameter types<br />
  10. 10. Demo 1: Visual Studio .NET Integrated Development Environment <br />
  11. 11. Visual C# .NET <br />
  12. 12. Visual C# .NET Overview<br />Strong C++ heritage<br />Immediately familiar to C++ and Java developers<br />Allows C-style memory management and pointers<br />First component-oriented language in C family<br />Properties, methods, indexers, delegates, events<br />Design-time and runtime attributes<br />Enables one-stop programming<br />No header files, IDL<br />Embeddable in ASP .NET<br />
  13. 13. Component-Oriented<br />What defines a component?<br /> Properties, methods, events<br /> Design-time and runtime information<br /> Integrated help and documentation<br />First class support in C#<br /> Not naming patterns, adapters, etc.<br /> Not external files<br />Easy to build and consume<br />
  14. 14. for I = 1 To 10<br />‘ for loop<br />Next I<br />for (i=1;i<11;i++) {<br />// for loop<br />}<br />Comparison to Visual Basic<br />Syntactic Differences<br />Visual Basic is NOT case sensitive<br />In C# but not in Visual Basic<br />Pointers, shift operators, inline documentation<br />Overloaded operators, unsigned integers<br />In Visual Basic but not in C#<br />Select Case, Interface implementation<br />Dynamic arrays, modules, optional parameters<br />
  15. 15. Visual C++ .NET<br />
  16. 16. Visual C++ .NET Compiler & Language<br />Optimizations<br />Whole Program Optimization<br />Optimized inline assembly integration<br />Loop unrolling heuristics<br />Runtime checks<br />Buffer Overrun<br />Stack Corruption<br />Shortened Converts<br />Attributes – domain specific programming<br />Radically simplifies COM+ and IDL<br />Integrated with .NET Framework attributes model<br />
  17. 17. Managed Extensions<br /><ul><li>Full access to the .NET Framework from C++
  18. 18. It’s still C++
  19. 19. All enhancements are compatible extensions
  20. 20. Nothing from C++ has been changed or removed
  21. 21. Enables incremental migration to .NET
  22. 22. Existing code can be recompiled as IL
  23. 23. Mix managed code within existing applications
  24. 24. Power to drop “to the metal” when needed</li></li></ul><li>Native Libraries<br />MFC/ATL<br />Improved MFC/ATL integration<br />Integrated Web Service client<br />Windows® XP, GDI+, Crypto, NT Security, Perfmon, Accessibility<br />ATL Server<br />ATL framework for Web Services and Web applications<br />Stencil-based UI generation with integrated XML/HTML designer<br />Enhanced STL<br />Better conformance and error messages<br />Significantly improved documentation<br />
  25. 25. Visual J# .NET <br />
  26. 26. Visual J# .NET Java-language for .NET<br />Native support for XML Web services <br />Fully integrated with Visual Studio .NET development environment<br />Full access to the .NET Framework<br />ASP .NET, ADO .NET, Windows Forms<br />Integration with >20 other languages<br />Protection of existing investments<br />Use java language syntax on .NET<br />Move applications and skills forward<br />
  27. 27. Legacy Java Source<br />JavaBinary<br />Java Source targeting .NET<br />Subset of JDK 1.1.4 & VJ++ 6.0 Libraries<br />Binary<br />Converter<br />MSIL<br />MSIL<br />MSIL<br />.NET Frameworks<br />.NET Runtime<br />Win32<br />Java-language Support<br />Source<br />Converter<br />
  28. 28. .NET Extensions<br /><ul><li>To be CLS compliant
  29. 29. Syntax extensions required for CLS
  30. 30. ubyte
  31. 31. @attribute – For attaching .NET attributes
  32. 32. Support for consuming .NET constructs:
  33. 33. Properties, Events, Delegates, Value types, Enums</li></li></ul><li>Summary<br /><ul><li>.NET Language Support
  34. 34. Multi-language platform, 22 supported
  35. 35. Visual Basic .NET
  36. 36. More power, more productivity
  37. 37. Visual C++.NET
  38. 38. Power and flexibility for managed, native code
  39. 39. Visual C#.NET
  40. 40. Productivity for the C developer
  41. 41. Visual J#.NET
  42. 42. Java language support for .NET Platform</li></li></ul><li>The End<br /> ….. Thank You …..<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×