the three awesome tools by xamarin : workbooks|inspector|profiler
TRANSCRIPT
The three Awesome tools by Xamarin
- Udara Alwis -
Workbooks / Inspector / Profiler
I am Udara Alwis• Xamarin Developer / Enthusiast• Mad Love for Mobile Development / UX• Microsoft Dot Net FTW!
• 23 Years of Awesomess… • Nature, Adventures, Running, Skateboarding, Cycling, Parkour• Occasional YouTube-er!
linkedin.com/in/UdaraAlwis
Le awesome tools by Xamarin
Xamarin Workbooks Xamarin ProfilerXamarin Inspector
Xamarin Workbooks
Why? Xamarin Workbooks?• Learning Xamarin or even dot net? • Teaching or demonstrating some code demo? • Experimenting code?
You need to deal with,• IDE – Visual Studio• Create documentation• Compilate and Run?• Switch between here and there?
Behold Xamarin Workbooks!• blend of documentation and code and live previewing
Perfect for • Experimentation,• Learning and Exploring• Creating guides and Teaching aids
Features
• Code Editing
• Rich Text Editing
• Add packages and libraries
• Compiler Diagnostics / Console Output
• Preview Results (Console/Android or iOS emulators)
• Save and Share
Code Editing
• code completion and • suggestions (intellisense)
• syntax coloring, • Inline live-diagnostics,• multi-line statement support.
Rich Text Editing• Full text customizations• Text styling• Complete documentation capabilities
Add Packages and Libraries• Import Libraries on the go• Nuget packages• Search and add
Compile and Runtime Diagnostics• Compiler errors• Runtime diagnostics• Reusable variables throughout the workbook
Live Preview/Rendering• Console• Android• iOS
• Mac• WPF
DEMO – Xamarin Workbooks
Xamarin Profiler
Why? Xamarin Profiler?• As developers, make sure smooth User Experience
• make sure app is fully optimized• memory usage / resource usage• tackle mysterious crashes• flow of resource usage• where improvements are needed• native profilers can not help your Xamarin dot net code
Behold Xamarin Profiler!A tool that seamlessly integrates with your Xamarin application, collects, displays information to analyze your application.
• find memory leaks• resolve performance bottlenecks• add polish to your apps before getting them out the door.
• Based on : Mono Log profiler (command line profiler)
Xamarin Profiler Key Features / Instruments• Allocations - for tracking memory• Time Profiler - for tracking performance• Cycles - for tracking memory cycles
Additional features• Call Tree - Browse functions in the order they are called
• Sampling – Which function is taking the most time.
• Memory Snapshots - How memory isused at different points in time.
DEMO – Xamarin Profiler
Xamarin Inspector
Why? Xamarin Inspector?• As a mobile developer• A beautiful pixel perfect design
• Optimizing your UI• Recompile and run your application every time
• Even for slightest changes• Big hassle for large scale apps• Navigate to the same screen redundantly
Behold Xamarin Inspector!• Debug and explore running applications• Modify the UI without re-compiling the code
• Awesome 3D exploded view ofthe view layers
Xamarin Inspector Key Features • REPL - Interact with thecode in real time
• Visual Inspector - Visually view andedit the UI hierarchy interactively
• Supports Xamarin.Forms
DEMO – Xamarin Inspector
…well that’s it!Now go build something cool with these awesome tools by Xamarin!
Good luck and enjoy!
Thank You!
For Weekly Xamarin Articles check out my blog, https://theconfuzedsourcecode.wordpress.com
-Udara AlwisCODENAME: [ÇøŋfuzëÐ SøurcëÇødë]