Your SlideShare is downloading. ×
0
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Intro dotnet
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Intro dotnet

750

Published on

Dot Net Introduction Presentation

Dot Net Introduction Presentation

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
750
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
33
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • CLR also includes the Just-In-Time (JIT) compiler.
  • CLR also includes the Just-In-Time (JIT) compiler.
  • Transcript

    • 1. Introduction to .Net May 5, 2012
    • 2. AgendaIntroductionsWhat is .Net?.Net FrameworkAdvantages of .NetAdvantages of CLRVisual Studio 2005.Net LanguagesC# vs. VB.NetResources
    • 3. What is .Net? New programming methodology Multiple Languages (VB.Net, C#, J#, Cobol.Net, etc.) JIT Compiler Primary Parts: .Net Framework Common Language Runtime (CLR) RTM: 2002 (v1.0) 2003 (v1.1) 2005 (v2.0) 2007 (v3.0) 2009 (v3.5)
    • 4. What is .Net? New programming methodology Multiple Languages (VB.Net, C#, J#, Cobol.Net, etc.) JIT Compiler Primary Parts: .Net Framework Common Language Runtime (CLR) RTM: 2002 (v1.0) 2003 (v1.1) 2005 (v2.0)
    • 5. .Net FrameworkA set of approximately 3500 classes.Classes are divided into namespaces grouping similar classes.For organization, each class belongs to only one namespace.Most classes are lumped into a name space called System System.Data: DB access System.XML: reading/writing XML System.Windows.Forms: Forms manipulation System.Net: network communication.
    • 6. .Net FrameworkSupports Web Standards HTML XML XSLT SOAP WSDL (Web Services)ADO.Net: ActiveX Data ObjectsASP.Net: Active Server PagesILDASM: A tool used to properly display IL in ahuman readable format..Net Compact Framework (mobile devices)
    • 7. Advantages of .NetWrite once, run everywhereMultiple programming languages (20+)Coding Reduction Controls Template projects IIS/Cassini supportEase of DeploymentSecurity Features Evidence-based security Code access security The verification process Role-based security Cryptography Application domains
    • 8. Advantages of CLRJIT allows code to run in a protected environment asmanaged code.JIT allows the IL code to be hardware independent.CLR also allows for enforcement of code accesssecurity.Verification of type safety.Access to Metadata (enhanced Type Information)
    • 9. Advantages of CLRSupport for developer services (debugging)Interoperation between managed code andunmanaged code (COM, DLLs).Managed code environmentImproved memory handlingImproved “garbage collection”
    • 10. Visual Studio 2005IDE for .Net developmentDotfuscator encryption toolsCassini (IIS)Application Testing CenterTeam Suite for project managementExpress versions (free)VB6 to VB.Net conversion wizard
    • 11. .Net Programming LanguagesVisual Basic.Net 1. RPG 2. Component PascalC# 3. MercuryAPL 4. SchemeFortran 5. Curriculum 6. MondrianPascal 7. SmallTalkC++ 8. EiffelHaskell 9. Oberon 10. Standard MLPerl 11. ForthJava Language 12. OzPythonCOBOLMicrosoft JScript
    • 12. C# vs. VB.NetDifferences lie in:SyntaxObject Oriented FeaturesVisual Studio.Net IDE
    • 13. C# vs. VB.Net C# VB.NetNo Auto Case adjust Auto case adjustRequires “{, }, ;” No lineEnforces programming terminatorsrules. Requires “Begin,Unsafe Blocks End”Documentation Still intended asComments RAD tool.Operator Overloading Allows late binding
    • 14. C# vs. VB.Net C# VB.Netclass App Class App{ static void Main(string [ ] args) Shared Sub Main(ByVal args { as String( ) ) int intCounter=0; Dim arg as String Dim intCounter as Integer foreach (string arg in args) { For Each arg in args System.Console.WriteLine(“ Counter:” + System.Console.Writeline(“ intCounter.ToString() + “=“ Counter: ” & intCounter & + arg); “=“ & arg) } //end of foreach Next ‘For Each loop } //end of Main() End Sub ‘end of Main()
    • 15. Documentation Comments (C#)///<summary>///A Sample Function to demonstrate C#///</summary>///<param name=“void”>This function does not receive a parameter. </param>///<returns>Void Type</returns>Void SampleProc() { int intCounter1, intCounter2; MessageBox.show(“Counter1=” & intCounter1);} //end of SampleProc
    • 16. C#/VB.Net MythsVB.Net is intended for use with Microsoft Office.C# is the latest release of C++.C# is easier to learn than VB.Net.To learn C#, one should first learn C++.C# is more advanced than VB.NetC# runs faster than VB.Net
    • 17. End of The .Net

    ×