Category Archives: .Net

How to use .Net assembly in VBScript

Few days before I got a requirement to use a .Net assembly in VBScript, but it was not working. But today I got the solution. It was related to my 64bit OS. In this post I am discussing how to … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Visual Studio, Windows 7 | Tagged , , , , , | 1 Comment

How to compress JPEG image using C#

Here is a C# snippet which helps to compress JPEG image. Also displays how much size got reduced.

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0 | Tagged , , , | 1 Comment

How to get Build Definitions and Build Details from TFS 2010

This snippet which will connect to TFS Server and get all running builds for all build definitions, using TFS Client API. Please make sure you are adding of the following assemblies. Microsoft.TeamFoundation.dll Microsoft.TeamFoundation.Build.Client.dll Microsoft.TeamFoundation.Build.Common.dll Microsoft.TeamFoundation.dll which will be available under … Continue reading

Posted in .Net, .Net 4.0 | Tagged , , , , , | 2 Comments

Webcams in Silverlight 4.0

Microsoft Silverlight 4.0 supports Webcam and microphone access from Web Applications like Flash. This feature enables a number of scenarios, such as capturing and displaying images, uploading profile pictures to social networking applications etc. Here is code part, which will … Continue reading

Posted in .Net, ASP.Net, Silverlight | Tagged , , , , | 1 Comment

Introduction to Code First development with Entity Framework

The Database First approach is interesting when the database already exists. You use Visual Studio and the Entity Framework Designer to generate the C# and VB.NET classes which reflect the existing database model. You may then change relations using the … Continue reading

Posted in .Net, .Net 4.0, ASP.Net, ASP.Net MVC, SQL Server, WPF | Tagged , , , , , , | 4 Comments