55 references to Url
ClaimsTransformation (1)
Controllers\AccountController.cs (1)
44
if (
Url
.IsLocalUrl(returnUrl))
Cookies (1)
Controllers\AccountController.cs (1)
43
if (
Url
.IsLocalUrl(returnUrl))
IdentitySample.Mvc (3)
Controllers\AccountController.cs (2)
146
var redirectUrl =
Url
.Action("ExternalLoginCallback", "Account", new { ReturnUrl = returnUrl });
552
if (
Url
.IsLocalUrl(returnUrl))
Controllers\ManageController.cs (1)
324
var redirectUrl =
Url
.Action("LinkLoginCallback", "Manage");
Microsoft.AspNetCore.Mvc.Core (8)
ControllerBase.cs (8)
544
UrlHelper =
Url
,
574
UrlHelper =
Url
,
668
UrlHelper =
Url
,
698
UrlHelper =
Url
,
758
UrlHelper =
Url
,
784
UrlHelper =
Url
,
849
UrlHelper =
Url
,
875
UrlHelper =
Url
,
Mvc.RoutingWebSite (35)
Areas\Admin\DynamicController.cs (2)
13
return Content("Hello from dynamic controller: " +
Url
.Action());
19
return Content("Hello from dynamic controller POST: " +
Url
.Action());
Areas\Admin\FallbackController.cs (2)
13
return Content("Hello from fallback controller: " +
Url
.Action());
19
return Content("Hello from fallback controller POST: " +
Url
.Action());
Controllers\BanksController.cs (4)
22
Url
.Action(),
23
Url
.RouteUrl(new { }));
33
Url
.Action(),
34
Url
.RouteUrl(new { }));
Controllers\CompanyController.cs (5)
25
return _generator.Generate(
Url
.RouteUrl("Company", new { id = id }));
35
return _generator.Generate(
Url
.RouteUrl("Company", new { id = id }));
44
return _generator.Generate(
Url
.RouteUrl("RemoveCompany", new { id = id }));
52
return _generator.Generate(
Url
.RouteUrl(new { id = id }));
60
return _generator.Generate(
Url
.RouteUrl("Departments", new { id = id }));
Controllers\ContactController.cs (4)
20
return _generator.Generate(
Url
.RouteUrl("ActionAsMethod", null,
Url
.ActionContext.HttpContext.Request.Scheme));
25
return _generator.Generate(
Url
.RouteUrl("ActionAsMethod", null,
Url
.ActionContext.HttpContext.Request.Scheme));
Controllers\DynamicOrderController.cs (2)
20
return _generator.Generate(
Url
.RouteUrl("AttributeRouteSlug", new { slug }));
26
return _generator.Generate(
Url
.RouteUrl(null, new { controller = "DynamicOrder", action = "Index" }));
Controllers\LoginController.cs (4)
20
return _generator.Generate(
Url
.RouteUrl("ActionAsMethod", null,
Url
.ActionContext.HttpContext.Request.Scheme));
25
return _generator.Generate(
Url
.RouteUrl("ActionAsMethod", null,
Url
.ActionContext.HttpContext.Request.Scheme));
Controllers\MapsController.cs (7)
26
Url
.Action(),
27
Url
.RouteUrl("v1"),
28
Url
.RouteUrl(new { }));
35
Url
.Action(),
36
Url
.RouteUrl(new { }));
49
Url
.Action(),
50
Url
.RouteUrl(new { }));
Controllers\PageParameterController.cs (1)
20
return Content(
Url
.Action(nameof(PageParameter), new { page = "17", }));
Controllers\TeamController.cs (4)
45
return Content(
Url
.Action(), "text/plain");
51
return Content(
Url
.Action(), "text/plain");
57
return Content(
Url
.Action(), "text/plain");
63
return Content(
Url
.Action(), "text/plain");
PathSchemeSelection (1)
Controllers\AccountController.cs (1)
44
if (
Url
.IsLocalUrl(returnUrl))
StaticFilesAuth (1)
Controllers\AccountController.cs (1)
43
if (
Url
.IsLocalUrl(returnUrl))
VersioningWebSite (5)
Controllers\AddressController.cs (4)
36
Url
.Action("GetAllV1",
37
new { version = version }),
Url
.RouteUrl(new { version = version }));
44
Url
.Action("GetAllV2", new { version = version }),
45
Url
.RouteUrl(new { version = version }));
Controllers\VouchersController.cs (1)
22
return _generator.Generate(
Url
.RouteUrl("V" + version, new { version = version }));