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
1
vote
2 answers

foreach loop with multiple logic conditions

I have a collection of objects that I need to iterate through and do stuff with. Seems easy so far. However, I have some conditions which is making it rather complicated. Here is some info: The collection contains a bunch of "Planet" objects which…
SkyeBoniwell
  • 6,345
  • 12
  • 81
  • 185
1
vote
0 answers

Facing issue while integrating identity server 4 with mvc 4.5 application

I am using Identity server 4 with Asp.net application MVC 4.5 when I run mvc application its comes to identity server 4 and shows login page. then after filling the credentials it validates the credentials and i have taken redirect uri as…
Shiva
  • 21
  • 1
  • 4
1
vote
0 answers

Mixing ASP.NET Webforms with Friendly URLs with new ASP.NET MVC stuff

I have a number of "old-style" ASP.NET 4.x Webforms applications. For future development, we're thinking about switching to ASP.NET MVC 5, and we plan to basically add new features as MVC code to our existing apps. Now I found a number of…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
1
vote
0 answers

Role of `Microsoft.Owin` in ASP.NET 4: No `app.run` required?

I try to get more understanding of the role of the Owin packages (Microsoft.Owin) in ASP.NET 4 (MVC 5) applications. When I create a new MVC application with the wizard, it sets me up with an Owin Startup class, but the configuration therein deals…
John
  • 6,693
  • 3
  • 51
  • 90
1
vote
1 answer

Web forms model binding child collection

I can't figure out how to use model binding to update a child collection like I can in MVC. All the collection-type controls seem to assume some server-side storage mechanism using an edit/update lifecycle, which doesn't fit if this is supposed to…
naasking
  • 2,514
  • 1
  • 27
  • 32
1
vote
0 answers

.Net 4.5 paypal rest api calls work on local environment but not on server

I know this question will sound too general, but I have no idea where to look for the sloution. I have made an application based on the Paypal Rest Api SDK, and it works on local machine (win 10, visual studio 2015, .net 4.5) but when I upload it to…
1
vote
1 answer

The browser or gateway element with ID 'Safari60' cannot be found

We have changed .net version 2.0 to 4.5 of my website. We are using “App_Browsers/safari.browser” for some safari issue on Mac and its working fine for 2.2 framework. When we changed .net version then it given error “The browser or gateway…
kinshuk
  • 21
  • 6
1
vote
1 answer

ASP.NET MVC 4.5 - The issue with the Logon user (HttpContext.Request.LogonUserIdentity.Name)

I am developing an ASP.NET MVC 4.5.1 application using VS 2013. Following are the settings at the IIS 7.5 Windows Authentication Enabled (also in Web.config authentication mode is set to "Windows"). Anonymous Authentication Disabled. Application…
JSK
  • 583
  • 6
  • 17
1
vote
1 answer

Designing an ASP.NET application handling and searching MS Office documents

I'm currently designing a new web application which will deal with a lot of MS Office documents. One of the requirements is the ability to search not only in the columns of my SQL Server database tables, but also in the documents that get uploaded…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
1
vote
1 answer

ServiceStack.Redis.RedisPoolManagerPool.GetClient() - IndexOutOfRangeException

We're receiving the following error in ServiceStack.Redis v4.0.48 System.IndexOutOfRangeException: Index was outside the bounds of the array. at ServiceStack.Redis.RedisManagerPool.GetClient() at…
josh-sachs
  • 1,749
  • 2
  • 15
  • 19
1
vote
1 answer

BackgroundWorker that uses HttpClient async methods

I have used in the past the BackgroundWorker in a Windows Form application. For my new exercise I need to use async methods inside the worker and I am getting a little bit confused about that. This is my code structure. In the form load event I am…
Lorenzo
  • 29,081
  • 49
  • 125
  • 222
1
vote
1 answer

Get mode Application Pool programmatically in ASP.NET 4.5

I am running IIS 7.5 Under Windows 2008 R2 (I use Windows 8.1 in development). I use VS 2012 in Windows 8.1. I use ASP.NET 4.5. .NET 4.5.1 in my project csproj. Programmatically How-to know if Application Pool mode is Classic or Integrated ?
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
1
vote
1 answer

ASP.NET 4.5 Webforms - HTML Encoding gone wrong

I have trouble with an ASP.NET 4.5 webforms application and the new <%#: syntax to do automatic HTML encoding. I have a formview like this:
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
1
vote
1 answer

DevExpress ASPxTreeList - inline editing

I'm trying to accomplish inline editing with a DevExpress ASPxTreeList control on an ASP.NET 4.5 webforms application - something like this (taken from the DevExpress demo site): What I'm trying to do are two things: I'd like to be able to…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
1
vote
0 answers

Infamous 'Load operation failed for query 'GetUser'. The remote server returned an errror: NotFound'

It looks like I have just happened to find an easy reproducible solution for infamous: 'Load operation failed for query 'GetUser'. The remote server returned an errror: NotFound' issue for WCF RIA Services (Silverlight 5) web setup: when using…