Home

| RSS

Get Temporary Folder In Java

This example shows you how to retrieve the name of temporary folder for your operating system using Java code. All it takes is one line of code to get this information. public static void main(String[] args) { String property = System.getProperty("java.io.tmpdir"); System.out.println(property); }

[ More ] August 24th, 2010 | No Comments | Posted in Programming |

Connect To SQL Server 2008 From NetBeans IDE On A Mac

In this post I will show you how to establish a connection to Microsoft SQL Server  from NetBeans IDE. I use a Mac so the screenshots here are from Mac but NetBeans IDE is the same on all other platforms. There should not be any differences. First thing we need to do is download the [...]

[ More ] August 24th, 2010 | No Comments | Posted in Programming, Tips |

Running Glassfish In Verbose Mode From NetBeans

The title of this post “Running Glassfish In Verbose Mode From NetBeans” is slightly misleading because what I am showing here is a way to view Glassfish logs within NetBeans IDE. To start Glassfish in verbose mode on a command prompt or Terminal on a mac you’ll use this command. asadmin start-domain –verbose This will [...]

[ More ] August 23rd, 2010 | No Comments | Posted in Programming |

Could Not Create SSL/TSL Secure Channel Solution

Could Not Create SSL/TLS Secure Channel is an error you my get when communicating with web services in a two way SSL scenario from ASP.NET application. Here is a guide which you can follow to resolve the issue. I spent fair bit of time on this and I am documenting my approach here for future [...]

[ More ] August 20th, 2010 | No Comments | Posted in Tips |

Generate Self Signed Certificates On Windows 7

This post shows you how to generate self signed certificates on Windows 7. To generate self signed certificates you must have IIS 7.5 installed because you will generate your certificate from within IIS manager. Step 1 Launch IIS manager and in Filter type “Certificates” to see the Server Certificates Feature. Step 2 Double click on [...]

[ More ] August 20th, 2010 | No Comments | Posted in Tips |

Add Hours To Date In Java

I’ll come out clean on this. Lately I’ve been doing some Java and I have to say that the other side is not all that bad as it’s projected to be. Most of my Java work is around integration with .NET  and I’m lovin it. My forays into Java and other non-Microsoft technologies is a [...]

[ More ] August 19th, 2010 | No Comments | Posted in Programming |

Five Reasons Why Google Wave Failed

Hopefully most planet earth inhabitants know that Google pulled the plug on Wave or maybe most inhabitants who care about it. Together with my friend Graham we came up with these reasons for failure over a Japanese lunch today. Here’s the list. It did not ripple through masses. The tide was not on it’s side. [...]

[ More ] August 6th, 2010 | 2 Comments | Posted in News |

Intellisense Enhancements I want

Back in 2008 I posted a suggestion on Microsoft’s Connect website. To be precise the date was 15th May 2008. To my surprise I received an email today (5th August 2010) informing me that there is a comment on my suggestion. It only took a little more than 2 years. Wow! talk about a speedy [...]

[ More ] August 5th, 2010 | 3 Comments | Posted in News |

Easiest Way to Generate Connection String And Verify Database Connectivity

There are two things which I as a consultant / developer come across many times. One is verifying connectivity to a database which is often a cause of production issues and second is creating valid connection string in the least amount of time. This is the way I do it. Hopefully it will be of [...]

[ More ] July 30th, 2010 | No Comments | Posted in Tips |

Find All Data Providers Installed On A Machine

This post shows you how to find Data Providers installed on a machine. Data providers in .NET Framework provide the plumbing necessary to connect to databases. There are different data providers available which can connect to SQL Server, Oracle or other databases through OleDb. You can find the data providers installed on your machine by [...]

[ More ] July 29th, 2010 | 2 Comments | Posted in Programming |

Download Visual Studio 2010 Productivity Power Tools

A newer version of Visual Studio 2010 Productivity Power Tools has been released. If you use Visual Studio 2010 then do yourself a favor and download these power tools and use Visual Studio 2010 like a power user. Checkout all details at Visual Studio blog. Download link for Productivity Power Tools.

[ More ] July 19th, 2010 | No Comments | Posted in Tips |

Visual Studio 2010 Code Generation With Intellisense

Visual Studio 2010 provides a nifty little feature which let’s you generate code from within the editor. In this post I will show you how to use this feature. Imagine that you are having a fantastic coding day and you are coding at 100mph. You have just realised that you need a class called car [...]

[ More ] May 27th, 2010 | 1 Comment | Posted in Tips |




Switch to our mobile site