Skip to content

Commit 6171588

Browse files
committed
* Ids4.AzureAdSSO.sln:
* Startup.cs: * Program.cs: * Config.cs: * Program.cs: * Startup.cs: * Program.cs: * Startup.cs: * Ids4.Api.csproj: * Ids4.Web.csproj: * identityserver4_log.txt: * ErrorViewModel.cs: * _ViewImports.cshtml: * Ids4.IdentityServer.csproj: * _Layout.cshtml: * ValuesController.cs: * HomeController.cs: * LoginController.cs: * launchSettings.json: * launchSettings.json: CLEAN CODE
1 parent 3ade228 commit 6171588

20 files changed

+556
-24
lines changed

Diff for: IdSrv4Basic.sln renamed to Ids4.AzureAdSSO.sln

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ VisualStudioVersion = 16.0.28803.352
55
MinimumVisualStudioVersion = 15.0.26124.0
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Src", "Src", "{6CD6862D-1583-4B8F-9E67-3A319BC17185}"
77
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdSrv4.InMem", "Src\IdSrv4.InMem\IdSrv4.InMem.csproj", "{CB4E936F-63B5-4C3A-BE36-FD20172ED499}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ids4.IdentityServer", "Src\IdSrv4.InMem\Ids4.IdentityServer.csproj", "{CB4E936F-63B5-4C3A-BE36-FD20172ED499}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Toll.portal", "Src\Toll.portal\Toll.portal.csproj", "{492343BD-F4A1-4366-B21F-8531F6087C08}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ids4.Web", "Src\Toll.portal\Ids4.Web.csproj", "{492343BD-F4A1-4366-B21F-8531F6087C08}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Toll.API", "Src\Toll.API\Toll.API.csproj", "{93B662DE-CBDA-4C33-A240-E4EFDF8D6FFA}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ids4.Api", "Src\Toll.API\Ids4.Api.csproj", "{93B662DE-CBDA-4C33-A240-E4EFDF8D6FFA}"
1313
EndProject
1414
Global
1515
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Diff for: Src/IdSrv4.InMem/Config.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using IdentityServer4.Models;
66
using System.Collections.Generic;
77

8-
namespace IdSrv4.InMem
8+
namespace Ids4.IdenityServer
99
{
1010
public static class Config
1111
{
File renamed without changes.

Diff for: Src/IdSrv4.InMem/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Serilog.Sinks.SystemConsole.Themes;
1010
using System;
1111

12-
namespace IdSrv4.InMem
12+
namespace Ids4.IdenityServer
1313
{
1414
public class Program
1515
{

Diff for: Src/IdSrv4.InMem/Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using Microsoft.Extensions.Configuration;
1212
using IdentityServer4.Models;
1313

14-
namespace IdSrv4.InMem
14+
namespace Ids4.IdenityServer
1515
{
1616
public class Startup
1717
{

Diff for: Src/IdSrv4.InMem/identityserver4_log.txt

+532
Large diffs are not rendered by default.

Diff for: Src/Toll.API/Controllers/ValuesController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.AspNetCore.Authorization;
66
using Microsoft.AspNetCore.Mvc;
77

8-
namespace Toll.API.Controllers
8+
namespace Ids4.Api.Controllers
99
{
1010
[Route("api/[controller]")]
1111
[ApiController]
File renamed without changes.

Diff for: Src/Toll.API/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using Microsoft.Extensions.Configuration;
99
using Microsoft.Extensions.Logging;
1010

11-
namespace Toll.API
11+
namespace Ids4.Api
1212
{
1313
public class Program
1414
{

Diff for: Src/Toll.API/Properties/launchSettings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"profiles": {
12-
"Toll.API": {
12+
"Ids4.Api": {
1313
"commandName": "Project",
1414
"launchBrowser": true,
1515
"launchUrl": "api/values",

Diff for: Src/Toll.API/Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using Microsoft.Extensions.Logging;
1212
using Microsoft.Extensions.Options;
1313

14-
namespace Toll.API
14+
namespace Ids4.Api
1515
{
1616
public class Startup
1717
{

Diff for: Src/Toll.portal/Controllers/HomeController.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
using System.Net.Http.Headers;
77
using System.Threading.Tasks;
88
using Microsoft.AspNetCore.Mvc;
9-
using Toll.portal.Models;
9+
using Ids4.Web.Models;
1010

11-
namespace Toll.portal.Controllers
11+
namespace Ids4.Web.Controllers
1212
{
1313
public class HomeController : Controller
1414
{

Diff for: Src/Toll.portal/Controllers/LoginController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Microsoft.AspNetCore.Http;
77
using Microsoft.AspNetCore.Mvc;
88

9-
namespace Toll.portal.Controllers
9+
namespace Ids4.Web.Controllers
1010
{
1111
public class LoginController : Controller
1212
{
File renamed without changes.

Diff for: Src/Toll.portal/Models/ErrorViewModel.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using System;
1+
using System;
22

3-
namespace Toll.portal.Models
3+
namespace Ids4.Web.Models
44
{
55
public class ErrorViewModel
66
{

Diff for: Src/Toll.portal/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using Microsoft.Extensions.Configuration;
99
using Microsoft.Extensions.Logging;
1010

11-
namespace Toll.portal
11+
namespace Ids4.Web
1212
{
1313
public class Program
1414
{

Diff for: Src/Toll.portal/Properties/launchSettings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"iisSettings": {
33
"windowsAuthentication": false,
44
"anonymousAuthentication": true,
@@ -8,7 +8,7 @@
88
}
99
},
1010
"profiles": {
11-
"Toll.portal": {
11+
"Ids4.Web": {
1212
"commandName": "Project",
1313
"launchBrowser": true,
1414
"environmentVariables": {

Diff for: Src/Toll.portal/Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using Microsoft.Extensions.Configuration;
88
using Microsoft.Extensions.DependencyInjection;
99

10-
namespace Toll.portal
10+
namespace Ids4.Web
1111
{
1212
public class Startup
1313
{

Diff for: Src/Toll.portal/Views/Shared/_Layout.cshtml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>@ViewData["Title"] - Toll.portal</title>
6+
<title>@ViewData["Title"] - Ids4.Web</title>
77

88
<environment include="Development">
99
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
@@ -26,7 +26,7 @@
2626
<span class="icon-bar"></span>
2727
<span class="icon-bar"></span>
2828
</button>
29-
<a asp-area="" asp-controller="Home" asp-action="Index" class="navbar-brand">Toll.portal</a>
29+
<a asp-area="" asp-controller="Home" asp-action="Index" class="navbar-brand">Ids4.Web</a>
3030
</div>
3131
<div class="navbar-collapse collapse">
3232
<ul class="nav navbar-nav">
@@ -53,7 +53,7 @@
5353
@RenderBody()
5454
<hr />
5555
<footer>
56-
<p>&copy; 2019 - Toll.portal</p>
56+
<p>&copy; 2019 - Ids4.Web</p>
5757
</footer>
5858
</div>
5959

Diff for: Src/Toll.portal/Views/_ViewImports.cshtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@using Toll.portal
2-
@using Toll.portal.Models
1+
@using Ids4.Web
2+
@using Ids4.Web.Models
33
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

0 commit comments

Comments
 (0)