|
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); }
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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. [...]
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 [...]
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 [...]
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 [...]
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.
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 [...]
Get Updates By Email
Popular Post
- LINQ To SQL Tutorial
- LINQ To SQL Join On Multiple Conditions
- Code Sample: Programmatically Download File Using C#
- Free Icons And Images With Visual Studio 2008
- Windows 7 Control Panel In Classic Mode
- Dynamic Sort With LINQ
- Use SqlConnection With LINQ To SQL
- StyleCop Tutorial
- Write To Vista Event Log Using C#
- More Details Emerge On Microsoft Master Certification
Tag Cloud
Code Snippets
- Get Current Windows User In C#
- Get Width And Height Of Image In C#
- Get Windows Registry Size With WMI And C#
- Reverse Array Elements Using C#
- Convert Hexadecimal To Number In C#
- Get Free Disk Space Using T-SQL
- SQL Server 2008 – Get All Indexes In A Database
- Get Name Of Current Executing Assembly In C#
- Get CD Or DVD Drive Information Using WMI And C#
- Get Last Row From Table Using LINQ To SQL

