Removing XmlSerializer from TagHelpersSample.Web

This commit is contained in:
Pranav K 2015-01-23 17:26:48 -08:00
parent f93d0d82c3
commit 36413b4d81
2 changed files with 0 additions and 6 deletions

View File

@ -20,11 +20,6 @@ namespace TagHelperSample.Web
// prevents loading controllers from other assemblies when the sample is used in functional tests.
services.AddTransient<IAssemblyProvider, TestAssemblyProvider<Startup>>();
services.AddSingleton<MoviesService>();
services.Configure<MvcOptions>(options =>
{
options.AddXmlDataContractSerializerFormatter();
});
});
app.UseMvc(routes =>
{

View File

@ -9,7 +9,6 @@
"dependencies": {
"Kestrel": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Mvc.Xml": "6.0.0-*",
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*",
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",