Thursday, November 30, 2006

Thread locks

Did you know that to set a ctitical section in the static method it is possible to write the following:
class AClass {
...

public static void Method()
{
lock(typeof(AClass))
{...}
}
...
}

Tuesday, November 28, 2006

Security + Reliability = Quality

It is undeniable fact that to be considered high-quality software should be both secure and reliable. Michael Howard emphasis on that there is no need to protect your product from all possible threats that can appear but to decide on what are the most likely threats and then try to "treat" them. He also suggests building threat models in order to decompose the system into blocks.
There are few if any good advices: threat trees, STRIDE, DREAD and so on... but you can find out your own :)

Besides ACE Team - Security, Performance & Privacy has released a free tool for threat modeling.

Saturday, November 25, 2006

Helpful reference

Michael Howard, David LeBlank "Writing Secure Code" (in russian) could be found here

Friday, November 17, 2006

Lectures on Structure and Interpretation of Computer Programs (1986)

This course has been MIT's introductory pre-professional computer science subject since 1981. It emphasizes the role of computer languages as vehicles for expressing knowledge and it presents basic principles of abstraction and modularity, together with essential techniques for designing and implementing computer languages.

Video Lectures by Hal Abelson and Gerald Jay Sussman. For more informaton click here.

WPF talks

Recently on theServerSide.com I've read an article
"Windows Presentation Foundation and your architecture - Where does it fit?"

Brian Noyes' articles discussing the key concepts of WPF and how it fits into your presentation tier architecture. It also discusses the interoperability capabilities of WPF with Windows Forms, and shows an example of using that capability to migrate incrementally to WPF instead of making a wholesale change.

Read!
http://www.theserverside.net/tt/articles/showarticle.tss?id=WPFArchitecture