Geeks With Blogs

News
Elton Stoneman (@EltonStoneman) IT Consultant, integration specialist, @Microsoft MVP and @Pluralsight author. .NET 4.0
Batching up memory-intensive parallel tasks
It’s surprising how easily you can bring down a .NET app. We’ll be starting the new year with a bulk load of data into the system we’re building, and now we’re load testing and verifying everything gets processed as expected. We’re fortunate that we have a snapshot of the expected data load, which contains around 70,000 incoming messages. We rely heavily on a separate system providing static data to enrich each message and we want to be sure that system has data for all the entities we’ll be pushing ......

Posted On Monday, December 9, 2013 4:44 PM

Using IDisposable to scope dangerous behaviour
Sometimes you need to switch on behaviour in your code for short period that you want to ensure gets switched back off again afterwards. I had this recently with an app we were performance tuning. We found a hotspot with our EF code where we were adding a batch of entities to a collection. We were adding a few dozen new entities, with some new nested entities of their own, and it was running slowly, compared to the rest of the stack. There are two flags you can switch off in DbContext.Configuration ......

Posted On Friday, November 15, 2013 1:01 PM

ExpectedException in MSTest does not check the exception message

Helper method for checking unit testing that an exception is thrown, with the correct error message

Posted On Friday, September 30, 2011 3:08 PM

Uncaught exceptions in Task threads will kill IIS - even with WCF error handling

Note of caution if you're using Task.Factory.StartNew() in WCF services and relying on your generic error handler to catch exceptions

Posted On Friday, September 30, 2011 11:42 AM

Heartbeat: a progress monitor for long-running processes

Heartbeat: a new github project for monitoring long-running processes by logging pulses to a database table

Posted On Thursday, September 30, 2010 8:30 PM

Using MSBuild 4.0 web.config Transformation to Generate Any Config File

Call into VS 2010's TransformXml MSBuild task to generate separate config files for all your deployment environments

Posted On Friday, August 20, 2010 1:06 PM

One Good Reason to Upgrade to .NET 4.0

Cut execution times by up to 90%...

Posted On Monday, August 9, 2010 8:00 PM

Using C# 4.0’s DynamicObject as a Stored Procedure Wrapper

Using the dynamic keyword and DynamicObject to replace thin application layers

Posted On Wednesday, April 21, 2010 1:33 PM

Copyright © Elton Stoneman | Powered by: GeeksWithBlogs.net | Join free