45 subscribers

Software Dev
  |  Science Stuff  |  Travel  |  Golf  |  Entertainment  |  Mindfulness  |  Finance and Investing  |  Austin  |  India  |  Diet, Health  |  Petitions, Causes  |  

Lessons learnt from the world of Software Development, Object Oriented Design and .NET Architecture.

IIS app pool using 4.5 framework | Posted on by Anuj Varma

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 Enterprise versus Standard Editions | Posted on by Anuj Varma

High Availability
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

Visual Studio – VS find matching brace | Posted on by Anuj Varma

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

Hibernating Rhinos – nHibernate Profiler | Posted on by Anuj Varma

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.

Continue reading

Multiple iphones (iOS devices) – One PC | Posted on by Anuj Varma

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

nHibernate transactions and rollbacks | Posted on by Anuj Varma

The same rollback considerations that apply to normal SQL transactions also apply to nHibernate transactions.
Rollback Scenario
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

Fluent nHibernate setting database transaction isolation level | Posted on by Anuj Varma

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

Agatha–Getting Started–First Application | Posted on by Anuj Varma

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

Visual Studio Using Too Much Memory | Posted on by Anuj Varma

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