Version 4.5 of the Microsoft .NET Framework. Use for questions specifically related to .NET Framework 4.5. For questions on .NET Framework generally, use the .net tag.
In a Visual Studio 2012 MVC 4 project, all references I see are 4.0.0.0, not 4.5.
Is that expected?
This is an old machine that has had all .NET versions (and corresponding VS versions) since VS 2008.
See screen grab:
I am using a library that was created to perform a simulation based on input data, with a single entry point, something like Run(Data data).
However unfortunately the library internally stores values as static members (I don't know why, but I can't…
I'm using SignalR 1.1.2 and I have problem with async hub method. Everything works fine on my PC with ForeverFrame transport but after deploying on server and switching to web sockets transport I receive following error:
An asynchronous operation…
In my ASP.Net MVC 4 application, there are several places where we are either manually rendering a view to a string or intercepting some part of the rendering pipeline. For example:
public static string RenderPartialViewToString(Controller…
We have a C# application with some screens written in WPF. I am trying to migrate it to dot net framework 4.5 (I need to use one of it's features). But when I run my application I am getting an exception that comes from WPF code.
I have researched…
In my application, i'm connecting to an Oracle DB via ODP. I was using .NET 4.5 and everything was working fine but then for Windows XP compatibility i changed framework to .NET 4.0 on all the projects on my solution. Application is built on .NET…
How can i execute the UpdateTasklist() Method after the SubmitWorkitem() Method without blocking the thread?
private async void SubmitWorkitem(Workitem workitem)
{
await Task.Run(() => this.SubmitWorkitem(workitem));
//UpdateTasklist()…
I'm using .Net 4.5 and HttpListener class on Windows Azure(a worker role) to make my own WebSocket server. For HTTP non-secure connections it works very well. The problem is that I need to make WebSocket connection secured with SSL(wss://).
I've…
I have install microsoft vs 2012 ultimate into windows 7, but it does not include .net framework 4.5 multi targeting pack. So, where can I get the multi targeting pack and install it?
I have a problem with an application that I wrote in .NET/C#. It consists of a server which manages a few other machines, and runs tests on them. It is a windows forms application. In order to run tests with proper error handling, for each machine I…
I am very new to WCF services. I have 1 WCF service created with NetHttpBinding and I have a Form application as a client of this service and I am trying to make a simple example of 2 way communication using this.
Here is my…
In a Metro App, when retrieving the Thumbnail of a StorageFile using the GetThumbnailAsync() method, the Background Color is a Dark Blue/Navy Blue.
Is it possible to override this Color? I would like the Background to be Transparent.
This has caused me quite the embaressment today. While I was demoing Rx 2.x features and capabilities, I tried to build a NuGet enabled project which I copied from another computer.
Everything was downloaded correctly, the references are there! but…
I am working on a project that is currently using an early pre-release .net 4.0 version on HttpClient in System.Web.Http namespace. We know that this version causes conflicts with .net 4.5 version.
We are thinking of upgrading to Visual Studio 2012…