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
3
votes
3 answers

traversing one to many relationships in entity framework

I am having trouble figuring out how to traverse a one to many relasionship using LINQ-To-SQL in my asp.net site that uses EF 5. I have made the relationships in the class files but when I try to go from parent to child in my where clause I am not…
user1365911
3
votes
1 answer

Dynamic width for twitter bootstrap dropdown menu?

I am working on a new layout for my ASP.Net site and am taking advantage of the twitter bootstrap but can not get the dropdown menu working 100%. I have a menu labled "Media" and when you click on the submenu pops down like it should but the width…
user1365911
3
votes
2 answers

How to decode ASP.NET 4.5 ViewState

We have recently migrate our site to .NET 4.5, one of the change was adding targetFramework="4.5" to httpRuntime to opt in for ASP.NET 4.5 behaviours. Everything was working as expected until we try to reproduce some exception locally. Prior to the…
BlueFox
  • 950
  • 13
  • 29
3
votes
1 answer

Handling concurrency issues for asp.net C# / SQL Server application

How can I handle concurrency issues for an asp.net 4.5 web application (VS2012 and C#, SQL Server) For example: My scenario is a user might have a chance that is never able to process a queue item. See the following: User A opens the queue item…
Steve
  • 1,471
  • 7
  • 19
  • 32
3
votes
1 answer

asp.net 4.5 GC perfmon changes?

After weeks of testing we deployed .NET 4.5 (upgraded from 4.0) on our ASP.NET production application. Site functionality is solid as our testing demonstrated. There ARE differences though that we are working thru that may prompt other questions. I…
n8wrl
  • 19,439
  • 4
  • 63
  • 103
3
votes
2 answers

WCF and Shared Reference Library Between Client & Service

Visual Studio and SvcUtil can be used to generate proxy code to integrate with a service. In VS 2010 and prior there were issues if you wanted to maintain a cross tier reference library of shared types. This forced several workarounds to address…
Zack Jannsen
  • 622
  • 7
  • 17
3
votes
2 answers

ASP.Net webforms - dynamic SEO friendly URL's

I've been reading a lot about the SEO friendly URL features in ASP.Net. Most of what I've read involves taking a URL that uses query-string params and making it pretty. I'm interested in making standard URL's pretty. For…
James Hill
  • 60,353
  • 20
  • 145
  • 161
3
votes
3 answers

azure acs error ID 1113 The specified acs service namespace and management key combination is invalid

I am getting the error even when I gave correct management Service Key error ID 1113 The specified acs service namespace ' xyz 'and management key combination is invalid I am using VS2012
Millar
  • 1,095
  • 6
  • 16
  • 34
3
votes
2 answers

Howto: simply read SQL Server database to MVC 4 view?

I am relatively new to MVC. I am trying to just display the contents of a remote SQL Server table on a page. It is READ ONLY, and nearly everything I find online is utilizing the Entity Framework or something similar which is overkill for what I am…
cardiac7
  • 491
  • 1
  • 9
  • 26
3
votes
3 answers

asp.net MVC 4 External Login Provider - 'No OpenID endpoint found' (google)

I'm learning MVC 4 (Visual Studio Express 2012) and trying to use the new templates that have baked in openId/OAuth external login support. I've been following this tutorial All I've done so far is create a new MVC 4 internet application with…
BadFeelingAboutThis
  • 14,445
  • 2
  • 33
  • 40
3
votes
2 answers

How to use SimpleMembership with WebForm 4.5 and EntityFramework?

Ive heard there new providers with ASP.NET 4.5 (such membership provider) but it seem i can't find anything decent about using the SimpleMembership with WebForm ASP.NET 4.5 and EntityFramework. Is there any good documentation or explanation about…
3
votes
1 answer

Visual Studio 2010 workaround to target .NET 4.5

Is there some workaround to target .NET 4.5 from Visual Studio 2010? I know there is no official support for this, but still, I'm hoping somebody discovered some clever way to get around this. I know you can install 4.5 as an in-place replacement…
Attila Szasz
  • 3,033
  • 3
  • 25
  • 39
3
votes
1 answer

How to cancel an async WebApi action after timeout?

Using ASP.Net WebAPI, I have a controller with an asynchronous action similar to the following: [HttpPost] public async Task DoSomething(string foo) { var result = await MyAsynchronousTask(foo); return result; } What this controller…
Matt Johnson-Pint
  • 230,703
  • 74
  • 448
  • 575
3
votes
1 answer

ASP.NET WebAPI XML Serialization after RC update

Prior to the asp.net 4 RC update, I had been using the WebApi for outputting XML. My model had XmlSerialization attributes [XmlElement(ElementName = "the name")] so that I could use friendlier names. e.g. [XmlElement(ElementName = "Branch")] public…
Tim B James
  • 20,084
  • 4
  • 73
  • 103
2
votes
1 answer

Castle.ActiveRecord.dll not compatible with ASP.NET MVC 4 Web API

MSFT claims that .NET 4.5 is backwards compatible with .NET 4. I went ahead and installed .NET 4.5 and VS 11, then created a new ASP.NET MVC 4 Web API project. When I reference the Castle.ActiveRecord.dll (version 3.0.0.0) into my Web API project,…
Justin
  • 17,670
  • 38
  • 132
  • 201