Lessons learnt from the world of Software Development, Object Oriented Design and .NET Architecture.
Is your asp.net web app (deployed on IIS) using framework 4.5 ? How do you tell?
Just looking at the framework column (for the specific app pool) in IIS will show you 4.0 (since 4.5 is just a set of extensions … Continue reading
SQL Server Standard includes some features to enable high availability, but the Enterprise edition brings more. Features like database snapshots, mirrored backups and fast restore mean that when something goes wrong, a back-up system can be online and in … Continue reading
1. Place your cursor either before or after the OPENING brace.
2. Type CTRL ] (CTRL and CLOSE BRACKET) – it should jump to the closing brace
1. To get started with this powerful profiler, simply install the NuGet package (look for nHibernate Profiler).
2.Installing it places all the required assemblies in your project AND provides you with a Bootstrapper class to launch the profiler.
How do you sync multiple devices to one iTunes?
In general, one iTunes instance = one device – try and change devices and you have a nightmare on your hands. However, I came across a method where I could at … Continue reading
The same rollback considerations that apply to normal SQL transactions also apply to nHibernate transactions.
Suppose you have two SQL Statements – the first one tries to insert (and runs into a primary key violation). The second one tries to … Continue reading
Normally, if you do NOT specify the isolation level for an nHiberante transaction, it will remain undefined. This is bad for many reasons – the primary one being that SQL Server does not know what to do with undefined and … Continue reading
The advent of WCF has made life simpler for web service developers . Passing complex types, quick serialization, write once run with multiple bindings (and hence multiple consumers) etc. – have contributed to its popularity. However, larger WCF projects start … Continue reading
The DataContractSerializer in WCF serializes objects to XML Streams. There is a size (length) limitation on these streams. They are restricted by default to 8k (8192 bytes).
While this helps in avoiding Denial of Service (DoS) attacks, it is an incovenience … Continue reading
When running by itself (no project opened and no extensions), Visual Studio 2012 takes less than 100 MB. When you open up your projects, those add to the total memory of course. However, if you find Visual Studio (2012) using … Continue reading