Top ".net-4.0" questions

Version 4.0 of the .NET Framework.

.NET 4.0 has a new GAC, why?

%windir%\Microsoft.NET\assembly\ is the new GAC. Does it mean now we have to manage two GACs, one for .…

.net .net-4.0 gac
Passing a method parameter using Task.Factory.StartNew

I have the following code: var task = Task.Factory.StartNew(CheckFiles, cancelCheckFile.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default); private void CheckFiles() { //…

c# .net .net-4.0 task-parallel-library
How can I run PowerShell with the .NET 4 runtime?

I am updating a PowerShell script that manages some .NET assemblies. The script was written for assemblies built against .NET 2 (…

.net powershell .net-4.0
TLS 1.2 in .NET Framework 4.0

I have a Windows server 2008 R2 server running a dozen .NET Framework 4.0 WebForms applications, and I need to disable TLS 1.0 …

asp.net .net-4.0 windows-server-2008-r2 tls1.2
What and When to use Tuple?

May someone please explain what a Tuple is and how to use it in a Real World Scenario. I would …

c# .net c#-4.0 .net-4.0 tuples
How do I check if a property exists on a dynamic anonymous type in c#?

I have an anonymous type object that I receive as a dynamic from a method I would like to check …

c# c#-4.0 dynamic reflection .net-4.0
Problem in running .net framework 4.0 website on iis 7.0

Hey I got problem in running .NET framework 4.0 website on IIS7.0. the error I got is like: HTTP Error 404.2 - …

asp.net iis-7 .net-4.0 cgi isapi
Convert month int to month name

I was simply trying to use the DateTime structure to transform an integer between 1 and 12 into an abbrieviated month name. …

c# .net datetime .net-4.0
Razor View Engine : An expression tree may not contain a dynamic operation

I have a model similar to this: public class SampleModel { public Product Product { get; set; } } And in my controller I …

asp.net-mvc .net-4.0 razor
Twitter Bootstrap and ASP.NET GridView

I am having aproblem using Twitter Bootstrap from my ASP.NET application. When I use the table table-striped css class …

c# asp.net gridview .net-4.0 twitter-bootstrap