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 [...]
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 [...]
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 [...]
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?
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: [...]
This code shows you how to find the difference between two DateTime values. The easiest way to do this is to use the TimeSpan class and subtract one DateTime from another.
DateTime firstDate = new DateTime(2008, 8, 1); DateTime secondDate = DateTime.Now; TimeSpan timeSpan = secondDate.Subtract(firstDate); // Get Difference Console.WriteLine(“Days : ” + timeSpan.Days.ToString()); Console.WriteLine(“Hours [...]
Channel 9 does a “This Week On Channel 9” video every week and this week they paid a visit to One .Net Way. They mentioned my post about Retrieving a list of applications using LINQ in their news video. I am very happy to see One .Net Way mentioned on Channel [...]
ServiceControl can be used to get information about a Windows Service on a machine. In this post I will show you how to retrieve information about a service using ServiceControl.
To begin with lets examine the properties for ServiceControl. Through the designer we can set the ServiceName property. This can be set to the name [...]
SQLBulkCopy class in ADO.NET can be used to do bulk copy operations from a .Net application. There are two ways data can be bulk copied using this class. You can either do a single bulk copy or a multiple bulk copy operation. In this post I will show you how to perform a single bulk [...]
Introduction
At times us developers have to deal with delimited text files in our applications. Such files have been around since yonks and I often come across data import/export tasks where delimited files are used. Till now the common way in .NET has been to read each line and then extract data using some sort [...]
Yippeee! SP1 for .Net 3.5 and Visual Studio 2008 has been released. This service pack includes ADO.NET Entity Framework and ADO.NET Data Services. There are WPF designer improvements and WPF performance improvements. You can find more details and download link here.
Finally I can now install SQL Server 2008 without disturbing the apple cart [...]
StyleCop is a source analysis tool for C#. It can be used for analysing source code as opposed to compiled assemblies which is the area for FxCop. StyleCop is currently in version 4.2 and can be downloaded here. In this tutorial I will show you how to use StyleCop.
I will [...]
Top Posts
- LINQ To SQL Tutorial
- LINQ To SQL Join On Multiple Conditions
- Code Sample: Programmatically Download File Using C#
- Windows 7 Control Panel In Classic Mode
- More Details Emerge On Microsoft Master Certification
- Use SqlConnection With LINQ To SQL
- Free Icons And Images With Visual Studio 2008
- Capture XML In WCF Service
- Dynamic Sort With LINQ
- StyleCop Tutorial
Tags
.Net 2010 ADO.NET ASP.NET Azure Blogging Books Browsers C# Certification Cloud Computing Code Snippets Community Data Services Eclipse Entity Framework Google IDE Java LINQ Mac Microsoft Museum NetBeans Office Oracle REST SharePoint Silverlight SQL Server T-SQL Tips Tools Training Visual Studio Visual Studio 2010 WCF Web Windows Windows 7 Windows Forms Windows Live WMI WPF XAML

