Add a business entity to your project that can be shared with client applications.
- [Instructor] One of the things we want to do…with the shared library is reuse our business entities,…so we're gonna rename this Class1 to TrainingRoom.cs.…And then we'll come into the file…and actually rename the class in there as well.…And this is our model now for a room…where we can hold training, so we're gonna put…some properties on that.…Start with an ID that we can use to uniquely identify it.…I want to give it a name that's a string…so we have a familiar name that we can call it.…
And we also want to know the location,…so for now we'll just make that a string as well,…like what building is this in or where can we find it.…And finally, if we're gonna do training in this room,…we might also want to know how many computers…it has available in it.…So if we're gonna do training that involves…the computers, we know how many students…can be in that classroom at once, leveraging this.…But notice I'm keeping this quite simple,…with simple types.…I could of course have nested objects…and things like that.…When we start getting into the various platforms…
- Cross-platform code reuse
- Visual Studio install guidelines
- Remote Windows development
- Creating a .NET Standard library
- Testing on an Emulator
- Navigating a segue
- Provisioning and testing on a device
- Using constraints for a layout
- Creating list views and detail views
Skill Level Beginner
1. Welcome to Xamarin
2. Xamarin on Mac
3. Xamarin on Windows
4. Building a Shared Library
5. Building an Android Application
6. Building an iOS Application
7. Building a UWP Application
Next steps1m 11s
- 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.