├── UrlPrettyPrintWeb
├── Views
│ ├── _ViewStart.cshtml
│ ├── _ViewImports.cshtml
│ ├── Shared
│ │ ├── Error.cshtml
│ │ └── _Layout.cshtml
│ └── Home
│ │ ├── Pretty.cshtml
│ │ └── Index.cshtml
├── appsettings.Development.json
├── appsettings.json
├── UrlPrettyPrintWeb.csproj
├── Program.cs
├── Properties
│ └── launchSettings.json
└── Controllers
│ └── HomeController.cs
├── README.md
├── UrlPrettyPrint
├── UrlPrettyPrint.csproj
└── Pretty.cs
├── LICENSE
├── UrlPrettyPrint.sln
├── .github
└── workflows
│ └── master_urlprettyprint.yml
├── .gitattributes
└── .gitignore
/UrlPrettyPrintWeb/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "_Layout";
3 | }
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Url Pretty Print
2 | ==============
3 |
4 | A basic url pretty printer for breaking up a one line url into parameters.
5 |
--------------------------------------------------------------------------------
/UrlPrettyPrintWeb/Views/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @using UrlPrettyPrintWeb
2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
3 |
--------------------------------------------------------------------------------
/UrlPrettyPrintWeb/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft.AspNetCore": "Warning"
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/UrlPrettyPrintWeb/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft.AspNetCore": "Warning"
6 | }
7 | },
8 | "AllowedHosts": "*"
9 | }
10 |
--------------------------------------------------------------------------------
/UrlPrettyPrint/UrlPrettyPrint.csproj:
--------------------------------------------------------------------------------
1 |
23 | Busy: @Html.Raw(ViewBag.q) 24 |
25 |27 | Pretty: 28 |
29 |30 | @Html.Raw(ViewBag.pretty) 31 |32 |
33 | New pretty 34 |
35 | 36 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Steve Shearn 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /UrlPrettyPrintWeb/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | @RenderSection("meta", required: false) 8 | 9 |37 | A basic pretty printer for breaking up a one line url into parameters. 38 |
39 | 40 |41 | Paste the Url in the text area below, click the "Pretty Print Url" button, and see pretty printed Url. 42 |
43 | 44 | @{ Html.BeginForm("Index", "Home", FormMethod.Post); } 45 |