Shane Bartholomeusz

Technical Solutions Consultant

Tag: ASP.NET (page 1 of 2)

Fixed: WCF Test Client Max Size Error

Problem

When querying a web service using the WCF Test Client you might encounter the below error message. In this article I'll show you how to resolve this issue.

The maximum message size quota for incoming messages (65536) has been exceeded.

Error message screenshot
Continue reading

Dynamics 365: The underlying connection was closed

Problem

While upgrading a .NET customisation that interfaced with our client Dynamics 365 online environment (Version 9). I encountered the following error while attempting to fetch some records from our Dynamics 365 instance. Continue reading

.NET Network Tracing

System.Net Tracing

ASP.NET Logo

I recently had to troubleshoot a network communication. My app was unable to call an external service endpoint. Troubleshooting network issues can sometimes be as fun as pulling out your own teeth.

In this post I wanted to share a nifty way to perform low-level troubleshooting, which ultimately saved my bacon.

Continue reading

ApplicationHost.config Not Working

Quick Tip

IIS stores most of your website configuration in the applicationHost.config file. When performing repetitive tasks it’s often quicker and easier to apply changes directly to the applicationHost.config file rather than via the IIS manager user interface.

Continue reading

Aspnetcore.dll failed to load. The data is the error

The Problem

When trying to locally debug a newly created solution within Visual Studio 2015 I encountered the below error when locally launching the application using IIS Express

A process with the ID of <id> is not running

ASP.NET Logo

Seeing no errors logged in the Visual Studio Output window, I checked the Windows Event Viewer and found the following error:

The Module DLL C:\Program Files (x86)\IIS Express\aspnetcore.dll failed to load. The data is the error.

The error was a bit confusing because it alluded to ASP.NET Core even though I wasn't using this in my project.

Continue reading

How to Parse IIS Logs using Log Parser Studio

Logs, Logs, Logs!!!

Ever had to parse mounds of IIS web server logs for specific metrics? It can be quite painful and time-consuming!

Log Parser Studio is a fantastic utility designed for this very purpose. It can parse various flat file formats using an SQL like query language.

Continue reading

Enable Detailed IIS Error Messages

Enabling Detailed Errors

By default, IIS hides detailed error messages however you can enable it through either of the following ways.

Obviously this should only be enabled in a non-production environment as it may create potential security implications.

Continue reading

ASP.NET App Suspend

What is it?

ASP.NET Logo

The .NET Framework 4.5.1 introduces a nice new feature called App Suspend to improve web application performance, and most importantly improve the end-user experience with virtually zero setup required.

MSDN claim that this feature can improve web application startup performance by 90%!!!

 

Continue reading

Hide the annoying WCF Test Client

WCF Test Client

The WCF Test Client can be quite a useful tool when developing .Net web services using Visual Studio, however sometimes you don't need it automatically launching when you start your project … it gets quite annoying!

 

WCF Test Client Screenshot

 

Continue reading

ASP.NET Assembly Interning

ASP.NET Logo

What is it?

ASP.NET 4.5 introduces a new feature called Assembly Interning allowing you to run a single instance of a shared assembly in memory. This approach provides performance improvements on cold start and reduces overall server memory usage.

Continue reading

Older posts

© 2020 Shane Bartholomeusz

Theme by Anders NorenUp ↑