This video shows why it may be beneficial to use the Embed Assemblies in Native Code option in your Android application.
- [Instructor] It can be comparatively trivial…to get a decompiled version of your source code…in a Xamarin Android app.…One feature in Visual Studio 2017…is available to MSDN Enterprise subscribers…to embed assemblies in native code…and help make this harder.…Unlike a Xamarin iOS application,…which is fully ahead of time compiled,…Xamarin Android APK has all the dot net assemblies…right in the APK.…I'm going to compile the Android project…in release mode.…To do this, I'm going to go out to build…and archive it, and this is going to create…an APK for us.…
Once the archive operation is complete,…I'm going to click on open folder.…Here's our APK and I'm going to rename it to a ZIP.…I'll just accept that and once it's renamed,…I can open it up and view the contents.…The top directory is called assemblies…and I'm going to open that up.…All these dlls are dot net dlls…that are being deployed right along…with our application.…
In fact, we're going to use dotPeek…to take a look at one of these.…dotPeek allows us to take a look…
- Working with tuples
- Using C# throw expressions
- Inspecting UI structures with Xamarin Inspector
- Identifying memory leaks in iOS and Android
- Recording and playing back tests with Test Record
- Using embedded assemblies in Android
Skill Level Intermediate
Learning Visual Studio Team Serviceswith Jose Miguel Rady Allende1h 17m Intermediate
1. C# 7 Language Improvements
Inspecting UI structures3m 34s
4. Test Recorder
5. Embedded Assemblies
Where to go from here1m 54s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.