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

Commented Issue: Add support to attribute routing for ignoring the route...

AttributeRouting.net has an option for ignoring the route prefix:```[RoutePrefix("Prefix")]public class IgnorePrefixController : Controller{[GET("Index")] // => "Prefix/Index"[GET("NoPrefix",...

View Article


Edited Issue: Add support to attribute routing for ignoring the route prefix...

AttributeRouting.net has an option for ignoring the route prefix:```[RoutePrefix("Prefix")]public class IgnorePrefixController : Controller{[GET("Index")] // => "Prefix/Index"[GET("NoPrefix",...

View Article


Closed Issue: Direct link generation should be consistent with Url.Link when...

The direct link generation generates "http://localhost/prefix/", while Url.Link generates "http://localhost/prefix" when the OData path is empty. There's a slight inconsistency here that we should fix.

View Article

Reviewed: v4.0 RTM (七月 19, 2013)

Rated 5 Stars (out of 5) - coooooooooooooooool

View Article

New Post: Kernel-mode caching in ASP.NET MVC

Hi guys, I have been looking at ASP.NET Web API caching and asked a question there but then when I tried using OutputCache attribute in ASP.NET MVC, I noticed that the action gets cached in user-mode...

View Article


New Post: PushStreamContent and Self hosting server

Hi, I'm trying to make the PushStreamContent works under the HttpSelfHostServer, without any success. I made a small test (basically, took the PushContentControllerSample and converted to a console...

View Article

New Post: CORS POST Requests not working - OPTIONS (Bad Request)

It seems that some browsers like Chrome allow me to proceed with the POST regardless of the error message in the OPTIONS response. But I don't consider this solved. Look at the Fidler screenshots of...

View Article

Commented Unassigned: ObjectContent.Value to return T not object [1137]

Currently `ObjectContext<T>` returns `base.Value` which has type `object`.Doesn't it make sense to introduce strongly-typed property to return `T` ( and change how is being kept...

View Article


Created Unassigned: Url.Link is ignoring route prefix when generating route...

I'm working with the nightly builds and hit a bug during url generation.I'm leveraging the new CreatedAtRoute method to return a proper 201 response to the caller, and its internally using Uri.Link to...

View Article


Edited Issue: metadata uri (json light) is missing $select clause [1107]

Spec here on the metadata url - http://docs.oasis-open.org/odata/odata/v4.0/csprd01/part1-protocol/odata-v4.0-csprd01-part1-protocol.html#_Toc355089421Issue: GET...

View Article

Commented Unassigned: Url.Link is ignoring route prefix when generating route...

I'm working with the nightly builds and hit a bug during url generation.I'm leveraging the new CreatedAtRoute method to return a proper 201 response to the caller, and its internally using Uri.Link to...

View Article

Commented Unassigned: Url.Link is ignoring route prefix when generating route...

I'm working with the nightly builds and hit a bug during url generation.I'm leveraging the new CreatedAtRoute method to return a proper 201 response to the caller, and its internally using Uri.Link to...

View Article

Reopened Unassigned: ObjectContent.Value to return T not object [1137]

Currently `ObjectContext<T>` returns `base.Value` which has type `object`.Doesn't it make sense to introduce strongly-typed property to return `T` ( and change how is being kept internally)?

View Article


Edited Unassigned: ObjectContent.Value to return T not object [1137]

Currently `ObjectContext<T>` returns `base.Value` which has type `object`.Doesn't it make sense to introduce strongly-typed property to return `T` ( and change how is being kept internally)?

View Article

Commented Issue: UpForGrabs: Web Api ModelState validation is ignoring the...

Given a model with these data annotations:public class Example{[Required][Display(Name = "Activity response")] public string ActivityResponse { get; set; }}I would expect the model state error message...

View Article


Edited Unassigned: Web Api attribute routing is adding NonAction decorated...

__Scenario__:A user sometimes would like to keep some methods public in his controller but would not like it to be invoked by end users, so he decorates it with [NonAction] attribute.__Issue__:In the...

View Article

Edited Unassigned: Web Api attribute routing is adding NonAction decorated...

__Scenario__:A user sometimes would like to keep some methods public in his controller but would not like it to be invoked by end users, so he decorates it with [NonAction] attribute.__Issue__:In the...

View Article


New Post: Support Async for Controller Virtual Methods

Hey guys do you plan on supporting async for the following methods on a controller? protected virtual void Initialize(RequestContext requestContext) protected virtual void...

View Article

Created Unassigned: Provide HttpDirectRoute constructor which accepts...

__Scenario__: User likes to register a per-route message handler for the Delete Customer action in the following controller.```[RoutePrefix("api/Customers")]public class CustomersController :...

View Article

Edited Issue: Ajax.BeginForm() not sending submit button's name/value [567]

There are certain circumstances when using Ajax.BeginForm() and the underlying jquery.unobtrusive-ajax.js script that the name/value of the submit button is not posted to the server.See StackOverflow...

View Article
Browsing all 7925 articles
Browse latest View live


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