Ternence.Lin

1

votes
0

answer
1.2k

views

Could not load type 'Microsoft.EntityFrameworkCore.Infrastructure.DesignTimeProviderServicesAttribute'

I use Visual Studio for Mac, created a .net core web api project. The csproj file is like this: netcoreapp2.0 When I execute 'dotnet ef dbcontext scaffold' to scaffold from MySQL with the following command: dotnet ef dbcontext scaffold 'server=[server];port=3306;user=[user];password=[password];datab...
Ternence.Lin
1

votes
2

answer
0

views

How to set oidc ResponseType to get both claims and access_token?

Recently I am working on an SSO with IdentityServer4, when I debug the code, I found that the ResponseType setting cause a tricky problem. When I set My Client like this: JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear(); services.AddAuthentication(options => { options.DefaultScheme = 'Cook...
Ternence.Lin
6

votes
0

answer
475

views

Why Vuex state return array as an object

I am using Typescript + vue + vuex, the state is defined as const state: CommonDataState = { clients: [], version: 1 } The getters is const getters: GetterTree = { getClients: state=> () => { return state.clients; }, getClientById: state => (id: string) => { return state.clients.filter(x => true)[0...
Ternence.Lin
2

votes
1

answer
2.8k

views

Is it possible to resize vuetify components?

I recently use Vuetify to implement some UI designs. However, I found the default input component (such as v-text-field, v-select) are too large. I found that I can adjust the width of them, but for the height and font size, how can I change them?
Ternence.Lin