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

616 questions
9
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
  • 15,522
  • 5
  • 45
  • 61
9
votes
2 answers

ASP.NET Active Directory Search

I'm trying to create an intranet Website on ASP.NET MVC 4 using Windows Login. I have successfully done the windows login. The only thing I am stuck up with is searching the active directory with partial username. I tried searching the web and…
9
votes
0 answers

httpCompression override in web.config ASP.NET IIS7.5

I have this code in my web.config for an ASP.NET 4.5 website running in IIS 7.5
Manight
  • 500
  • 5
  • 26
9
votes
5 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,371
  • 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
  • 2,584
  • 2
  • 29
  • 28
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,652
  • 12
  • 61
  • 98
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
  • 7,724
  • 8
  • 52
  • 65
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
  • 6,033
  • 10
  • 58
  • 95
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
  • 6,033
  • 10
  • 58
  • 95
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,540
  • 9
  • 30
  • 36
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,829
  • 2
  • 35
  • 42
7
votes
2 answers

Initial load of ALL pages slow after build

After building an MVC web application, I'm used to experiencing a slow load time for the very first web page that's accessed, and I know why this happens, but I'm also noticing that the load time is slow for the initial access of every single web…
StronglyTyped
  • 2,134
  • 5
  • 28
  • 48
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
  • 19,439
  • 4
  • 63
  • 103