Misuse - Longrunning Operations Under async Methods

We noticed that developers use some potentially long running operations under async methods even though there are corresponding asynchronous versions of these methods in .NET or third-party libraries.

We highlight the corresponding code snippet in the source file through Github! Just click the 'Link to Source Code'.
For now, we included all usages from only Github applications because Codeplex does not allow to highlight the code snippet in their source code viewer interface. If the link to the app is broken, it means that the application repository is removed from its hosting service (Github or Codeplex).

Method Name Link
private async void ButtonCheckCredentials_Click (object sender, RoutedEventArgs e)Link to Source Code
public static async Task<String> getRequestAsync (string url)Link to Source Code
public static async Task<String> putRequestAsync (string url, string putData)Link to Source Code
public static async Task<String> postRequestAsync (string url, string postData, string authorization = "", bool Expect100Continue = true)Link to Source Code
public async static Task<bool> CreatWriteTo (string path, string fname, string str)Link to Source Code
public async static Task<Tuple> ReadFrom (string fpathname)Link to Source Code
public async Task<string> PostXml (string url, string postdata)Link to Source Code
public async Task<string> Get (string url)Link to Source Code
private async void ReproduceSpeech (string templatePth, object currentText)Link to Source Code
private async Task InitializeCategories ()Link to Source Code
private async Task InitializeEvents ()Link to Source Code
private async Task InitializeDays ()Link to Source Code
public async Task<String> Login (String username, String password, String captcha, String loginCode)Link to Source Code
public async Task<byte[]> ReadAsByteArrayAsync ()Link to Source Code
protected override async Task SerializeToStreamAsync (Stream stream, TransportContext context)Link to Source Code
public async Task<byte[]> ReadAsByteArrayAsync ()Link to Source Code
protected override async Task SerializeToStreamAsync (Stream stream, TransportContext context)Link to Source Code
async private Task WaitForNetwork ()Link to Source Code
async private Task InitializeUserDataAndServices ()Link to Source Code
public async Task<bool> IsValidLoginCredential (LoginCredentialModel loginCredential)Link to Source Code
public async Task<ProfileModel> GetProfileForUser (int memberId, LoginCredentialModel loginCredential)Link to Source Code
public async Task<int> GetMemberIdForUser (LoginCredentialModel loginCredential)Link to Source Code
public async Task ClassInit ()Link to Source Code
private async void BT2Arduino_Send (string WhatToSend)Link to Source Code
public static async Task<FlipTileData> CreateTileData (Uri tileUri)Link to Source Code
private async Task LogInCommandReceived ()Link to Source Code
public async Task RetrieveServerMessage (string url)Link to Source Code
private async void CreateAndOpenFileClicked (object sender, RoutedEventArgs e)Link to Source Code
public static async Task<string> Upload (string uploadUrl, byte[] content)Link to Source Code
public async Task UpdateListFromRemote ()Link to Source Code
public async void LoadData ()Link to Source Code
private async void CameraCaptureTaskCompleted (object sender, PhotoResult e)Link to Source Code
private async void ExchangeAuthorizationCode (string authorizationCode)Link to Source Code
private async void ExecuteInitialLoad ()Link to Source Code
private async void ChangeStaredStatus (GoogleFileViewModel fileViewModel)Link to Source Code
private async Task RefreshFilesAsync ()Link to Source Code
private async Task<bool> DeleteFileAsync (GoogleFileViewModel fileViewModel)Link to Source Code
private async void CreateNewFolder ()Link to Source Code
private async void RenameFile ()Link to Source Code
private async void DownloadFile ()Link to Source Code
public static async Task<T> SendAndDeserialize (this HttpClient client, HttpRequestMessage requestMessage, CancellationToken cancellationToken)Link to Source Code
private async void ExchangeAuthorizationCode (string authorizationCode)Link to Source Code
private async void ExecuteInitialLoad ()Link to Source Code
private async void ChangeStaredStatus (GoogleFileViewModel fileViewModel)Link to Source Code
private async Task RefreshFilesAsync ()Link to Source Code
private async Task<bool> DeleteFileAsync (GoogleFileViewModel fileViewModel)Link to Source Code
private async void CreateNewFolder ()Link to Source Code
private async void RenameFile ()Link to Source Code
private async void DownloadFile ()Link to Source Code
public async Task<KinveyHandshakeResponse> Do ()Link to Source Code
public async Task<T> Create (T t)Link to Source Code
public async Task<T> Update (T t)Link to Source Code
private static async Task<TR> GetResult (IHttpResponseMessage response)Link to Source Code
private static async Task<TResponse> ResponseOrError (IHttpResponseMessage response)Link to Source Code
public async Task<HttpWebResponse> DispatchRequest (string httpMethod, string apiUrl, Dictionary parameters)Link to Source Code
public async void GetDiscoveryStreamAsync (Dictionary parameters = null)Link to Source Code
public async void GetGroupInfoAsync (string groupId, Dictionary parameters = null)Link to Source Code
public async void GetGroupPhotosAsync (string groupId, Dictionary parameters = null)Link to Source Code
public async void GetRequestTokenAsync ()Link to Source Code
public async void GetAccessTokenAsync ()Link to Source Code
public async void GetEXIFAsync (string photoId)Link to Source Code
public async void SearchPhotoAsync (string searchSessionId, string query = null, string tags = null, Dictionary parameters = null)Link to Source Code
public async void SearchGroupsAsync (string searchSessionId, string query = null, Dictionary parameters = null)Link to Source Code
public async void GetPhotoSetListAsync (string userId)Link to Source Code
public async void GetPhotoSetPhotosAsync (string setId, Dictionary parameters = null)Link to Source Code
public async void GetPopularTagListAsync ()Link to Source Code
public async void UploadPhoto (string sessionId, string fileName, Stream stream, Dictionary parameters = null)Link to Source Code
private async Task<HttpWebResponse> UploadDataAsync (string fileName, Stream imageStream, Dictionary parameters)Link to Source Code
public async void GetPhotoStreamAsync (string userId, Dictionary parameters = null)Link to Source Code
public async void GetGroupListAsync (string userId, Dictionary parameters = null)Link to Source Code
private async void ProcessFiles (string result)Link to Source Code
private async void EncryptAndUploadCards (ObservableCollection cards)Link to Source Code
async public void readfile (string filepath)Link to Source Code
async public void readfileToken (string fileToken)Link to Source Code
async public void readfileFromSandbox (string fileToken)Link to Source Code
private async Task GetResponseCallback (Task<WebResponse> task)Link to Source Code
public async Task<byte[]> ReadAsByteArrayAsync ()Link to Source Code
protected override async Task SerializeToStreamAsync (Stream stream, TransportContext context)Link to Source Code
public async Task<byte[]> ReadAsByteArrayAsync ()Link to Source Code
protected override async Task SerializeToStreamAsync (Stream stream, TransportContext context)Link to Source Code