- Asynchronous pages do not work when the AspCompat attribute is set to true or the Transactionattribute is set to a value other than Disabled in the @ Page directive
Recently I needed to implement
I was worry about any site effects if I will set Async=true on the existing page.
The only documented restrictions, that I found are that
Async=true to the page is quite safe, even if you don’t always call Async tasks from the page
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
Alternatively you can run SQL commands as suggested in Http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=82359 by
[FREE_SPACE_MB] = convert(decimal(12,2),round((a.size-fileproperty(a.name,’SpaceUsed’))/128.000,2))
from dbo.sysfiles a
More useful article Monitor database file sizes with SQL Server Jobs describes how to setup monitoring
Finally I found the excellent article
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.
The recommended approach from MSDN How to: Group and Run Automated Tests Using Test Categories is to specify multiple TestCategory attributes like the following
shows how enums can be used instead of strings.
It also explains, that TestCategories Property can be used in derived custom attributes.
We are improving quality of code and trying to develop more unit tests. The question that developers asked was “How to make code testable ?”
A few practical suggestions are listed in
More recommendations are in
It is slightly too theoretical – “ the trick is translating these abstract concepts into concrete decisions in your code.”