Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Browsing all 7925 articles
Browse latest View live

Created Issue: Web Api Tracing hides exception context [862]

I have an exception that is being thrown, but the context information for the exception is being lost in the traceAction provided to ITraceWriter.Trace(). This happens because...

View Article


Closed Issue: Optimizer JS Bundling bug with files that ends and starts with...

Hi,When you bundle two files that the first one ending with one-line comment (//) and the second starts with multiline comment (/* */) the minifier throws an error.For examplea.js```function foo() { //...

View Article


Edited Feature: Add BSON support for Json.NET MediaTypeFormatter [241]

I'm so happy to see Json.NET being baked into Web API, however, I still have to write my own custom MediaTypeFormatter to support Bson. Json.NET supports this very easily using the same...

View Article

Created Issue: Html.HiddenFor helper and multiple forms on view [863]

HelloI found an issue with using Html.HiddenFor helper on views with more than one HTML forms.When we have a collection on the main view and trying to render partial view with HTML form for each...

View Article

New Post: Why is XML declaration ommitted in XmlMediaTypeFormatter?

Bump. I agree. Where are the options to turn on the declaration?

View Article


Created Issue: Rethrow the exception loses the exception stack [864]

In our System.Web.Http.WebHost.HttpControllerHandler.EndProcessRequest(), we will rethrow some exception if task is fauled or cancelled. Unfortunately, this rethrow hides the original exception stack....

View Article

Source code checked in, #8b9832a12ec3

Fixing CacheProfile bug; using CacheProfile yields Duration <= 0 error instead of CacheProfile not supported error.

View Article

Source code checked in, #1c8fcf0e34ad

Adjust tests for OutputCache error message fix

View Article


Updated Wiki: Contributors

We would like to thank the following contributors for sharing code and making ASP.NET MVC, Web API and Web Pages better products.Miguel de IcazaKhalid AbuhakmehNick BerardiPaul BettsPatrick...

View Article


Edited Issue: OutputCacheAttribute CacheProfile use for RenderAction scenario...

If you have an action that you call with RenderAction that has an attribute like this:[OutputCache(CacheProfile="foo")]and in web.config you've set up that profile to include the required VaryByParam...

View Article

Commented Issue: OutputCacheAttribute CacheProfile use for RenderAction...

If you have an action that you call with RenderAction that has an attribute like this:[OutputCache(CacheProfile="foo")]and in web.config you've set up that profile to include the required VaryByParam...

View Article

Source code checked in, #1acb241299a8

Update HubController programming model to use SignalR RTM package

View Article

Commented Issue: ASP.NET Web API OData does not work with Excel [820]

Excel expects an XML service doc, but it doesn't send any Accept header. By default ASP.NET Web API OData sends back a JSON service doc when no Accept header is specified. As a result you cannot...

View Article


Commented Issue: Dictionary model binder throws exception when no values...

This was working fine in MVC 3, I'm not sure if this is an intended change or not.In MVC4, the model binder cannot properly bind a Dictionary<> if the form was submitted with no values. Consider...

View Article

Commented Issue: Multiple DisplayModes - Caching error, will show wrong View...

HiI have large issue with one of my sites where i have implemted multiple views side by side using MVC4 DisplayModes.Pages are...

View Article


Commented Issue: Dictionary model binder throws exception when no values...

This was working fine in MVC 3, I'm not sure if this is an intended change or not.In MVC4, the model binder cannot properly bind a Dictionary<> if the form was submitted with no values. Consider...

View Article

Commented Issue: ASP.NET Web API OData does not work with Excel [820]

Excel expects an XML service doc, but it doesn't send any Accept header. By default ASP.NET Web API OData sends back a JSON service doc when no Accept header is specified. As a result you cannot...

View Article


Reviewed: v4.0 RTM (二月 22, 2013)

Rated 5 Stars (out of 5) - it's so good !!!!!!!!!!!!!!!!!!!!!!

View Article

New Post: Witch module redirect user to Login page when action is tagged with...

Hello, I work with MVC 4 since beta versions. I built a multilingual framework designed to create CMS. I need to create a kind of override to the method that redirect user to the login page if he is...

View Article

Created Issue: ApiExplorer not providing descriptions for route parameters...

For the following ValuesController and default Web API route, the help page is getting generated as expected.public class ValuesController : ApiController{// GET api/values public...

View Article
Browsing all 7925 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>