Category Archives: .NET

PHPHOST BLOG

Web Hosting Related Articles You May Need

.NET Framework 4 Reliability Update 1

Microsoft has released a Reliability Update 1 for the Microsoft .NET Framework 4 to fix some stability, reliability, and performance issues in the Microsoft .NET Framework 4.

Some of the 14 issues that are fixed are as follows:
If the locale is not In… Continue reading

Posted in .NET, Syndicated | Leave a comment

C#: Find Previous Month’s First and Last Day

Here’s a simple query that gives you the first and last day of the previous month.

static void Main(string[] args)
{
var yr = DateTime.Today.Year;
var mth = DateTime.Today.Month;
var firstDay = new DateTime(yr, mth, 1).AddMonths(-1);
var lastDay = n… Continue reading

Posted in .NET, C#, Syndicated | Leave a comment

C#: Find Previous Month’s First and Last Day

Here’s a simple query that gives you the first and last day of the previous month.

static void Main(string[] args)
{
var yr = DateTime.Today.Year;
var mth = DateTime.Today.Month;
var firstDay = new DateTime(yr, mth, 1).AddMonths(-1);
var lastDay = n… Continue reading

Posted in .NET, C#, Syndicated | Leave a comment

Visual Studio 2010 and .NET Framework 4 Training Kit–June 2011

Microsoft released the June update of VS 2010 and .NET Framework Training Kit. The Training Kit contains presentations, hands-on labs, and demos and is designed to get you up and running in no time with the following technologies including
C# 4
Visual… Continue reading

Posted in .NET, Free Learning, Syndicated | Leave a comment

Visual Studio 2010 and .NET Framework 4 Training Kit–June 2011

Microsoft released the June update of VS 2010 and .NET Framework Training Kit. The Training Kit contains presentations, hands-on labs, and demos and is designed to get you up and running in no time with the following technologies including
C# 4
Visual… Continue reading

Posted in .NET, Free Learning, Syndicated | Leave a comment

WCF 4.0 REST POX Service with Help Page

Representational State Transfer (REST) support was included in WCF 3.5. In WCF 4.0, this feature has been enhanced with Help page support. This facility was added as WCF REST allows direct call to OperationContracts, using HTTP protocol by the client a… Continue reading

Posted in .NET, C#, Syndicated | Leave a comment

WCF 4.0 REST POX Service with Help Page

Representational State Transfer (REST) support was included in WCF 3.5. In WCF 4.0, this feature has been enhanced with Help page support. This facility was added as WCF REST allows direct call to OperationContracts, using HTTP protocol by the client a… Continue reading

Posted in .NET, C#, Syndicated | Leave a comment

.NET – Start Asynchronous Parallel Task and Cancel Them Too

I was having a good discussion with a couple of friends about the support of parallel tasks in .NET. If you too are interested in the same, I have written a couple of articles that can give you an overview of the support for parallelism and concurrency… Continue reading

Posted in .NET, C#, Syndicated | Leave a comment

.NET – Start Asynchronous Parallel Task and Cancel Them Too

I was having a good discussion with a couple of friends about the support of parallel tasks in .NET. If you too are interested in the same, I have written a couple of articles that can give you an overview of the support for parallelism and concurrency… Continue reading

Posted in .NET, C#, Syndicated | Leave a comment

Custom Attributes in .NET

The .NET Framework contains extensibility mechanisms that lets you  create your own custom attributes. In this post we will see how to implement a Custom Attribute and use it in our applications. To start with let’s create a Console application with… Continue reading

Posted in .NET, Syndicated | Leave a comment