InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is The Difference Between System.net.http.httpclient And Windows.web.http.httpclient In Windows 10 Uwp? |
|
Answer» System.Net.Http.HttpClient: It is available from Windows, Windows phone 8 onwards,we can USE this If you are going to develop app with cross platform such as iOS, ANDROID. This API sppports Xamarin IOS and Android development. Windows.Web.Http.HttpClient: It was FIRST introduced in Windows 8.1 and was available on Windows Phone 8.1 as well. So PRIMARY focus it can support all windows STORE languages(C#, VB, C++, JavaScript) into a single one that supports all the features from each of those APIs. We can use this If you are going to develop native UI or pass specific SSL certificates for Authentication. System.Net.Http.HttpClient: It is available from Windows, Windows phone 8 onwards,we can use this If you are going to develop app with cross platform such as iOS, Android. This API sppports Xamarin IOS and Android development. Windows.Web.Http.HttpClient: It was first introduced in Windows 8.1 and was available on Windows Phone 8.1 as well. So primary focus it can support all windows store languages(C#, VB, C++, JavaScript) into a single one that supports all the features from each of those APIs. We can use this If you are going to develop native UI or pass specific SSL certificates for Authentication. |
|
| 2. |
When Can Ui Virtualization Behavior Breaks In Windows 10 Uwp? |
|
Answer» MAKE sure you keep these two things in MIND when using ListView and GridView, which can CAUSE UI virtualization to break:
Make sure you keep these two things in mind when using ListView and GridView, which can cause UI virtualization to break: |
|
| 3. |
What Is Data Virtualization In Windows 10 Uwp? |
|
Answer» When we want to work with large set of DATA, it is not BEST PRACTICES to store all large date in memory at one time and you would be face out of memory issue or which can lead to poor performance. In this case, you can USE data virtualization to get only a subset of the data to work on demand. By default, the ListView and GridView controls support UI virtualization of the elements in the LIST. When we want to work with large set of data, it is not best practices to store all large date in memory at one time and you would be face out of memory issue or which can lead to poor performance. In this case, you can use data virtualization to get only a subset of the data to work on demand. By default, the ListView and GridView controls support UI virtualization of the elements in the list. |
|
| 4. |
How To Display Text On Console In Uwp On Windows 10? |
|
Answer» We can write text to console by using Debug.WriteLine() METHOD which is available System.Diagnostics namespaceew so System.Diagnostics.Debug.WriteLine ("Your Message Here "); Note: When you start DEBUGGING your application those MESSAGES will be displayed in the OUTPUT Window. We can write text to console by using Debug.WriteLine() method which is available System.Diagnostics namespaceew so System.Diagnostics.Debug.WriteLine ("Your Message Here "); Note: When you start debugging your application those messages will be displayed in the Output Window. |
|
| 5. |
What Is Light Sensor In Windows 10 Universal App? |
|
Answer» light SENSOR is a TYPE of environmental sensor that allow apps to respond to CHANGES in the user's ENVIRONMENT. light sensor is a type of environmental sensor that allow apps to respond to changes in the user's environment. |
|
| 6. |
What Is Contextual Sensing In Windows 10? |
|
Answer» Contextual Sensing introduced With WINDOWS 10, now developers can build apps with newly available APIs that can sense user activities such as walking, driving and working out. There are several APIs available for contextual sensing Detection APIs: These APIs attempt to detect activity states based on current MOTION of your customer, such as Walking, Running, In Vehicle, Biking, Stationary, and Idle. Pedometer API: which counts the user’s steps both when walking and running. As with activity detection, you can access history details for up to 30 days. Barometer API: it can reports atmospheric PRESSURE. Proximity API: that can enable a device to wake up or log off based upon the user’s proximity, turn off the display during a phone call, ignore pocket clicks made then the device is in the user’s pocket, and detect gestures. ALTIMETER API: that reports relative altitude i.e. changes in elevation. Contextual Sensing introduced With Windows 10, now developers can build apps with newly available APIs that can sense user activities such as walking, driving and working out. There are several APIs available for contextual sensing Detection APIs: These APIs attempt to detect activity states based on current motion of your customer, such as Walking, Running, In Vehicle, Biking, Stationary, and Idle. Pedometer API: which counts the user’s steps both when walking and running. As with activity detection, you can access history details for up to 30 days. Barometer API: it can reports atmospheric pressure. Proximity API: that can enable a device to wake up or log off based upon the user’s proximity, turn off the display during a phone call, ignore pocket clicks made then the device is in the user’s pocket, and detect gestures. Altimeter API: that reports relative altitude i.e. changes in elevation. |
|
| 7. |
How To Make Sleep For Specific Time In Uwp App Development? |
|
Answer» Previously in Silverlight windows phone, Thread.Sleep() Method was used to suspends the current thread for the specified AMOUNT of time, but it is not available for Windows 10 UWP App framework. So alternative is to use the Task.Delay() method instead. For example to MAKE app to sleep for 5 SECONDS, we can write below code in UWP: await Task.Delay(TimeSpan.FromSeconds(5)); Previously in Silverlight windows phone, Thread.Sleep() Method was used to suspends the current thread for the specified amount of time, but it is not available for Windows 10 UWP App framework. So alternative is to use the Task.Delay() method instead. For example to make app to sleep for 5 seconds, we can write below code in UWP: await Task.Delay(TimeSpan.FromSeconds(5)); |
|
| 8. |
What Is Difference Between "auto" And "*" In Windows 10 Uwp Grid Layout Definitions? |
|
Answer» AUTO: Takes as much SPACE as needed by the contained control. And it will make the each row/column size so it can fit WHATEVER is contained in it. "Star(*)": MEANS stretch row/column size to fill the available space, and is a fraction, so if one row is * and the other row is 2* then the second row will be twice the size of the first row. So for example, you may have two rows, bottom row has a button and is Auto (only as high as the button) and the top row is "*" - stretches to the remaining space available. <Grid> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Button Content="Test" Grid.Row="1" /> </Grid> Auto: Takes as much space as needed by the contained control. And it will make the each row/column size so it can fit whatever is contained in it. "Star(*)": means stretch row/column size to fill the available space, and is a fraction, so if one row is * and the other row is 2* then the second row will be twice the size of the first row. So for example, you may have two rows, bottom row has a button and is Auto (only as high as the button) and the top row is "*" - stretches to the remaining space available. <Grid> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Button Content="Test" Grid.Row="1" /> </Grid> |
|
| 9. |
What Is Variablesizedwrapgrid In Uwp? |
|
Answer» In a VariableSizedWrapGrid, ELEMENTS are arranged in rows or columns that automatically wrap to a new row or column when the MaximumRowsOrColumns value is reached. The ORIENTATION property specifies whether the grid adds its items in rows or columns before wrapping. If Orientation value is vertical: Item 1 Item 4 Item 7 Item 2 Item 5 Item 8 Item 3 Item 6 Item 9 If Orientation value is HORIZONTAL: Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 Item 7 Item 8 Item 9 In a VariableSizedWrapGrid, elements are arranged in rows or columns that automatically wrap to a new row or column when the MaximumRowsOrColumns value is reached. The Orientation property specifies whether the grid adds its items in rows or columns before wrapping. If Orientation value is vertical: Item 1 Item 4 Item 7 Item 2 Item 5 Item 8 Item 3 Item 6 Item 9 If Orientation value is Horizontal: Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 Item 7 Item 8 Item 9 |
|
| 10. |
What Are Different Type Of Layouts In Uwp? |
|
Answer» Windows 10 XAML framework PROVIDES different ways of layout system to make responsive UI. Fluid layout: Use layout properties and panels (Canvas, Grid, RelativePanel and StackPanel) to provide different ways to size and position their childrens. Adaptive layout: can help you create a DYNAMIC responsive UI based on the height or width of the device or screen. Ex: AdaptiveTrigger Tailored layout: A tailored layout is optimized for a SPECIFIC device family or range of screen sizes. Within the device family, the layout should STILL respond and ADAPT to changes within the range of supported window sizes. For exmple with Continuum for Phones, users can connect their phones to a monitor, mouse, and keyboard. This capability blurs the lines between phone and desktop device families. Windows 10 XAML framework provides different ways of layout system to make responsive UI. Fluid layout: Use layout properties and panels (Canvas, Grid, RelativePanel and StackPanel) to provide different ways to size and position their childrens. Adaptive layout: can help you create a dynamic responsive UI based on the height or width of the device or screen. Ex: AdaptiveTrigger Tailored layout: A tailored layout is optimized for a specific device family or range of screen sizes. Within the device family, the layout should still respond and adapt to changes within the range of supported window sizes. For exmple with Continuum for Phones, users can connect their phones to a monitor, mouse, and keyboard. This capability blurs the lines between phone and desktop device families. |
|
| 11. |
What Are Different Type Of Ui Elements In Uwp? |
|
Answer» In UWP, Each page has a user interface, made up of three types of UI elements: navigation, commanding, and content elements.
In UWP, Each page has a user interface, made up of three types of UI elements: navigation, commanding, and content elements. |
|
| 12. |
What Is Use Of Icommand In Uwp? |
|
Answer» Typically, when you write an application without using the MVVM pattern, to manage the user’s interaction with the user interface (for example, he clicks on a button) you subscribe to a event handler: this way, a new method will be generated in code (C#) behind, which will contain the code that will be execute when the event is raised. This APPROACH is that it creates a strong connection between the View and the code: event handlers can be managed only in code behind, but you can’t simply move it to a ViewModel. The solution is to use commands, which are SPECIAL objects (that implement the ICommand interface) that define the operation to perform when the command is EXECUTED. Note: The Windows Runtime offers only the basic interface to support commands, which is ICommand: a developer, typically, would have to create its own CLASS to implement this interface. HOWEVER, all the MVVM frameworks usually offer it and Prism makes no exception: in this case, the class is called DelegateCommand. Typically, when you write an application without using the MVVM pattern, to manage the user’s interaction with the user interface (for example, he clicks on a button) you subscribe to a event handler: this way, a new method will be generated in code (C#) behind, which will contain the code that will be execute when the event is raised. This approach is that it creates a strong connection between the View and the code: event handlers can be managed only in code behind, but you can’t simply move it to a ViewModel. The solution is to use commands, which are special objects (that implement the ICommand interface) that define the operation to perform when the command is executed. Note: The Windows Runtime offers only the basic interface to support commands, which is ICommand: a developer, typically, would have to create its own class to implement this interface. However, all the MVVM frameworks usually offer it and Prism makes no exception: in this case, the class is called DelegateCommand. |
|
| 13. |
What Is Prism In Windows App Development? |
|
Answer» it’s a very POPULAR MVVM (Model-View-ViewModel) framework created by the PATTERNS & Practices division in Microsoft, with the goal to help developers to IMPLEMENT the MVVM pattern in their application and to support the most common scenarios. Note: Now prism can support for UWP app from Prism 6 version. it’s a very popular MVVM (Model-View-ViewModel) framework created by the Patterns & Practices division in Microsoft, with the goal to help developers to implement the MVVM pattern in their application and to support the most common scenarios. Note: Now prism can support for UWP app from Prism 6 version. |
|
| 14. |
What Are The Mvvm Toolkits And Frameworks Available In Windows 10 Uwp? |
|
Answer» As PER my knowledge, below are the most popular MVVM Toolkits that can also support for Windows 10 UWP app: As per my knowledge, below are the most popular MVVM Toolkits that can also support for Windows 10 UWP app: |
|
| 15. |
Why We Need To Use Model-view-viewmodel(mvvm) Pattern? |
|
Answer» The Model-View-ViewModel pattern can be used on all XAML platforms. Its intent is to provide a clean separation of concerns between the user INTERFACE controls and their logic. Benefits:
The Model-View-ViewModel pattern can be used on all XAML platforms. Its intent is to provide a clean separation of concerns between the user interface controls and their logic. Benefits: |
|
| 16. |
What Does Semantic Zoom Control In Windows 10 Uwp? |
|
Answer» The SemanticZoom control enables the user to ZOOM between TWO different views of the same content so that they can quickly navigate through a large data set. The zoomed-in view is the main view of the content. You show the COMPLETE data set in this view. The zoomed-out view is a higher-level view of the same content. You typically show the GROUP headers for a grouped data set in this view. For example, when viewing an ADDRESS book, the user could zoom in on a letter and see the names associated with that letter. The SemanticZoom control enables the user to zoom between two different views of the same content so that they can quickly navigate through a large data set. The zoomed-in view is the main view of the content. You show the complete data set in this view. The zoomed-out view is a higher-level view of the same content. You typically show the group headers for a grouped data set in this view. For example, when viewing an address book, the user could zoom in on a letter and see the names associated with that letter. |
|
| 17. |
What Is X:phase In Windows 10 Uwp? |
|
Answer» x:Phase is a new features introduced in Windows 10, it PROVIDES the ability to prioritize the rendering of XAML controls WITHIN a data template. A common SCENARIO for this is when using a long list that has images and text, it would most likely make more sense to load the text FIRST and then the image second. Not only would this make the PAGE look better while scrolling but if a user scrolls quickly enough it could save having to render the images at all and improve the overall speed of the app. x:Phase is a new features introduced in Windows 10, it provides the ability to prioritize the rendering of XAML controls within a data template. A common scenario for this is when using a long list that has images and text, it would most likely make more sense to load the text first and then the image second. Not only would this make the page look better while scrolling but if a user scrolls quickly enough it could save having to render the images at all and improve the overall speed of the app. |
|
| 18. |
What Is The Difference Between {x:bind} And {binding} In Uwp? |
|
Answer» x:Bind and Binding can does nearly the EXACT same thing. But having some below few DIFFERENCES:
Note: x:Bind is a new features introduced in Windows 10. x:Bind and Binding can does nearly the exact same thing. But having some below few differences: Note: x:Bind is a new features introduced in Windows 10. |
|
| 19. |
What Is The Major Difference Between Uri Association And App Services In Windows 10 Uwp? |
|
Answer» Both URI Association and App SERVICES are useful for UWP app can interact with another UWP application. But only difference is URI Association used when both the applications are foreground,App services are used in background task and in that case client application MUST be in foreground and available to USE App service. Both URI Association and App services are useful for UWP app can interact with another UWP application. But only difference is URI Association used when both the applications are foreground,App services are used in background task and in that case client application must be in foreground and available to use App service. |
|
| 20. |
How To Copy Image From Assets Folder To Local Storage In Windows 10 ? |
|
Answer» StorageFile ObjStorageFile = await StorageFile.GetFileFromApplicationUriAsync( NEW Uri("ms-appx:///Assets/MyImage.png")); await ObjStorageFile.CopyAsync(ApplicationData.Current.LocalFolder, "MyImage.png"); In above code while REFERENCING your APPLICATION image from asset folder, you MUST prefix application path with "ms-appx". StorageFile ObjStorageFile = await StorageFile.GetFileFromApplicationUriAsync( new Uri("ms-appx:///Assets/MyImage.png")); await ObjStorageFile.CopyAsync(ApplicationData.Current.LocalFolder, "MyImage.png"); In above code while referencing your application image from asset folder, you must prefix application path with "ms-appx". |
|
| 21. |
How To Load Local Html Files Using Web View Control In Windows 10 Uwp App. |
|
Answer» WEBVIEW control LOADS the html content from the application’s PACKAGE USING ms-appx-web:// using network http/https. We can load the html in three ways using Source property, using NAVIGATE method and using NavigateToString. //Load local file using 'Source' property WebBrowserName.Source = new Uri("ms-appx-web:///HTMLPage.html"); //Load local file using 'Navigate' method WebBrowserName.Navigate(new Uri("ms-appx-web:///HTMLPage.html")); //Load html string using 'NavigateToString' method WebBrowserName.NavigateToString("<Html><Body><h1>Load local html string in windows phone winrt app.<h1><Body></Html>"); WebView control loads the html content from the application’s package using ms-appx-web:// using network http/https. We can load the html in three ways using Source property, using Navigate method and using NavigateToString. //Load local file using 'Source' property WebBrowserName.Source = new Uri("ms-appx-web:///HTMLPage.html"); //Load local file using 'Navigate' method WebBrowserName.Navigate(new Uri("ms-appx-web:///HTMLPage.html")); //Load html string using 'NavigateToString' method WebBrowserName.NavigateToString("<Html><Body><h1>Load local html string in windows phone winrt app.<h1><Body></Html>"); |
|
| 22. |
What Does Uri Schemes? |
|
Answer» You can use URI (Uniform Resource IDENTIFIER) schemes to refer to app files that COME from the app's PACKAGE, DATA folders, or resources. general form of URI scheme in WinRT <scheme>://<domain name>/<path> some of examples: a. App package: (ms-appx: & ms-appx-web:) To access files from your application package, you can use either a direct or a logical file path to refer to the resource. some of examples: "ms-appx:///images/logo.png" "ms-appx-web:///assets/text.html" b. App data: (ms-appdata://) To access files stored in the app data, use the ms-appdata: scheme. App data may be stored in a local folder, a roaming folder, or a temp folder. some of examples: //Local folder <Image Source="ms-appdata:///local/images/logo.png" /> //Roaming folder <Image Source="ms-appdata:///roaming/images/logo.png" /> //Temp folder <Image Source="ms-appdata:///temp/images/logo.png" /> c. App Resource: (ms-resource:) Assuming MyImage.png is content (not embedded resource) in your MyAssembly it would be LIKE this: "ms-resource://MyAssembly/Files/Images/MyImage.png" You can use URI (Uniform Resource Identifier) schemes to refer to app files that come from the app's package, data folders, or resources. general form of URI scheme in WinRT <scheme>://<domain name>/<path> some of examples: a. App package: (ms-appx: & ms-appx-web:) To access files from your application package, you can use either a direct or a logical file path to refer to the resource. some of examples: "ms-appx:///images/logo.png" "ms-appx-web:///assets/text.html" b. App data: (ms-appdata://) To access files stored in the app data, use the ms-appdata: scheme. App data may be stored in a local folder, a roaming folder, or a temp folder. some of examples: //Local folder <Image Source="ms-appdata:///local/images/logo.png" /> //Roaming folder <Image Source="ms-appdata:///roaming/images/logo.png" /> //Temp folder <Image Source="ms-appdata:///temp/images/logo.png" /> c. App Resource: (ms-resource:) Assuming MyImage.png is content (not embedded resource) in your MyAssembly it would be like this: "ms-resource://MyAssembly/Files/Images/MyImage.png" |
|
| 23. |
What Is Split View Control In Windows 10 Uwp? |
|
Answer» The new SplitView control gives you a way to easily show and HIDE transient content. It’s COMMONLY used for top-level navigation scenarios LIKE the "HAMBURGER menu", where the navigation content is hidden, and slides in when NEEDED as the result of a user action. The new SplitView control gives you a way to easily show and hide transient content. It’s commonly used for top-level navigation scenarios like the "hamburger menu", where the navigation content is hidden, and slides in when needed as the result of a user action. |
|
| 24. |
What Is Relative Panel In Windows 10 Uwp? |
|
Answer» The RelativePanel eases the PROCESS of rearranging elements by defining relationships between elements, which ALLOWS you to build more dynamic UI WITHOUT using NESTED LAYOUTS. The RelativePanel eases the process of rearranging elements by defining relationships between elements, which allows you to build more dynamic UI without using nested layouts. |
|
| 25. |
Can It Possible To Make Custom Triggers In Uwp? |
|
Answer» Yes we can CREATE our own triggers by CREATING a custom class INHERITING from StateTriggerBase.,Custom triggers helps the developers to change the state of the Visual state of the App based on certain conditions like App size changes and change the controls to fit in to the app’s layout and need to change the controls sizes when the user uses the app in EITHER MOUSE mode or touch mode and so on. Yes we can create our own triggers by creating a custom class inheriting from StateTriggerBase.,Custom triggers helps the developers to change the state of the Visual state of the App based on certain conditions like App size changes and change the controls to fit in to the app’s layout and need to change the controls sizes when the user uses the app in either mouse mode or touch mode and so on. |
|
| 26. |
What Does Adaptive Trigger In Windows 10 Uwp? |
|
Answer» AdaptiveTrigger can help you create a dynamic responsive UI based on the height or width of the device or screen. It has two important PROPERTIES: MinWindowWidth and MinWindowHeight. <Page> <Grid> <VisualStateManager.VisualStateGroups> <VisualStateGroup> <VisualState> <VisualState.StateTriggers> <!--VisualState to be triggered when window width is >=750 and windows height is >=900 effective pixels.--> <AdaptiveTrigger MinWindowWidth="750" MinWindowHeight="900" /> </VisualState.StateTriggers> <VisualState.Setters> <Setter Target="myPanel.Orientation" Value="Horizontal" /> </VisualState.Setters> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <StackPanel x:Name="myPanel" Orientation="Vertical"> <TextBlock Text="text block 1. "/> <TextBlock Text="text block 2. "/> <TextBlock Text="text block 3. " /> </StackPanel> </Grid> </Page> From above code, StateTriggers property with an AdaptiveTrigger to create a DECLARATIVE rule in XAML MARKUP based on window size. By default, the StackPanel orientation is Vertical. When the window width is >= 750 and the windows height is >=900 effective pixels, the VisualState change is triggered, and the StackPanel orientation is changed to Horizontal. AdaptiveTrigger can help you create a dynamic responsive UI based on the height or width of the device or screen. It has two important properties: MinWindowWidth and MinWindowHeight. XAML <Page> <Grid> <VisualStateManager.VisualStateGroups> <VisualStateGroup> <VisualState> <VisualState.StateTriggers> <!--VisualState to be triggered when window width is >=750 and windows height is >=900 effective pixels.--> <AdaptiveTrigger MinWindowWidth="750" MinWindowHeight="900" /> </VisualState.StateTriggers> <VisualState.Setters> <Setter Target="myPanel.Orientation" Value="Horizontal" /> </VisualState.Setters> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <StackPanel x:Name="myPanel" Orientation="Vertical"> <TextBlock Text="text block 1. "/> <TextBlock Text="text block 2. "/> <TextBlock Text="text block 3. " /> </StackPanel> </Grid> </Page> From above code, StateTriggers property with an AdaptiveTrigger to create a declarative rule in XAML markup based on window size. By default, the StackPanel orientation is Vertical. When the window width is >= 750 and the windows height is >=900 effective pixels, the VisualState change is triggered, and the StackPanel orientation is changed to Horizontal. |
|
| 27. |
What Does State Triggers In Windows 10 Uwp? |
|
Answer» StateTriggers is property of VisualState, which can defines a RULE in Xaml that specify when a particular VisualState is to be APPLIED. And it allows the developer to check CERTAIN conditions like the WINDOW height or window width and then the VisualState.Setters property DEFINE visual states in response to those certain conditions. StateTriggers is property of VisualState, which can defines a rule in Xaml that specify when a particular VisualState is to be applied. And it allows the developer to check certain conditions like the window height or window width and then the VisualState.Setters property define visual states in response to those certain conditions. |
|
| 28. |
What Is Visualstatemanager In Windows 10 Uwp? |
|
Answer» In Windows 10, the VisualStateManager class has two new mechanisms with the help of which you can implement a responsive design in your UWP applications. And it is used to define, MANAGE, and transition between DIFFERENT STATES of controls on a page. VisualStateGroup: it is having group of Visual States, where each VisualState has a name that is representative of a UI state that can be changed by the user, or changed by control logic. A VisualState consists mainly of a Storyboard. GoToState: GoToState method is very useful to manage/transition between Visual States. When we call GoToState to change the visual state of a control, VisualStateManager can determined whether a state that matches stateName exists.If exist,corresponding storyboard will begins and If not exist, nothing happens and the method returns false. In Windows 10, the VisualStateManager class has two new mechanisms with the help of which you can implement a responsive design in your UWP applications. And it is used to define, manage, and transition between different states of controls on a page. VisualStateGroup: it is having group of Visual States, where each VisualState has a name that is representative of a UI state that can be changed by the user, or changed by control logic. A VisualState consists mainly of a Storyboard. GoToState: GoToState method is very useful to manage/transition between Visual States. When we call GoToState to change the visual state of a control, VisualStateManager can determined whether a state that matches stateName exists.If exist,corresponding storyboard will begins and If not exist, nothing happens and the method returns false. |
|
| 29. |
What Is Collectionviewsource In Windows App? |
|
Answer» CollectionViewsSource is XAML MARKUP, it can group all data list objects and BIND them to the corresponding controls all in XAML. It has a property called Source that defines the collection of objects or data to bind to the control which is usually SET it in CODE(C#) BEHIND. CollectionViewsSource is XAML markup, it can group all data list objects and bind them to the corresponding controls all in XAML. It has a property called Source that defines the collection of objects or data to bind to the control which is usually set it in code(C#) behind. |
|
| 30. |
What Is The Difference Between Gridview And Listview In Windows App Development? |
Answer»
|
|
| 31. |
What Is App Package Manifest In Uwp? |
|
Answer» The PACKAGE manifest is an XML document that contains the info the system needs to deploy, display, or update a Windows app. This info includes package identity, package dependencies, REQUIRED CAPABILITIES, visual elements, and extensibility points. EVERY app package must include one package manifest. The package manifest is an XML document that contains the info the system needs to deploy, display, or update a Windows app. This info includes package identity, package dependencies, required capabilities, visual elements, and extensibility points. Every app package must include one package manifest. |
|
| 32. |
What Are The Different Application Running Modes In Windows App Development? |
|
Answer» When you compile an application, you usually choose between below two modes: Debug: Debug mode pads the executable FILE with extra information used for debugging purpose. After your application is bug-free and feature-complete, there's no LONGER any need to keep the debug information. Release: Compiling in Release mode gives you a more compact (and even slightly FASTER) executable that doesn't include unnecessary internal debugging symbols Note: Before submitting our windows app to windows store, You need to set target PLATFORM as ARM while creating .APPX in release mode because mobile phone have ARM processors so they will need .APPX build on ARM configuration. x86, X64 is for emulators only. When you compile an application, you usually choose between below two modes: Debug: Debug mode pads the executable file with extra information used for debugging purpose. After your application is bug-free and feature-complete, there's no longer any need to keep the debug information. Release: Compiling in Release mode gives you a more compact (and even slightly faster) executable that doesn't include unnecessary internal debugging symbols Note: Before submitting our windows app to windows store, You need to set target platform as ARM while creating .APPX in release mode because mobile phone have ARM processors so they will need .APPX build on ARM configuration. x86, X64 is for emulators only. |
|
| 33. |
How To Get The Device Platform On Windows 10 Uwp App? |
|
Answer» From Windows 10, now no more than one app package and we can use only one BINARY package that can run across all Microsoft platforms (Mobile,Desktop,XBOX,SURFACE Hub, HOLOGRAPHIC, IOT..etc). So you might want to get the device platform type from your app using c#. And you can use the DeviceFamily property defined in the Windows.System.Profile.AnalyticsInfo.VersionInfo class. public void GetPlatformType() { var WindowsPlatformFamily = Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamily; } From Windows 10, now no more than one app package and we can use only one binary package that can run across all Microsoft platforms (Mobile,Desktop,Xbox,Surface Hub, Holographic, IOT..etc). So you might want to get the device platform type from your app using c#. And you can use the DeviceFamily property defined in the Windows.System.Profile.AnalyticsInfo.VersionInfo class. public void GetPlatformType() { var WindowsPlatformFamily = Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamily; } |
|
| 34. |
What Are Prerequisites To Deploy .appx File? |
|
Answer» MAKE sure to enable developer mode for windows 10 devices, before .appx deployment. Otherwise you will get below error "Error : DEP0001 : Unexpected Error: To install this application you need EITHER a Windows developer license or a sideloading-enabled system. (Exception from HRESULT: 0x80073CFF)" Step to enable Developer Mode: GO into the Settings of a Windows 10 phone DEVICE and search for Update & Security category and turn on Developer Mode. Make sure to enable developer mode for windows 10 devices, before .appx deployment. Otherwise you will get below error "Error : DEP0001 : Unexpected Error: To install this application you need either a Windows developer license or a sideloading-enabled system. (Exception from HRESULT: 0x80073CFF)" Step to enable Developer Mode: Go into the Settings of a Windows 10 phone device and search for Update & Security category and turn on Developer Mode. |
|
| 35. |
What Is Maximum Size Of .appx File? |
Answer»
|
|
| 36. |
What Is Side Load Of App Package? |
|
Answer» With UWP app PACKAGES, you cannot simply install an app to your device like DESKTOP APPS. TYPICALLY, you download these apps from the Store and that is how they are INSTALLED on your device. But you can sideload apps to your device without submitting them to the Store. This lets you install them and test them out using the app package (.appx) that you have created. If you have an app that you don’t want to sell in the Store, like a line-of-business (LOB) app, you can sideload that app so that other users in your company can use it. With UWP app packages, you cannot simply install an app to your device like Desktop apps. Typically, you download these apps from the Store and that is how they are installed on your device. But you can sideload apps to your device without submitting them to the Store. This lets you install them and test them out using the app package (.appx) that you have created. If you have an app that you don’t want to sell in the Store, like a line-of-business (LOB) app, you can sideload that app so that other users in your company can use it. |
|
| 37. |
What Are The Different Architecture Configurations For Creating Packages In Windows 10 Uwp App? |
Answer»
|
|
| 38. |
What Is Package.appxmanifest File In Winrt Windows Phone 8.1? |
|
Answer» From WinRT windowsphone 8.1 sdk, OLD windowsphone 8.0 "WMAppManifest.xml" FILE is renamed to "Package.appxmanifest" which is very similar to the WINDOWS STORE apps . Package.appxmanifest is xml file that included all info of our application such as targeted APP OS version,App display name,App icons,capability permissions to run app,Start page to be App launch..etc. From WinRT windowsphone 8.1 sdk, old windowsphone 8.0 "WMAppManifest.xml" file is renamed to "Package.appxmanifest" which is very similar to the Windows Store apps . Package.appxmanifest is xml file that included all info of our application such as targeted app OS version,App display name,App icons,capability permissions to run app,Start page to be App launch..etc. |
|
| 39. |
What Are The Programming Languages For Windows App Development? |
|
Answer» Preferred languages on priority based:
Preferred languages on priority based: |
|
| 40. |
What Is Suspension Manager In Windows Phone 8.1? |
|
Answer» It is a KIND of helper class and PROVIDES the NECESSARY properties and methods to load and store the state when the windows phone store app is terminated. Note: This class is automatically ADDED to the solution if we use the Hub App, Grid App, and Split App project template or add to an existing project a BasicPage or any other Page ITEM template other than BlankPage. It is a kind of helper class and provides the necessary properties and methods to load and store the state when the windows phone store app is terminated. Note: This class is automatically added to the solution if we use the Hub App, Grid App, and Split App project template or add to an existing project a BasicPage or any other Page item template other than BlankPage. |
|
| 41. |
Can Windows 10 Sdk Work With Below Os Versions Like Windows 8.1/windows 8.0/windows 7..etc? |
|
Answer» Yes, but windows 10 SDK (Which is available with Visual Studio 2015 update 1 or later IDE) works BEST on the Windows 10 operating SYSTEM and it is also supported on: Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2, but not all tools are supported on these operating systems. Yes, but windows 10 SDK (Which is available with Visual Studio 2015 update 1 or later IDE) works best on the Windows 10 operating system and it is also supported on: Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2, but not all tools are supported on these operating systems. |
|
| 42. |
What Are The Major Development Differences Between Winrt Universal App & Windows 10 Uwp? |
|
Answer» There are so many improvements on Unviersal Windows app DEVELOPMENT for Windows 10 from Windows 8.1 experience.
There are so many improvements on Unviersal Windows app development for Windows 10 from Windows 8.1 experience. |
|
| 43. |
What Is Uap & Uwp, Is There Any Difference? |
|
Answer» UAP is STANDS for UNIVERSAL App Platform and UWP is stands for Universal Windows Platform. Both meant for same thing that will ENABLE Windows 10 developers to write one app for 'All Windows Platform family DEVICES.' UAP is stands for Universal App Platform and UWP is stands for Universal Windows Platform. Both meant for same thing that will enable Windows 10 developers to write one app for 'All Windows Platform family devices.' |
|
| 44. |
What Is Uwp? |
|
Answer» From windows 10 OS Microsoft introduce a major change in mobility platform is called UNIVERSAL Windows Platform (UWP). And which is available across all Windows device families(Mobile,Desktop,XBOX,Surface Hub, Holographic, IOT..etc), you can REACH all these devices and look great on them all USING ONE store and one code base. From windows 10 OS Microsoft introduce a major change in mobility platform is called Universal Windows Platform (UWP). And which is available across all Windows device families(Mobile,Desktop,Xbox,Surface Hub, Holographic, IOT..etc), you can reach all these devices and look great on them all using one store and one code base. |
|
| 45. |
Silverlight Windows Phone Vs Winrt Windows Phone? |
Answer»
|
|
| 46. |
What Is Windows App Store? |
|
Answer» Windows store is the place where you can Install/purchase apps for Windows and windows phone devices.In ORDER to get any Windows/WindowsPhone apps, including free apps from windows store you’ll be prompted to set up a Microsoft account, or use your EXISTING Microsoft email to start using Windows store apps. Once you set up an account, with an email and PASSWORD, you can start using the Windows app store. For more INFO following DETAILS are major mobility platform store places:
Windows store is the place where you can Install/purchase apps for Windows and windows phone devices.In order to get any Windows/WindowsPhone apps, including free apps from windows store you’ll be prompted to set up a Microsoft account, or use your existing Microsoft email to start using Windows store apps. Once you set up an account, with an email and password, you can start using the Windows app store. For more info following details are major mobility platform store places: |
|
| 47. |
What Is Windows Store App? |
|
Answer» A WINDOWS Store app (FORMER "Metro-style app") is a new TYPE of application that only runs on Windows Tablets. A Windows Store app resembles the apps that are run on smartphones. The user INTERFACE is very different compared to traditional desktop apps user interfaces, and without a TOUCHSCREEN they can sometimes be more difficult to use than a desktop app. The biggest advantage of a Windows Store app is when it's used on a tablet computer or on a laptop computer with touch sensitive screen - then it can use its full potential. A Windows Store app (former "Metro-style app") is a new type of application that only runs on Windows Tablets. A Windows Store app resembles the apps that are run on smartphones. The user interface is very different compared to traditional desktop apps user interfaces, and without a touchscreen they can sometimes be more difficult to use than a desktop app. The biggest advantage of a Windows Store app is when it's used on a tablet computer or on a laptop computer with touch sensitive screen - then it can use its full potential. |
|
| 48. |
What Is Universal App Development? |
|
Answer» From Windows Phone 8.1 OS, Microsoft introduces an important change in the Windows Phone developer ecosystem is called universal APP concept. In this release, Windows Phone converges with the Windows Store APPS PLATFORM into a single developer platform that runs the same types of apps i.e Windows RUNTIME apps. Windows Phone and Windows Store app developer platforms truly have become ONE, single development platform. In single world, Universal app is a single development platform for windows phone and windows store apps. From Windows Phone 8.1 OS, Microsoft introduces an important change in the Windows Phone developer ecosystem is called universal app concept. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps i.e Windows Runtime apps. Windows Phone and Windows Store app developer platforms truly have become one, single development platform. In single world, Universal app is a single development platform for windows phone and windows store apps. |
|