Click here to Skip to main content
14,176,439 members

Design and Architecture

 
GeneralRe: Send Purchase Order and Verify Email Pin
phil.o18-May-19 7:19
mvephil.o18-May-19 7:19 
Questionn-Tier Architecture and Async Pin
Kevin Marois10-May-19 6:07
professionalKevin Marois10-May-19 6:07 
AnswerRe: n-Tier Architecture and Async Pin
Richard Deeming10-May-19 6:46
mveRichard Deeming10-May-19 6:46 
GeneralRe: n-Tier Architecture and Async Pin
Kevin Marois10-May-19 7:18
professionalKevin Marois10-May-19 7:18 
GeneralRe: n-Tier Architecture and Async Pin
Richard Deeming10-May-19 9:02
mveRichard Deeming10-May-19 9:02 
GeneralRe: n-Tier Architecture and Async Pin
Kevin Marois10-May-19 9:10
professionalKevin Marois10-May-19 9:10 
GeneralRe: n-Tier Architecture and Async Pin
Richard Deeming10-May-19 9:50
mveRichard Deeming10-May-19 9:50 
GeneralRe: n-Tier Architecture and Async Pin
Kevin Marois10-May-19 10:08
professionalKevin Marois10-May-19 10:08 
OK I understand, but the question still remains..

How do you properly make a piece of code async? Most examples only show how to CALL an async method.
This SO question is exactly what I'm asking
public async List<SomeEntity> GetSomeEntities()
{
    return await SomePlace.SomeMethod();
}
What makes 'SomeMethod' async? What I want is for the client to make a call, fire it off, and then handle the results when its finished. But down the end something has to be coded in such a way that its async. What does that look like?

The SO posting has this answer
await Task.Run(() => ...);
[Here's another similar SO post](https://stackoverflow.com/questions/21700846/how-to-write-an-awaitable-method)

but it sounds like you're saying that this isnt't the way to make the method async.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.


modified 10-May-19 16:50pm.

GeneralRe: n-Tier Architecture and Async Pin
Richard Deeming10-May-19 11:05
mveRichard Deeming10-May-19 11:05 
GeneralRe: n-Tier Architecture and Async Pin
Nathan Minier10-May-19 7:32
professionalNathan Minier10-May-19 7:32 
GeneralRe: n-Tier Architecture and Async Pin
Kevin Marois10-May-19 7:36
professionalKevin Marois10-May-19 7:36 
QuestionLookup Editor Design Question Pin
Kevin Marois27-Apr-19 7:28
professionalKevin Marois27-Apr-19 7:28 
AnswerRe: Lookup Editor Design Question Pin
Mycroft Holmes27-Apr-19 13:29
memberMycroft Holmes27-Apr-19 13:29 
GeneralRe: Lookup Editor Design Question Pin
Kevin Marois27-Apr-19 13:44
professionalKevin Marois27-Apr-19 13:44 
GeneralRe: Lookup Editor Design Question Pin
Mycroft Holmes27-Apr-19 13:49
memberMycroft Holmes27-Apr-19 13:49 
GeneralRe: Lookup Editor Design Question Pin
Kevin Marois27-Apr-19 13:57
professionalKevin Marois27-Apr-19 13:57 
GeneralRe: Lookup Editor Design Question Pin
Eddy Vluggen28-Apr-19 1:09
mveEddy Vluggen28-Apr-19 1:09 
QuestionJ2EE or the other stuff. Pin
abmv22-Apr-19 7:35
professionalabmv22-Apr-19 7:35 
AnswerRe: J2EE or the other stuff. Pin
Eddy Vluggen22-Apr-19 8:00
mveEddy Vluggen22-Apr-19 8:00 
AnswerRe: J2EE or the other stuff. Pin
Gerry Schmitz22-Apr-19 8:30
mveGerry Schmitz22-Apr-19 8:30 
AnswerRe: J2EE or the other stuff. Pin
jschell27-Apr-19 7:54
memberjschell27-Apr-19 7:54 
QuestionDropBox Style App Pin
Kevin Marois17-Apr-19 11:07
professionalKevin Marois17-Apr-19 11:07 
AnswerRe: DropBox Style App Pin
abmv22-Apr-19 7:43
professionalabmv22-Apr-19 7:43 
AnswerRe: DropBox Style App Pin
Eddy Vluggen22-Apr-19 7:58
mveEddy Vluggen22-Apr-19 7:58 
AnswerRe: DropBox Style App Pin
Gerry Schmitz22-Apr-19 8:36
mveGerry Schmitz22-Apr-19 8:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190525.1 | Last Updated 18 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid