Skip to content

Technology

Members Public

Missing Nuget Packages on TFS Build Server

This is a guest post from Scott Decker [http://scottndecker.com]. Our team recently migrated some client projects over from Team Foundation Server to Team Foundation Service (TFS). Connecting to TFS and porting the code presented little challenge. Once the builds were set up, we encountered the real trouble: missing

Members Public

How to fix NuGet packages when upgrading .NET Framework

If you find yourself in the middle of upgrading the .NET Framework on your project, you may have encountered some errors letting you know that the project's associated NuGet packages need to be re-installed. Have no fear, you are almost done with your upgrade. Long gone are the

Members Public

Could not establish trust relationship for the SSL/TLS secure channel

Let's say we want to use RestSharp [http://restsharp.org/] to call an API method in an Azure-hosted environment over HTTPS. var client = new RestClient("https://randomqaenvironment.cloudapp.net"); var request = new RestRequest("resource/{id}", Method.POST); request.AddUrlSegment("id", 123); client.

Members Public

Fixed WCF Azure Service Bus: Access is denied Exception

> Access is denied. Really?! Could you be a little more explicit? The Background I ran into this error recently when trying to deploy an application at a client. We ended up spending way too much time figuring out the root cause of this exception due to the sheer lack

Members Public

The specified blob does not exist

> Microsoft.WindowsAzure.StorageClient.StorageClientException: The specified blob does not exist. There are two different scenarios that will throw this exception when trying to call CloudBlob.DownloadText(). The first, and least interesting, is that the blob reference you are holding on to actually doesn't exist. This is simple

Members Public

The remote server returned an error: (411) Length Required

> System.Net.WebException: The remote server returned an error: (411) Length Required. This is a pretty common issue that comes up when trying to make call a REST based API method through POST. Luckily, there is a simple fix for this one. This is the code I was using

Members Public

404 Error when uploading large files into Windows Azure

I tried to upload a 30MB file into Windows Azure today using my MVC 4 site. When the file got to 99% I got a 404 error saying that my upload Action was nowhere to be found. Fortunately, I successfully uploaded a file earlier in the day at about half

Members Public

Entity Framework: There is already an open DataReader associated with this Command which must be closed first

> EntityCommandExecutionException {"There is already an open DataReader associated with this Command which must be closed first."} You get this error when your DataContext tries to retrieve a collection of objects from the database and then subsequently tries to write to an object in the same connection. For

Members Public

Why is inserting data into Azure Table Storage so slow?

I am working on a project where we are evaluating whether or not to move from SQL Azure (or whatever it's called this week) to Azure Table Storage. When I started evaluating the performance of inserting data into Table Storage I was astonished to see how slowly things

Members Public

The AudienceRestrictionCondition was not valid because the specified Audience is not present in AudienceUris

> ID1038: The AudienceRestrictionCondition was not valid because the specified Audience is not present in AudienceUris. Audience: 'http://localhost:54012' You will get this error when your <audienceUris> section in your Web.config is invalid. You need to add the value that is attached to your