Giter Club home page Giter Club logo

applying-asynchronous-programming-c-sharp's People

Contributors

fekberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

applying-asynchronous-programming-c-sharp's Issues

StockAnalyzer.Web project in cross platform is targeting .Net 4.7.2 instead of aspnetCore

hi

I was following the course on pluralsight and tried the code on both :
ubuntu (LTS latest) on a x86 core
osx on a ARM core

both of them failed to build the web solution. The wpf solution works just fine after changing the netcoreapp3.1 to netcoreapp5.0 just fine.

Could you make an update to the StockAnalyzer.Web solution inside the crossPlatform folder to target aspnetcore so that it runs on other platforms as well ? i will be happy to test for you

Thanks again for the great course :)

Website gives a 404

The API_URL in mainwindow.xaml.cs of StockAnalyzer.Windows gives a 404..
it's in folder 02.

Newtonsoft

Good Morning,

I'm a little bit of a newb as it relates to C# programming (working on my second college course on C#). I am having problems on using these files. I have downloaded the zip. I copied it into C:\Code\PluralSight then extracted it. At first it was in a different directory and read some post about insuring the path isn't too long as that can cause problems. also when unzipping files that can cause my problem. Below is a screen shot of errors i'm getting when trying to run practice exercises. I did "restore Nuget" and rebuilt.

Screenshot 2021-02-02 070430

Avoid using Task.Run in ASP.Net Core

Hi dear filip

I have seen your video and in one wideo you said we should use Task.Run to convert a sync method to async version.

I have read this article : ASP.NET Core Performance Best Practices

In a paragraph has been said: Do not use Task.Run to make a synchronous API asynchronous.

I have ask a similar question in stackoverflow: Using Task.Run in ASP.Net Core

I'm confused and I want to know:

  1. How can I convert a sync method to async version in ASP.Net Core?
  2. If there is no async version of a method should we write sync web method?
  3. What is the best way to write async method?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.