45 subscribers

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

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

Intellisense disappears after Resharper Uninstall | Posted on by Anuj Varma

I lost Intellisense – and had some trouble getting it back.

One thing to try is to delete the .suo file (usually at the Solution level) – after shutting down Visual Studio. Try restarting VS and see if you recover … Continue reading

Changing Local Working Folder in TFS | Posted on by Anuj Varma

Changing your local working folder essentially involves creating a NEW WORKSPACE. The LOCAL folder for that workspace can be set to the new working folder that you are interested in creating

Click on TFS Source Control Explorer , there should be … Continue reading

Some important server perfmon counters to monitor | Posted on by Anuj Varma

Some of the more important ones include:
Processor\% Processor Time (This counter is the primary indicator of processor activity. High values many not necessarily be bad. However, if the other processor-related counters are increasing linearly such as % Privileged Time or … Continue reading

Changing Outlook’s Theme–making it less bright | Posted on by Anuj Varma

Outlook’s default color scheme is far too bright and hurts the eyes. Fortunately, some other themes are built into the product. To get to these options,  navigate from the File menu
File-> Options-> General
And change the color scheme as shown below:
  … Continue reading

Suppose you have a web app that connects to the SQL Server instance using a PREDEFINED SQL Server user (typically an ‘sa’ user). This is the ONLY user that actually connects to the database. However, your web app may have … Continue reading

Converting a normal collection to IEnumerable | Posted on by Anuj Varma

Suppose you are stuck with a namevaluecollection – it is not of type IQueryable or IEnumerable. So – none of your LINQ queries will work on it.
Convert it to IEnumerable<T>
IEnumerable<string> canBeQueried = nvc.OfType<string>();

// To convert it to a string array … Continue reading

When you move your data layer to another project or another folder  – you may encounter the following exception
MetadataException: Unable to load the specified metadata resource
The Solution:
The following res: (resource) references need to point to your newly placed model
<add name=”Entities” … Continue reading

MVC apps–set as start page | Posted on by Anuj Varma

Of course, MVC does not have the concept of a web page – it is more a web view. The view cannot be accessed directly (unlike a page) – and can only be accessed through a controller action. So , … Continue reading

Disaster recovery levels–two important questions | Posted on by Anuj Varma

Some questions to consider while deciding on the DR level (disaster recovery level) for your app:

Is it a life-death situation app? e.g. EMS first responder app, CDC outbreak notification app etc.
What is the financial impact of the app (the app … Continue reading

Configuring an authentication header in fiddler | Posted on by Anuj Varma

Fiddler – Authentication header

Click Rules > Customize Rules….
Inside the OnBeforeRequest handler, add

oSession.oFlags["x-AutoAuth"] = “domain\\user:password”;

.csharpcode, .csharpcode pre
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode … Continue reading