Home /

| RSS

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 |

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 |

Learn .NET 4.0 And Visual Studio 2010 On Channel 9

Channel 9 which happens to be my favourite media station now has a section for courses. And if you have downloaded Visual Studio 2010 then this is the place to get yourself some VS 2010 training. Topics covered in this online course are: Managed Languages ASP.NET 4.0 Data Platform WCF & WF Parallel Computing ALM [...]

[ More ] October 28th, 2009 | 1 Comment | Posted in Tips |

PDC 2009 Registration Is Open

Microsoft PDC 2009 site is now accepting registrations. PDC 2009 will run from 17th November to 19th November 2009 at Los Angeles Convention Center Los Angeles. Here is pricing information from PDC website. I think in or around PDC 2009 we should see commercial launch of Azure, Visual Studio 2010, .NET Framework 4.0 and maybe [...]

[ More ] August 5th, 2009 | No Comments | Posted in News |

Get Processor Information In .NET Using C#

.NET Framework provides classes which give information about the machine on which code is executed. One Such class is System.Environment which gives us things like Machine Name, OS Version and much more. I recently had a requirement to programmatically detect the number of Processors on a machine. I thought this was a simple enough task. [...]

[ More ] March 9th, 2009 | 3 Comments | Posted in Programming |

var Keyword In C#

I have a confession to make. When I saw var keyword for the first time I did not like it at all. My first opinion was that var was so variant like. Call me a control freak but I like to clearly see what I am declaring. And var was something I thought made the [...]

[ More ] January 6th, 2009 | 4 Comments | Posted in Programming |

Application Architecture Guide Read It Even If You Know It All

If you are an Architect or a Developer then I highly recommend that you read Application Architecture Guide from Patterns & Practices team at Microsoft. In recent years .Net Framework has grown tremendously to include technologies such as WPF, WCF, WF over the standard offerings such as ASP.NET, Windows Forms and BCL. How does one [...]

[ More ] January 6th, 2009 | No Comments | Posted in News |

Download Visual Studio 2010 And .NET Framework 4.0 CTP

CTP of Visual Studio 2010 and .NET Framework is now available for download. Visual Studio 2010 takes the world’s best IDE to the next level by innovating on many fronts. Here is an overview from the download page. Visual Studio 2010 and the .NET Framework 4.0 mark the next generation of developer tools from Microsoft. [...]

[ More ] October 29th, 2008 | 1 Comment | Posted in Programming |

Mainstream Support For .NET Framework 1.1 Ends

As of 14th October 2008, Mainstream support for .NET Framework 1.1 has ended. However extended support will be available till October 2013. We’ll most likely be in .NET Framework 12 by then. Or will there even be .NET?

[ More ] October 17th, 2008 | No Comments | Posted in News |

Code Sample: Programmatically Download File Using C#

While browsing forums today I came across a question which asked for a solution to download a file from a web server programmatically. The solution is very simple and below is the code which achieves the goal. Here I am downloading a file asynchronously on Button Click. 1: private void buttonDownloadFile_Click(object sender, EventArgs e) 2: [...]

[ More ] September 17th, 2008 | 18 Comments | Posted in Programming |
  • Page 1 of 2
  • 1
  • 2
  • >




Switch to our mobile site