Questions tagged [asp.net-4.5]

Refers to the version 4.5 of the ASP.NET web application framework introduced with the .NET Framework 4.5

Refers to the version 4.5 of the ASP.NET web application framework introduced with the .NET Framework 4.5

609 questions
9
votes
4 answers

Using the new Model Binding in asp.net 4.5 to format date fields

In the olden days before asp.net 4.5 we could easily bind a date to a Gridview, Formview or other databound control and make it look presentable with a simple format string.
John Hoge
  • 2,269
  • 2
  • 20
  • 24
9
votes
4 answers

Object of type 'System.Int32' cannot be converted to type 'System.Web.Security.Cryptography.Purpose'

I am getting this error now whenever I try to build. I just installed Visual Studio 2012 and .Net 4.5, but this project is still on 2010. Here is the line of code I am having issues with: private static MethodInfo _encode; public static string…
JCisar
  • 1,964
  • 2
  • 22
  • 24
8
votes
1 answer

MVC 3 System.Web.Optimization Bundles single file

In MVC3 C# I'm trying the new System.Web.Optimization Bundles JSminify & CssMinify package (part of the .NET 4.5 framework). I have one main Bundle. On one page in my website, I wish to include a single .js file only for that page. I would like to…
8
votes
1 answer

Upload files over 2Gb to IIS 8 / ASP.NET 4.5?

I need to upload 10Gb files to IIS in one piece. As far as I know IIS 7.x / ASP.NET 4.0 does not support uploads over 2Gb (some people say 4Gb). Is it fixed in IIS 8 / ASP.NET 4.5?
IT Hit WebDAV
  • 5,041
  • 12
  • 50
  • 88
8
votes
4 answers

await/async Microsoft Practices Enterprise Library Data

I have an older application that I wrote where I used Microsoft.Practices.EnterpriseLibrary.Data to get data from the DB. I have recently upgraded to .NET 4.5 and wanted to advantage of await/async. I do not see any methods ending in "Async" as…
ScubaSteve
  • 6,014
  • 7
  • 44
  • 54
8
votes
4 answers

ASP.Net MVC 4 I need to Delay execution

I have an ASP.Net MVC 4 application that periodically calls an external API for information (resource). This resource has a rate limiter for the account (meaning other apps use the same pool and may hit the limit). When this limit is hit, It will…
hjavaher
  • 2,499
  • 3
  • 27
  • 51
8
votes
3 answers

AjaxControlToolkit 7.0123 breaks VS2012 Web Application Project

I have an existing VS2012 web application that has been running fine until I added in the latest AjaxControlToolkit (7.0123). Initially, I found that the installation broke the behaviour of the UpdatePanel - whereas before I could refresh a page…
Martin Robins
  • 5,713
  • 10
  • 52
  • 89
8
votes
2 answers

ManagedPipelineHandler for an AJAX POST crashes if an IE9 user navigates away from a page while that call was in progress

Scenario: User is using IE9 (IE8/10 not affected). User has an active session. Page starts an AJAX POST (GET not affected) request to a controller with the SessionState(SessionStateBehavior.Required) attribute (ReadOnly not affected). Something…
Jonathan Rupp
  • 14,907
  • 5
  • 41
  • 57
8
votes
1 answer

ASP.NET Web Forms (4.5) Strongly Typed Model Binding - DropDownList in InsertItemTemplate of ListView

Note: This is ASP.NET Web Forms Model Binding in .NET 4.5 and NOT MVC. I am using the new Strongly Typed Model Binding features of ASP.NET Web Forms (4.5) to produce a list of items that can be edited. This is working fine for viewing the initial…
Martin Robins
  • 5,713
  • 10
  • 52
  • 89
8
votes
2 answers

With C#, WCF SOAP consumer that uses WSSE plain text authentication?

I have a WCF SOAP consumer that is implemented by Visual Studio 2012 from a WSDL. The WSDL was generated by PeopleTools. The base object is of type System.ServiceModel.ClientBase. I need the SOAP request to resemble:
Aren Cambre
  • 6,027
  • 9
  • 27
  • 33
8
votes
2 answers

typescript for web forms

Is typescript supported on web forms? I have an existing asp.net 4.5 web forms project where typescript does not seem to be working. I cannot create a new file, but even if I rename an existing to .ts it does not seem to be working. No build, no…
George Mavritsakis
  • 6,528
  • 2
  • 31
  • 40
7
votes
1 answer

MVC5 and EF6.1.3 Scaffolding problems

I have a problem when trying to build a view using scaffolding via the "Add View" function within a controller using MVC5 with Entity Framework 6.1.3. However, using Entity Framework 5.0.0 everything works perfectly ~ I can build a view…
7
votes
1 answer

aspnet_compiler Failed to map the path '/'

.NET 4.5.2, IIS 8.5 on Windows 8.1 x64. I have a single ASP.NET web site at /localhost/. The DEFAULT website is disabled, a new site with was created with the right bindings. I am trying to pre-compile it in…
n8wrl
  • 18,771
  • 4
  • 58
  • 100
7
votes
2 answers

Unable to connect to SQL Server database

I'm creating a web application in mvc 4.0 and I need to enable Membership and Authorization using Asp.netWeb Site Administration Tool but when I clicks the security tab it gives me an error There is a problem with your selected data store. This can…
user1589906
7
votes
2 answers

ASP.NET / MVC 4 bundling and minification 404 issues on 64-bit IIS 7.5 server

We recently upgraded our project from MVC 3 to MVC 4. We are targeting the .NET 4.0 framework, and our web app is 32-bit due to some references we have to include. The problem we are having is that we converted our bundling / minification from…