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
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
1 answer

What are these extra javascript files in my ASP.NET 4.5 WebForms project?

I created a new ASP.NET 4.5 WebForms project and found a bunch of extra javascript files pertaining to GridView, DetailsView and other data related components as well as MSAjax. I assume they are to help with AJAX on data components, but I don't…
FarFigNewton
  • 7,108
  • 13
  • 50
  • 77
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…
7
votes
1 answer

Repeater control doesn't have public property ModelType

I'm trying to use model binding feature of asp.net 4.5. I'm using Repeater control, seting ModelType property on it, but as soon as I run the application, I'm getting parser error, which states, that Repeater doesn't have ModelType public property.…
Michael
  • 2,961
  • 2
  • 28
  • 54
6
votes
2 answers

OWASP ZAP - how to "prove" false positives?

Our customer requires us to run the OWASP ZAP tool against our web application (ASP.NET 4.5.2, Webforms) and we cannot have any high priority findings in the report. We've done the analysis, and OWASP ZAP reports two vulnerabilities which both are…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
6
votes
3 answers

ASP.NET keeps compiling

After deploying our ASP.NET (mostly forms with AJAX) applications to one particular production machine, the recompiling process (where w3wp.exe calls CSC.exe for each aspx or ascx file) continues for hours. The performance of the web app is…
Ross Presser
  • 6,027
  • 1
  • 34
  • 66
6
votes
2 answers

.net 4.6 framework is inplace upgrade then how is the .net framework 4.5 works in vs2015?

.net 4.6 framework is inplace upgrade then how is the .net framework 4.5 works in vs2015? I see only one folder v4.0.30319 . How is the dll stored and where ?
Rohit Sharma
  • 179
  • 1
  • 3
  • 18
6
votes
3 answers

What is the Windows Server 2012 command line equivalent of `aspnet_regiis -ir`?

As documented in several questions (Alternative for the Registering ASP.NET 4.5 on Windows Server 2012; Server 2012 IIS 8 MVC app shows default IIS home page or 403 / 404 errors; WCF on IIS8; *.svc handler mapping doesn't work), on Windows Service…
6
votes
1 answer

Processing AuthenticationResult's from different providers in the same page

I'm integrating OpenID to my existing application with LiveID and Google providers. On my login page, in addition to the original login fields I have added 'Log in with Google' and 'Log in with Microsoft' buttons. I can successfully read the…
EvilDr
  • 8,943
  • 14
  • 73
  • 133
6
votes
1 answer

async calls using HttpClient on MVC4

I'm playing a little bit with this new technology in .net 4.5, I would like to check the code for this call and how should I control the errors or the response of my async call. The call is working perfectly, I need full control of possible errors…
rgx71
  • 817
  • 6
  • 21
  • 32
6
votes
3 answers

Pre-loading Azure web-site to increase first visit load time

I am right now in the middle of creating a new web application for Azure. I've noticed that if I do not visit the site for a while (30+ minutes) that it will take a while to load (20+ seconds) on my first visit. I presume this is because Azure has…
user1365911
6
votes
3 answers

.NET 4.5 WebForms: do I (still) really have to specify all 3 templates in a FormView?

Investigating the new strongly-typed, model-binding approach within ASP.NET 4.5 WebForms: In Scott Hanselman's example of WebForms model binding (amongst others) I've seen the use of a FormView that opens in "Edit" mode, containing a number of…
Merenzo
  • 5,326
  • 4
  • 31
  • 46
6
votes
1 answer

How do you parameterize deployments when using ASP.NET 4.5 publish profiles?

The new pubxml files in ASP.NET 4.5 are definitely a step in the right direction. I also like msdeploy's support for parameters.xml files (even though they are sometimes not as powerful as I would like). Now, how do I combine msdeploy's parameters…
Rune
  • 8,340
  • 3
  • 34
  • 47
6
votes
1 answer

Item vs BindItem: Data Binding in ASP.NET 4.5

ASP.NET 4.5 introduces strongly typed data controls. From what I could gather there are two options how to access the data item <%# Item %> and <%# BindItem %> I don't quite understand though, what exactly is the difference between those two? Is…
magnattic
  • 12,638
  • 13
  • 62
  • 115
5
votes
1 answer

EF6 - not doing what I expected for .Any()

I am stumped by EF 6 .... I have a web application which behaves very badly in terms of performance. While analysing, I found one of the culprits being a method of mine that checks whether a collection is empty (or not) on an EF6 entity. Basically,…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459