Giter Club home page Giter Club logo

aspnetcore-sync-async-ef's Introduction

ASP.NET Core - Sync to Async

This is a demo app showing sync versus async calls with ASP.NET Core and Entity Framework Core. It also includes a simple Angular app that consumes the data. You can view a Play-by-Play course about the topic on Pluralsight.com:

https://app.pluralsight.com/library/courses/play-by-play-converting-to-asynch-calls/table-of-contents

Important Note:

Is asynchronous code always appropriate? Absolutely not! It can benefit some apps and harm others. This code sample is designed to show synchronous code and how it can be converted to asynchronous code - not to make the determination if async code is appropriate for your app. Every application is different so it's important to do performance testing and evaluate if async code will actually benefit your application. There are situations (such as with long database calls) where it could actually hurt the performance of your app depending on how your thread pools are configured.

One size NEVER fits all so don't assume that migrating sync code to async will provide a benefit to your app. Put in the time to do the necessary testing.

Requirements

  • ASP.NET Core 1.0 or higher

aspnetcore-sync-async-ef's People

Watchers

James Cloos avatar  avatar

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.