Page 1 of 1

Contemplating creating an app using C#/XAML and have a few questions

Posted: Thu Mar 08, 2018 2:31 pm
by Mark Stega
I am evaluating creating a web based app using C#/XAML that is loosely based upon a legacy Silverlight app. I am not worried about namespace changes since those are easy bulk edits. For various reasons I don't want to port the SL app directly.

I am missing a few key concepts:

1) In SL I reference a lot of resources that have dictionary keys defined in app.xaml such as

Code: Select all

                    <infrastructureMVVMFrameworkHelpers:ResourceWrapper x:Key="ResourceWrapper" />
                   
                    <infrastructureMVVMFrameworkViewModel:ViewModelLocator x:Key="VMLocator" />


and then consume them in XAML as

Code: Select all

             DataContext="{Binding Source={StaticResource VMLocator}, Path=FindShared[MainPageViewModel]}">

             <TextBlock x:Name="ApplicationNameTextBlock"
                              Style="{StaticResource ApplicationNameStyle}"
                              Text="{Binding Path=ApplicationStrings.ApplicationName, Source={StaticResource ResourceWrapper}}" />


It doesn't appear that app.xaml is processed/used in the same fashion. Can you point to examples/documentation?

2) In SL there exists the navigation frame; in UWP there is the NavigationView; I haven't been able to find the equivalent functionality in C#/XAML; Can you point to examples?

3) Do I understand the roadmap correctly in that the current MSIL C# to JS transpiler will be replaced (in time) with a C# to Web Assembly transpiler?

Re: Contemplating creating an app using C#/XAML and have a few questions

Posted: Thu Mar 22, 2018 7:57 am
by JS-Support @Userware
Hi,
Sorry we are short staffed this week, please expect a reply in the coming days.
Thanks
JS-Support