29 references to Content
ControllersFromServicesClassLibrary (2)
EmployeeRecords.cs (2)
13return Content("Updated record " + recordId); 20return Content("Saved record employee #" + id);
FormatterWebSite (9)
Controllers\HomeController.cs (1)
16return Content(dummyObject.SampleInt.ToString(CultureInfo.InvariantCulture));
Controllers\InputFormatterController.cs (1)
17return Content(test);
Controllers\JsonFormatterController.cs (3)
56return Content(dummyObject.SampleInt.ToString(CultureInfo.InvariantCulture)); 68return Content(dummyObject?.SampleInt.ToString(CultureInfo.InvariantCulture)); 79return Content(value.ToString(CultureInfo.InvariantCulture));
Controllers\SerializableErrorController.cs (1)
18return Content("Hello World!");
Controllers\TopLevelValidationController.cs (1)
39return Content($@"
Controllers\ValidationController.cs (2)
16return Content(ModelState["Id"].Errors[0].ErrorMessage + "," + 22return Content("User has been registered : " + user.Name);
GenericHostWebSite (3)
Controllers\TestingController.cs (3)
45return Content("No header present"); 58return Content("true"); 62return Content("false");
Microsoft.AspNetCore.Mvc.Core.Test (2)
ControllerBaseTest.cs (2)
2186var actualContentResult = controller.Content("TestContent"); 3296return Content("Hello!!");
SecurityWebSite (11)
Controllers\AdministrationController.cs (4)
18return Content("Administration.Index"); 26return Content("Administration.EitherCookie:AuthorizeCount=" + countEvaluator.AuthorizeCount); 32return Content("Administration.AllowAnonymousAction"); 39return Content("SignInCookie2");
Controllers\AntiforgeryController.cs (1)
15return Content("Ok");
Controllers\HomeController.cs (4)
21return Content("Automaticaly doesn't matter"); 28return Content("Doesn't matter"); 33return Content("Login!"); 38return Content("Logout!");
Controllers\IgnoreAntiforgeryController.cs (1)
15return Content("Ok");
Controllers\LoginController.cs (1)
42return Content(BearerAuth.GetTokenText(identity.Claims));
XmlFormattersWebSite (2)
Controllers\HomeController.cs (1)
23return Content(dummyObject.SampleInt.ToString(CultureInfo.InvariantCulture));
Controllers\SerializableErrorController.cs (1)
45return Content("Hello World!");