Questions tagged [.net-4.5.2]

.Net 4.5.2 is the version of the popular Microsoft .Net framework prior to version 4.6. It is backward compatible with .Net 4.5 & .Net 4.5.1 & adds several new features. Use for questions specifically related to .NET Framework 4.5.2. For questions on .NET Framework generally, use the .net tag.

.Net 4.5.2 is the version of the popular Microsoft .Net framework. It is backward compatible with .Net 4.5 & .Net 4.5.1 and adds several new features.

What's New in .NET Framework 4.5.2
.NET Framework 4.5.2 System Requirements

Released by Microsoft Corporation
Version Number: 4.0.30319.34000
Release Date: 2014-05-05

139 questions
6
votes
1 answer

Azure websites .NET 4.5.2 availability date

Not sure of the appropriate place to ask this question. Do you by any chance know the date when .NET 4.5.2 will be generally installed on the Azure Websites? I seem to have run into a very curious issue - I have recently switch my application over…
Nick Goloborodko
  • 2,883
  • 3
  • 21
  • 38
6
votes
1 answer

Difference between HostingEnvironment.QueueBackgroundWorkItem and HostingEnvironment.RegisterObject

Currently I am using HostingEnvironment.RegisterObject to run my background work in my MVC 5 app. Specifically I have, public class BackgroundWorker { /// /// Runs a background task that is registered with the hosting environment …
Imran Qadir Baksh - Baloch
  • 32,612
  • 68
  • 179
  • 322
5
votes
1 answer

WCF Getting "An error occurred while receiving the HTTP response to.." on random call

I am receiving randomly (Not always) "An error occurred while receiving the HTTP response to.." when calling SOAP API from client. It does not happen every time. My application itself is a WCF service. Client Config:
FaizanHussainRabbani
  • 3,256
  • 3
  • 26
  • 46
5
votes
2 answers

Can you install .NET 4.5 on Windows Server 2016?

I'm trying to setup an app on an Azure instance that another developer created. I'm trying to user a service that looks like it requires .NET 4.5 and is not compatible with 4.6... for some reason. The instance he setup is on Windows Server 2016,…
cnak2
  • 1,711
  • 3
  • 28
  • 53
5
votes
2 answers

First request to IIS site always produces 500.21 error

I believe this is the reason the 'Application Initialization' module does not work, as it appears the server does not bother to spin anything up until the first request, causing it to fail. The error produced on every first request is: HTTP Error…
sosil
  • 369
  • 4
  • 12
5
votes
1 answer

IdentityServer4 Authorize always gets "The signature key was not found" on Azure AppService

I have an IdentityServer4 app based on the IS4 Identity sample, and an API using bearer tokens for it's Authorization via IS4.AccessTokenValidation. This is working fine on localhost via VisualStudio, and when I deploy to a Windows 2012 VM and…
5
votes
1 answer

Force Microsoft Build Tools 2015 to include mscorlib for the targeted version of the framework instead of 4.6

I have written an application in Visual Studio 2015 that uses C# 6.0 features and targets .NET 4.5.2. When I build it using Microsoft Build Tools 2015, which is what is done by our TeamCity server, the resulting bin folder also contains a copy of…
Philip Atz
  • 886
  • 1
  • 10
  • 26
5
votes
4 answers

How do I create a DateTime object given UTC time and date?

I have date and time strings already in UTC. I need to use those strings to create a DateTime object. This is the code I'm using. The problem is the time gets converted and my UTC time on the datetime object is no longer correct. I'm giving UTC…
DenaliHardtail
  • 27,362
  • 56
  • 154
  • 233
5
votes
1 answer

Autofac: How do you register a generic with multiple type arguments? Registering IGenRepo with EFGenRepo

I am trying to build a generic repo and use autofac for testing. I have the following interface: public interface IGenRepo where T : class { IQueryable Items { get; } T find(TKey pk); RepoResult delete(TKey pk); …
Kip ei
  • 479
  • 6
  • 20
5
votes
1 answer

Could not load file or assembly Microsoft.VisualStudio.Shell, Version=2.0.0.0

I installed the 4.5.2 framework onto my R2 dev server last week, and have been getting this error, ever since. The files contain no reference to VisualStudio.Shell. Any ideas? Parser Error Description: An error occurred during the parsing of a …
Joe
  • 715
  • 2
  • 10
  • 18
4
votes
3 answers

Workflow with messaging in MVC

Scenario: Request to approve comes in as a message on a bus (rapidMQ) Subscriber reads message and kicks off workflow if required Workflow is state machine workflow which starts off as Unassigned Unassigned item is added to a work item queue User…
4
votes
0 answers

QueueBackgroundWorkItem throwing ThreadAbortException

I am trying to queue a background worker from inside a WebAPI call: public string TestThreadAbortException() { InitToolkit(DebugLevel.ERROR, 11937, true); // Initialize Logger, DB etc. var result = MyMethod(); // Runs…
Alexander
  • 19,906
  • 19
  • 75
  • 162
4
votes
2 answers

Configuring .NET Framework 4.5.2 in IIS 8.0

In my Windows Server 2012, I have installed .NET Framework 4.5.2, but it is not listing in IIS when I tried to change one application pool's .NET Framework.
krishna
  • 1,069
  • 2
  • 10
  • 19
3
votes
1 answer

The type or namespace name 'Forms' does not exist in the namespace 'System.Windows'

I need to select json file. public void LoadChartData() { var ofDialog = new System.Windows.Forms.OpenFileDialog { Filter = @"json (*.json)|*.json" }; if (ofDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { } } Unfortunately…
Jaroslaw Matlak
  • 574
  • 1
  • 12
  • 23
3
votes
2 answers

Deserialize xml to Generic type

I need class which takes two parameter 1- Type ==> class name 2- xml string ==> xml document in string format. now following class convert xml to object which is all working fine but I need final version as generic type Converter class public…
K.Z
  • 5,201
  • 25
  • 104
  • 240
1
2
3
9 10