Hao Kung
94ef6cf8fa
React to Authorize changes
2015-02-16 15:40:57 -08:00
Praburaj
3fc61eeac9
Introducing SkipStatusCodePagesAttribute attribute to disable StatusCodepages
2015-02-13 16:03:59 -08:00
sornaks
6e8cc6ba74
Adding extension methods ConfigureMvcOptions and ConfigureRazorViewEngineOptions.
2015-02-04 14:07:07 -08:00
Mugdha Kulkarni
d7f2630ad2
Making FormatFilterAttribute an IFilterFactory
2015-01-31 23:18:30 -08:00
Mugdha Kulkarni
addd8dd5d2
Changing produces and format filter interaction
2015-01-31 23:18:18 -08:00
Mugdha Kulkarni
7ee80020e1
Incorporating PR comments - 1/19
2015-01-31 23:15:19 -08:00
Mugdha Kulkarni
c8b911b596
Adding functional tests and attribute route tests.
...
Incorporating PR coments.
2015-01-31 23:15:13 -08:00
Mugdha Kulkarni
d91b7776b3
This is MVC part of feature URL Extensions. It does following:
...
1. Creates a filter called FormatFilter. This will look at the format parameter if present
in the route data or query data and sets the content type in ObjectResult
2. It adds new options called FormatterOptions, that contains the map of format to content tyepe
3. A method in MVC options to add the formatter mapping
2015-01-31 23:15:04 -08:00
N. Taylor Mullen
cf7d428abd
React to aspnet/Razor#207 changes.
2015-01-31 23:14:54 -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
Hao Kung
7b2fb55ef6
React to Security Auth changes
2015-01-15 23:41:52 -08:00
Kiran Challa
02f4ca9f05
[ Fixes #1791 ]Remove XML formatter from defaults
2015-01-15 15:46:49 -08:00
riande
db96104985
removed App_data per [Mvc] Remove App_Data from MvcSample.Web Startup ( #1716 )
2014-12-31 11:09:03 -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
Hao Kung
d9893b260a
React to fallback changes
2014-11-20 17:43:55 -08:00
Doug Bunting
5e067cdb9e
Delete trailing whitespace
...
- #EngineeringDay
- Total replaced: 660 Matching files: 270 in *.cs
- Total replaced: 250 Matching files: 32 in all other files
- Total replaced: 22 Matching files: 8 in a few stragglers
Did not change files under following directories
- test\Microsoft.AspNet.Mvc.Razor.Host.Test\TestFiles\Output
- test\Microsoft.AspNet.Mvc.FunctionalTests\compiler\resources
- test\WebSites\TagHelpersWebSite
(Razor generates trailing whitespace in a case or two)
2014-11-20 16:18:09 -08:00
sornaks
99ad37fa99
Issue #1311 : Samples should be able to run on Mono.
...
Fix: Adding support for Kestrel server and fixing the paths for mono.
2014-10-17 14:08:22 -07:00
Hao Kung
448ac5a0dc
React to options and hosting changes
2014-10-14 19:20:28 -07:00
YishaiGalatzer
13ee27c92c
Rename IControllerAssemblyProvider to IAssemblyProvider and follow through resultant renames
2014-10-11 13:26:07 -07:00
Hao Kung
b6bd7f5d78
React to UsePerRequestServices
2014-10-09 14:17:04 -07:00
Hao Kung
6dfcfaa7eb
React to options changes
2014-10-08 12:56:53 -07:00
Pranav K
ad8ab4b8fd
Adding support for ViewLocationExpanders to allow modifying view locations
...
without changing the view engine.
Fixes #1039
2014-10-01 16:15:25 -07:00
Ryan Nowak
7ed2de297e
moving global filters to options
2014-09-15 15:34:45 -07:00
David Fowler
18400481b5
Cleaned up the mvc sample
...
- Removed unnecessary dependencies
- Removed web.config
- Use overload of UseServices that automatically adds options
2014-09-15 09:51:00 -07:00
Chris Ross
85ad1aeb96
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 14:12:08 -07:00
sornaks
28e334d3db
Issue #668 : Sample should be covered by a basic functional test.
2014-09-04 14:07:46 -07:00
David Fowler
34add2249e
Updated to use the new target framework in project.json
2014-09-04 02:02:40 -07:00
harshgMSFT
927821a8ac
Data Token support changes
2014-08-11 11:38:10 -07:00
tugberkugurlu
b855b69e5a
added Microsoft.AspNet.StaticFiles package to be able to serve static files for the sample
2014-07-04 12:04:34 +03:00
Yishai Galatzer
6aa1f84420
Add Service monitoring as middleware to make sure the monitoring doesn't affect autofac services counts
...
Scoping of three services
Caching of action binding context.
Make input formatters lazy
2014-06-16 19:03:30 -07:00
Ryan Nowak
d79943d30f
Fixing issues build/project issues that someone else missed.
2014-06-16 13:26:49 -07:00
harshgMSFT
10285d7d39
This additional constraint enables adding a route to the template (and potentially to the UseMvc method) without actually implementing the actual artifact.
...
For example without adding an area to a controller, a route can still be added to the template.
- Also added functional tests.
2014-06-16 11:24:22 -07:00
Yishai Galatzer
95aa6ad607
Add AutoFac to the MVC sample
2014-06-09 15:00:40 -07:00
Pranav K
59e419ba0a
Adding support for @Inject to Mvc
2014-06-09 13:43:08 -07:00
David Fowler
ade41533f1
Updated the Startup
2014-05-09 00:48:26 -07:00
Andrew Peters
f13865dedc
Updating copyright headers
2014-05-08 23:01:20 -07:00
Pranav K
076dedcca5
Reacting to package and namespace changes
2014-05-06 14:06:29 -07:00
harshgMSFT
9b79664e2f
Fixing Build break due to namespace move.
2014-05-06 10:04:58 -07:00
Ryan Nowak
abbaa11212
Incorporate name changes: HttpAbstractions
2014-05-05 17:14:08 -07:00
Ryan Nowak
490b6d1434
IServiceContainer changes should have added this
2014-05-02 19:03:32 -07:00
anpete
8208cd6b2f
Update file headers
2014-05-01 17:42:33 -07:00
harshgMSFT
3765abdfca
Adding Support for LinkGeneration for named Routes.
...
- Adding HtmlHelpers for route link generation.
- Controller Helpers
- UrlHelper and UrlHelperExtensions
2014-04-30 18:34:46 -07:00
harshgMSFT
a1f3c72e08
Updating the sample after namedRoute changes
2014-04-30 16:10:09 -07:00
Ryan Nowak
20c8dece7b
Adding IFilterFactory
...
This is a generalized factory/provider for filters - TypeFilterAttribute
and ServiceFilterAttribute are now implemented in terms of this interface.
2014-04-30 13:18:10 -07:00
David Fowler
05a2319d84
Moved BuilderExtensions to Microsoft.AspNet namespace
2014-04-18 00:51:27 -07:00
David Fowler
73b7509368
Updated to use new UseServices API
2014-04-17 21:13:43 -07:00
David Fowler
fba1b400fe
Removed comment
2014-04-17 20:00:06 -07:00
David Fowler
73e1386724
Added UseMvc extension method via IBuilder extensions.
2014-04-17 19:55:23 -07:00
David Fowler
93c9b3419e
Made some changes to the MvcApplication class
...
- Renamed it to MvcRouteHandler
- Removed required IServiceProvider ctor param.
- The HttpContext flows the application services through to MVC. This does
require a call to app.UseContainer in order for things to work but that should be fine.
This will be the pattern we use for all frameworks going forward and we'll need to have some
good error handling around this area when things aren't wired up properly.
2014-04-17 00:02:10 -07:00
David Fowler
4fc0b56dfa
Added extension method to ServiceCollection to register default services
2014-04-16 23:59:36 -07:00