MVC template improvements.

pull/1156/head
Halil ibrahim Kalkan 7 years ago
parent b11cc33008
commit 21f8edaf13

@ -1,5 +1,16 @@
{ {
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=MyProjectName;Trusted_Connection=True;MultipleActiveResultSets=true" "Default": "Server=localhost;Database=MyProjectName;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"IdentityServer": {
"Clients": {
"MyProjectName_Web": {
"ClientId": "MyProjectName_Web",
"RootUrl": "https://localhost:44314/"
},
"MyProjectName_ConsoleTestApp": {
"ClientId": "MyProjectName_ConsoleTestApp"
}
}
} }
} }

@ -54,7 +54,7 @@ namespace MyCompanyName.MyProjectName
Configure<AbpAuditingOptions>(options => Configure<AbpAuditingOptions>(options =>
{ {
options.IsEnabledForGetRequests = true; //options.IsEnabledForGetRequests = true;
options.ApplicationName = "AuthServer"; options.ApplicationName = "AuthServer";
}); });

@ -1,7 +1,7 @@
@page @page
@using MyCompanyName.MyProjectName.Pages @using MyCompanyName.MyProjectName.Pages
@using Volo.Abp.Users @using Volo.Abp.Users
@model MyCompanyName.MyProjectName.Pages.IndexModel @model IndexModel
@inject ICurrentUser CurrentUser @inject ICurrentUser CurrentUser
@if (CurrentUser.IsAuthenticated) @if (CurrentUser.IsAuthenticated)
{ {

@ -5,16 +5,5 @@
}, },
"Redis": { "Redis": {
"Configuration": "127.0.0.1" "Configuration": "127.0.0.1"
},
"IdentityServer": {
"Clients": {
"MyProjectName_Web": {
"ClientId": "MyProjectName_Web",
"RootUrl": "https://localhost:44314/"
},
"MyProjectName_ConsoleTestApp": {
"ClientId": "MyProjectName_ConsoleTestApp"
}
}
} }
} }

Loading…
Cancel
Save