Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 21:05
    Massimo37 commented #39
  • 21:05
    Massimo37 commented #39
  • 20:46
    XamlFlair commented #39
  • 20:46
    XamlFlair commented #39
  • 15:39
    anaselhajjaji edited #1575
  • 15:39
    anaselhajjaji edited #1575
  • 15:39
    anaselhajjaji edited #1575
  • 15:39
    anaselhajjaji edited #1575
  • 15:39
    anaselhajjaji labeled #1575
  • 15:39
    anaselhajjaji labeled #1575
  • 15:39
    anaselhajjaji labeled #1575
  • 15:39
    anaselhajjaji labeled #1575
  • 15:39
    anaselhajjaji opened #1575
  • 15:39
    anaselhajjaji opened #1575
  • Sep 21 20:20
    TopperDEL commented #18
  • Sep 21 20:20
    TopperDEL commented #18
  • Sep 21 20:15
    TopperDEL commented #18
  • Sep 21 20:15
    TopperDEL commented #18
  • Sep 21 19:06
    TopperDEL labeled #1574
  • Sep 21 19:06
    TopperDEL labeled #1574
pkar70
@pkar70
Is livestream of second day of UnoConf available?
David Oliver
@davidjohnoliver
@Triogap The TargetFramework for the WASM head should be set to netstandard2.0. Can you try if that works?
Triogap
@Triogap
@davidjohnoliver I had that. I just rolled back to a older version dev.244 and on linux the issue apperently was that dotnet did not correctly install.
Sasha Krsmanovic
@k_sasha_twitter
@pkar70 No - day 2 is not streamed - it is a hands-on workshop
Hector Minaya
@hminaya

Hey guys, to enable XAML Hot Reload, I downloaded both the nuget pckg and the VS extension @ https://github.com/unoplatform/uno/releases... I did update my nuget packages in the solution, and restarted VS.

But it still does not reload the XAML changes, is there a step I'm missing?

yowl
@yowl
Did you add the location for where you downloaded the nuget as a new nuget source?
And check "include prerelease"
Hector Minaya
@hminaya
Yeap. Did both.
yowl
@yowl
And you had:
image.png
Hector Minaya
@hminaya
Annotation 2019-09-20 104519.jpg
yes
yowl
@yowl
that's what I did and it worked in Firefox, when you save the xaml
Hector Minaya
@hminaya
I'
I'll pull @ghuntley in a second,
Hector Minaya
@hminaya
Fixed it!... So , I was trying it with an old project, created with the old template... I created a new project, with the updated template and it now works.
yowl
@yowl
cool
Hong
@zipswich
The following works:
          <action type="Rewrite" url="_compressed_br/mono.wasm" />
The following does not:
          <action type="Rewrite" url="/_compressed_br/mono.wasm" />
yowl
@yowl
is the webconfig not in the root of the site? I presume the top one is using a url relative to web.confg, which I'd think was the same as the bottom one when the webconfig is in the root. (thought you were going to the workshop??)
Hong
@zipswich
No. It is in the directory of the generated package.
David Oliver
@davidjohnoliver
@pkar70 We'll be open-sourcing the workshop materials, however
Hong
@zipswich
I have been trying to figure out why the following works for localhost (W10 PC), but not for the production server (WS 2016):
        <rule name="Rewrite for mono.wasm" stopProcessing="true">
          <match url="mono.wasm$"/>
          <conditions>
            <!-- Match brotli requests -->
            <add input="{HTTP_ACCEPT_ENCODING}" pattern="br" />

          </conditions>
          <action type="Rewrite" url="_compressed_br/mono.wasm" />
        </rule>
I think the difference responsible for this is that on the local machine it is a web app, but on the WS 2016, it is directory of a website.
Hong
@zipswich
Changed the server to use a web app, but the above rewrite rule still does not work. The rule is not applied to mono.wasm file.
XAML Llama
@XAMLLlama_twitter
Did you miss #UnoConf? Get a recap here: https://twitter.com/XAMLLlama/status/1175070869284151296?s=20
Hong
@zipswich
The rule "Rewrite for mono.wasm" finally works for both the server and local dev box.
image.png
Mono.wasm has been reduced from 48 MB to 8 MB.
Hong
@zipswich
There is a mysterious gap of 20+ seconds during which the console does not show anything:
image.png
image.png
yowl
@yowl
Maybe that's the runtime starting?
Hong
@zipswich
I think that has something to do with the developer console. Now, the start time has dropped to less than 10 seconds for a computer with the following internet speed (with the developer console closed):
image.png
image.png
The above is the internet speed of Nventive.
Hong
@zipswich
It takes about 24 seconds to start the app on a relative new, but not that fast laptop.
image.png
It looks like that the start time depends more on a computer than the download speed.
Ronny Rosvold
@Horrorshow
Hi, is FFImageLoading supposed to work with UNO, as i have no luck with it? The working bike360 sample has this code commented out aswell, also we use alot of that library in our apps.
juepiezhongren
@juepiezhongren
@zipswich 啥情况?48m->8m? is it real for mono-wasm?
Hong
@zipswich
@juepiezhongren yes that is how much mono.wasm is compressed.
juepiezhongren
@juepiezhongren
i thought original size is able to be compiled into such a small size
were able(grammar mistake)
Hong
@zipswich
Don't know .wasm format enough to tell whether it has any compression. I wonder why the Brotli compressed files are not used by default since it is widely supported (by all major browsers). I would not be worried if only 1% of browsers do not support it. I would just give a warning and suggest the user to try a supporting browser. I wish there were a switch to allow a developer to use the compressed files by default so that he would not need to worry about URL rewrite.
juepiezhongren
@juepiezhongren
.wasm not compressed with a size of 8M? that would be fantastic
David Oliver
@davidjohnoliver
@Horrorshow Depends what platform you're targeting. FFImageLoading doesn't support WebAssembly, which is why it's commented out in the BikeSharing360 sample.
Since it supports Xamarin.iOS and Xamarin.Android you should be able to use it with Uno on those platforms (the Image class in Uno currently inherits directly from the native image class on Android and iOS)
Ronny Rosvold
@Horrorshow
ok appreciate the answer thanks.