Windows-Readiness / AbsoluteBeginnersWin10

Video content can be found at https://channel9.msdn.com/Series/Windows-10-development-for-absolute-beginners
MIT License
545 stars 563 forks source link

The link to the Marvel image not found is also not working #6

Open rfalanga opened 7 years ago

rfalanga commented 7 years ago

I'm going through the Windows 10 Development for Absolute Beginners course. Really loving it! 

I'm nearing completion of the project, now going through Bob Tabor's HeroExplorer app. I'm at the point where he's processing things in the MarvelFacade class, handling getting characters and making sure that the path exists and that the path isn't equal to this:

http://1.annihil.us/u/prod/marvel/i/mg/b/40/image_not_available

The only problem is that URL doesn't go anywhere now, either. I brought up 2 browsers and just testing seeing it, but got HTTP 404 errors when I tried. Does anyone know where the correct path is to image_not_available?

jhhouston commented 5 years ago

Did you ever solve this issue. I am having issues with: (It doesn't like the while loop) getting

Error: System.ArgumentOutOfRangeException: 'No mapping for the Unicode character exists in the target multi-byte code page. (Exception from HRESULT: 0x80070459)'

private async void Page_Loaded(object sender, RoutedEventArgs e) { //load and show Progress ring MyProgressRing.IsActive = true; MyProgressRing.Visibility = Visibility.Visible;

        while (MarvelCharacters.Count < 10)
        {
            //Async might take a lot of calls and take a while
            Task t = MarvelFacade.PopulateMarvelCharactersAsync(MarvelCharacters);

            //set a task to make sure the while loop does not run again until the task is completed
            await t;
        }

        MyProgressRing.IsActive = false;
        MyProgressRing.Visibility = Visibility.Collapsed;
    }