James Newton-King
7854d65c11
Support page parameter in attribute route ( #8530 )
2018-10-04 14:39:40 +13:00
Pranav K
5bd818bd64
Introduce ProblemDetailsFilter
...
Fixes https://github.com/aspnet/Mvc/issues/6786
2018-08-21 17:29:12 -07:00
James Newton-King
046af405b6
Rename global routing to endpoint routing ( #8179 )
2018-08-01 15:05:49 +12:00
James Newton-King
c08504b08a
MVC startup experience ( #8131 )
2018-07-25 14:30:51 +12:00
Pranav K
335500ab0e
Use ModelMetadata from actual types for validation
...
Fixes https://github.com/aspnet/Mvc/issues/7952
2018-07-02 11:23:16 -07:00
Pranav K
ec31ff0c28
Throw if multiple Body bound parameters are discovered
...
Fixes #6963
2018-04-09 11:20:34 -07:00
Pranav K
ae2d82c748
Remove FiltersWebSite
2018-03-16 16:54:10 -07:00
Ryan Brandenburg
9b4b373014
Remove IErrorDescriptionFactory
2018-03-07 13:09:13 -08:00
Kristian Hellang
bfbc04f758
Use AddHttpContextAccessor method added in aspnet/HttpAbstractions#947
2017-10-03 08:52:59 -07:00
Pranav K
7f214492b8
Introduce a filter to send bad request results with details when ModelState is invalid ( #6849 )
...
* Introduce a filter to send bad request results with details when ModelState is invalid
Fixes #6789
2017-09-21 11:09:32 -07:00
Kiran Challa
3beb310866
Avoid saving TempData in case of unhandled exceptions. [ Fixes #6598 ] BUG? Accessing TempData prevent response to have content on error.
2017-09-07 13:13:27 -07:00
Pranav K
7b2a4ff465
Allow "page" route parameter to be used in Mvc controllers
...
Fixes #6660
2017-08-24 15:44:37 -07:00
Javier Calvarro Nelson
d917504c14
[ Fixes #6468 ] Clean up the productionized testing infrastructure
2017-07-03 10:15:06 -07:00
Ryan Brandenburg
d9d280d1ef
Make CookieTempDataProvider the default ITempDataProvider ( #5892 )
2017-03-07 16:04:47 -08:00
Kiran Challa
89bd6dc1cd
[ Fixes #5212 ] Added a cookie based ITempDataProvider
2016-10-03 14:04:57 -07:00
BrennanConroy
df7be69e85
Remove references to UseDefaultHostConfiguration
2016-04-27 18:38:34 -07:00
ryanbrandenburg
e915f36748
Update samples and test sites to new formats
2016-04-25 12:09:40 -07:00
John Luo
059179b7b8
Add web.config to test sites
2016-04-13 16:12:56 -07:00
John Luo
22b37fb83b
Update samples and react to Kestrel extensions
2016-03-30 17:33:25 -07:00
Doug Bunting
6bf25cecec
React to HttpAbstractions namespace changes
...
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:19:42 -07:00
John Luo
555a8d0a3b
Reacting to Hosting changes
2016-03-24 12:10:09 -07:00
jacalvar
0489812aab
React to changes in caching
2016-03-07 19:06:51 -08:00
Pranav K
5b805bb12d
Updating to use cli
...
Fixes #3908
2016-02-22 17:49:51 -08:00
N. Taylor Mullen
3be7fbdf9f
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:18:33 -08:00
John Luo
249673f2bc
Reacting to hosting rename
2016-01-17 18:13:26 -08:00
N. Taylor Mullen
aa7ebb343a
Update half of the test websites to use new Hosting API conventions.
...
https://github.com/aspnet/KestrelHttpServer/pull/496
2015-12-18 15:35:13 -08:00
Doug Bunting
59824dc7be
MVC functional test cleanup (part 1)
...
- #3612 subpart 2 of 2
- merge `ActionConstraintsWebSite`, `AntiforgeryTokenWebSite` and `ContentNegotiationWebSite` into `BasicWebSite`
- remove tests depending on `ErrorReporterMiddleware` in merged sites; not used in `BasicWebSite`
- delete `CompositeViewEngineWebSite`, `Microsoft.AspNet.Mvc.ViewEngines.CompositeViewEngineTest` covers cases
- delete `CorsMiddlewareWebsite`, soon to be in Cors repo (see aspnet/CORS#57 )
- remove `SendFileMiddleware` from FilesWebSite, unused there
2015-12-14 21:50:55 -08:00
Kiran Challa
57b88baad0
[ Fixes #3624 ] MVC functional test cleanup (part 2)
2015-12-10 16:26:39 -08:00
Kiran Challa
dd774366f6
Addressed feedback
2015-12-03 14:42:14 -08:00
Kiran Challa
9288ab1a34
Removed TempDataWebsite and merged to BasicWebsite and fixed tests
2015-12-03 14:42:11 -08:00
Kiran Challa
3c694ce77c
Movig RequestServicesWebsite to BasicWebsite
2015-12-03 14:42:10 -08:00
ryanbrandenburg
91e837d465
* Debug log exceptions in JsonInput deserializing
2015-11-30 11:19:22 -08:00
Pranav K
f57e180971
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:53 -07:00
Ryan Nowak
a318c4599a
API Review - Split up .Actions
...
Abstractions - Core MVC extensibility
Controllers - MVC implementations of .Abstractions and supporting
contracts
Infrastructure - General purpose support APIs. Metadata APIs that don't
fit clearly with a feature or with .Abstraction
2015-09-21 21:54:02 -07:00
Ryan Nowak
229724c4ea
Reorganize MVC namespaces
2015-09-01 22:28:33 -07:00
Ryan Nowak
9d89a8cac3
Homogenize MVC startup code patterns
...
Use builder APIS for both AddMvc() and AddMvcCore()
Change various API patterns to all use .AddXyz(...) off of one or both of
these builders.
2015-08-16 18:48:24 -07:00
N. Taylor Mullen
64e726d2b2
Update LICENSE.txt and license header on files.
2015-05-01 13:55:25 -07:00
Doug Bunting
fc1017fba8
Quick fixes: Clean up test code
...
- remove useless `configuration` variables and `Configuration` instances
- remove "Review" code comment
- unintentionally included in commit 4b5dd19
- reduce repeated code in `TestHelper` for functional tests
- `CreateServer()` methods had duplicate code, an ambiguous match, and an odd order
- rename `GetTestConfiguration()` to `UseCultureReplacer()` in functional tests
2015-03-24 13:42:27 -07:00
Hao Kung
4b5dd199ca
React to hosting changes
2015-03-19 11:07:25 -07:00
sornaks
d2bdd4f1d4
Removing 'Options' from ConfigureMvcOptions and ConfigureRazorViewEngineOptions.
2015-03-17 13:35:26 -07:00
Kiran Challa
f06007d428
[ Fixes #2156 ] Remove IConfiguration from AddMvc
2015-03-14 00:02:53 -07:00
Yishai Galatzer
ed8e5716ea
Remove INestedProviderXXX
...
React to aspnet/DependencyInjection#179
2015-02-23 15:18:39 -08:00
sornaks
d2c3985cd6
Issue #1445 - Cleanup on MvcOptions.ApplicationModelConventions.
2015-02-10 13:17:19 -08:00
sornaks
6e8cc6ba74
Adding extension methods ConfigureMvcOptions and ConfigureRazorViewEngineOptions.
2015-02-04 14:07:07 -08:00
Pranav K
071c697318
Modify BuilderExtensions.UseMvc to not add any routes by default
...
Fixes #1879
2015-01-23 16:51:38 -08:00
Doug Bunting
7eb106676c
Add missing license headers
...
- #EngineeringDay
- license present but incorrect in just a few files
- skip generated files such as Resources.Designer.cs and files under
test\Microsoft.AspNet.Mvc.Razor.Host.Test\TestFiles\Output
2014-11-20 22:54:05 -08:00
Doug Bunting
315908af5f
Apply VS' FormatDocument and RemoveAndSort to all *.cs files
...
- #EngineeringDay
- VS does not yet format auto-properties nicely; reverted what it did
Also revert changes under
- test/Microsoft.AspNet.Mvc.Razor.Host.Test/TestFiles
2014-11-20 21:15:46 -08:00
Hao Kung
448ac5a0dc
React to options and hosting changes
2014-10-14 19:20:28 -07:00
Hao Kung
b6bd7f5d78
React to UsePerRequestServices
2014-10-09 14:17:04 -07:00
Chris Ross
85ad1aeb96
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 14:12:08 -07:00