Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to September 2012 Entries
Adding Async=true to the page- no side effects noticed.
Recently I needed to implement PageAsyncTask in .Net 4 web forms application.According to PageAsyncTask object must be registered to the page through the RegisterAsyncTask method. The page itself does not have to be processed asynchronously to execute asynchronous tasks. You can set the Async attribute to either true (as shown in the following code example) or false on the page directive and the asynchronous tasks will still ......

Posted On Sunday, September 30, 2012 11:55 AM

Monitoring Database disk space
An article Data files: To Autogrow Or Not To Autogrow? recommends NOT to rely on auto-grow, because it causing delays in unplanned times.We should mtonitor database files(both data and log), and if they close to max capacity, manually increase the size. However it doesn't give references, how to monitor the free space inside databases. I've tried to look how to do it. It can be done manually using execute sp_spaceused for the database in question or sp_SOS (can be downloaded from ......

Posted On Sunday, September 30, 2012 11:44 AM

Assign multiple test categories using TestCategoryAttribute
I am using TestCategoryAttribute to filter which tests to run during builds and wandered, how to -how to assign multiple test categories.According to constructor documentation only single category can be specified. However TestCategories Property (plural!)can return multiple categories.Grouping Tests into Test Categories: You can add an automated test to one or multiple test categories using a test attribute. Each test can belong to multiple test categories.The recommended approach from MSDN How ......

Posted On Sunday, September 30, 2012 11:36 AM

What is testable code?
We are improving quality of code and trying to develop more unit tests. The question that developers asked was "How to make code testable ?" From First and foremost, its loosely coupled, taking advantage of dependency injection (and auto-wiring), composition and interface-programming. Testable code is also readable - meaning it leverages single responsibility principle and Liskov substitution principle.A few practical ......

Posted On Tuesday, September 4, 2012 9:55 PM

Copyright © Michael Freidgeim | Powered by: