Hot Fix

How to sign third party assemblies

How to sign third party assemblies You need to sign assemblies if you want to put them in the GAC. If you sign an executable, then any class libraries it links to also needs to be signed. This can be difficult if you’re using a third-party library.A very important reason to sign an assembly is …

How to sign third party assemblies Read More »

Microsoft CacheManager Contains vs Getdata

Microsoft CacheManager Contains vs Getdata In Microsoft.Practices.EnterpriseLibrary.Caching, GetData is used to get data from the cache and Contains checks whether the key exists in the cache. Ideally if Contains(key) returns true than GetData(key) should returns data from the cache associated with the key.  But somehow it works in the different condition. In the below code block Contains(key) returns true but the block returns null.     …

Microsoft CacheManager Contains vs Getdata Read More »

SQL naming conventions

SQL naming conventions This article is for standards for the SQL naming convention. I listed all basic which I found useful. May this will benefit you too. Databases and Files The database name should accurately reflect the database content and function. Use the Pascal case structure for database names. E.g., Northwind Use both upper and lower …

SQL naming conventions Read More »

Detect CAPS lock is ON using JavaScript

How to detect CAPS lock is ON using JavaScript? If you have a secure page which requires the credentials which obvious is a case-sensitive. So in case if user is typing password without aware of if CAPS LOCK is ON, which will cause invalid credentials error .To avoid its better to show message to the …

Detect CAPS lock is ON using JavaScript Read More »

C# Coding Standards

C# Coding Standards General Naming Conventions Following a consistent set of naming conventions can be a major contribution to readability. Beyond consistency of form, names of application and framework elements must be easily understood and must convey the functions of each element. Word Choice It is important that the names of identifiers make sense on …

C# Coding Standards Read More »

How to Format SQL query

How to Format SQL query? While working on SQL queries especially when one is dealing is large lines of  SQL code , in that case formatted and refracted query is a live savior. In this blog I’II provide you with the solution  which I found quite useful. #Formatting SQL query using SSMS  This is for the guys who regularly …

How to Format SQL query Read More »

%d bloggers like this: