• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Pertemuan 1
 

Pertemuan 1

on

  • 137 views

 

Statistics

Views

Total Views
137
Views on SlideShare
137
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • http://windowsdevcenter.com/pub/a/dotnet/2005/09/06/what-is-dotnet.htmlhttp://sawaal.ibibo.com/computers-and-technology/what-is-language-independence-in-net-125888.html
  • http://it.toolbox.com/blogs/programming-life/memory-manangement-in-net-6788http://www.c-sharpcorner.com/UploadFile/tkagarwal/MemoryManagementInNet11232005064832AM/MemoryManagementInNet.aspxhttp://www.simple-talk.com/dotnet/performance/the-top-5-.net-memory-management-misconceptions/
  • http://en.wikipedia.org/wiki/.NET_Micro_Frameworkhttp://www.gnu.org/software/dotgnu/pnet.htmlhttp://en.wikipedia.org/wiki/Mono_%28software%29
  • http://www.codeproject.com/Articles/469416/10-More-Visual-Studio-Debugging-Tips-for-Native-De

Pertemuan 1 Pertemuan 1 Presentation Transcript

  • KI091326 PengenalanFramework .NETPertemuan ke-1 | 13 Februari 2012
  • Agenda Pengenalan Framework .NET Pengenalan Visual Studio Managing Project Structure Debugging
  • PENGENALANFRAMEWORK .NET
  • Platform .NET
  • Arsitektur Windows 8
  • Platform .NETInteroperability  Dapat mengakses fungsionalitas program/library lain yang dijalankan di luar .NET environmentCommon Language Runtime Engine (CLR)  Execution engine pada .NET framework  Menjamin keseragaman dalam hal memory management, security dan exception handling
  • Common LanguageInfrastructure (CLI)
  • Platform .NETLanguage Independence  Support Common Type System (CTS)  Common Language Infrastructure (CLI)
  • Platform .NET Base Class Library (BCL)  Berisi kelas-kelas untuk fungsi umum (I/O file, graphic rendering, database interaction, XML manipulation, dll.) Simplified Deployment  Checking previous installation & security requirements Security  Common security model (e.g. buffer overflows avoidance) Portability  Open standard
  • Class Library System System. CodeDom System. Collections System. Diagnostics System. Globalization System. IO System. Resources System. Text System. Text.RegularExpressions …
  • Memory management Non-deterministic Compacting memory Using generational  Generation 0  frequently collected  Generation 1  less frequently collected  Generation 2  least frequently collected
  • Alternatif .NET Framework Microsoft .NET Micro Framework : embedded device Mono : Windows, iOS, Android, Linux OS, PS3, Wii, Xbox, dll Portable.NET : Windows, Linux, Mac OS, dll Rotor : Mac OS Microsoft’s Shared Source CLI  tidak update sejak 2006 CrossNet  tidak aktif sejak 2007
  • Alternatif IDE untuk C# MonoDevelop SharpDevelop Notepad++ (???)
  • PENGENALANVISUAL STUDIO IDE
  • Fitur-fitur Visual Studio WPF UI Improved Intellisense  powerful autocomplete Improved searching Improved debugger  pinned datatips Managed Extensibility Framework  supports add-in, contoh: http://nuget.org/ Support Windows Azure development
  • PROJECT STRUCTUREMANAGEMENT
  • PROJECT and SOLUTION PROJECT SOLUTION Container yang mengatur  Container yang mengatur source code, data banyak project yang connections, dan interdependent menjadi references satu
  • 1. Creating a new Project (&Solutions)
  • 2. Examine Project Structure
  • 3. Looking for main code
  • 4. Running Main Program
  • 5. Adding New Project to ASolution
  •  New solution structure
  • 6. Adding References
  •  Select Projects Reference
  • 7. Using the projectreference
  • Catatan Namespace  Sebuah container untuk mengatur source code dalam sebuah project  Analoginya sama dengan folder di dalam komputer  Jika ada bagian source code yang membutuhkan referensi dari source code di namespace lain, dapat menggunakan keyword “using” untuk menyertakannya.
  • 8. Setting Startup Project
  • 9. Running main project
  • DEBUGGING
  • Mengapa harus melakukandebugging? Mengurangi bug atau cacat pada program • Salah penulisan syntaxSyntax Error • IDE modern secara otomatis mendeteksi • Kesalahan pada proses logika programLogic Error • Output tidak sesuai dengan yang diharapkan Runtime • Terjadi ketika program berjalan • Terkait masalah referensi variabel (index, Error object, pointer, dsb.)
  • Mekanisme Debugging padaVisual Studio WatchBreakpoints Data Tip Window Immediate Call Stack … Windowhttp://www.codeproject.com/Articles/79508/Mastering-Debugging-in-Visual-Studio-2010-A-Beginn
  • Tugas Instalasi Visual Studio 2010/2012 Express Mencoba mekanisme Debugging pada Visual Studio