TotechsStrypper
TotechsStrypper
CC#
Created by TotechsStrypper on 5/12/2024 in #help
Dealing with collection type in MongoDb provider efcore
Exception
System.InvalidOperationException: Type of ExtraElements member must be BsonDocument or implement IDictionary<string, object>.
at MongoDB.Bson.Serialization.BsonClassMap.SetExtraElementsMember(BsonMemberMap memberMap)
at MongoDB.Bson.Serialization.Attributes.BsonExtraElementsAttribute.Apply(BsonMemberMap memberMap)
at MongoDB.Bson.Serialization.Conventions.AttributeConventionPack.AttributeConvention.Apply(BsonMemberMap memberMap)
at MongoDB.Bson.Serialization.Conventions.ConventionRunner.Apply(BsonClassMap classMap)
at MongoDB.Bson.Serialization.BsonClassMap.AutoMapClass()
at MongoDB.Bson.Serialization.BsonClassMap.AutoMap()
at MongoDB.Bson.Serialization.BsonClassMap.LookupClassMap(Type classType)
System.InvalidOperationException: Type of ExtraElements member must be BsonDocument or implement IDictionary<string, object>.
at MongoDB.Bson.Serialization.BsonClassMap.SetExtraElementsMember(BsonMemberMap memberMap)
at MongoDB.Bson.Serialization.Attributes.BsonExtraElementsAttribute.Apply(BsonMemberMap memberMap)
at MongoDB.Bson.Serialization.Conventions.AttributeConventionPack.AttributeConvention.Apply(BsonMemberMap memberMap)
at MongoDB.Bson.Serialization.Conventions.ConventionRunner.Apply(BsonClassMap classMap)
at MongoDB.Bson.Serialization.BsonClassMap.AutoMapClass()
at MongoDB.Bson.Serialization.BsonClassMap.AutoMap()
at MongoDB.Bson.Serialization.BsonClassMap.LookupClassMap(Type classType)
3 replies
CC#
Created by TotechsStrypper on 8/2/2023 in #help
❔ Create new project in folder
the test project should live inside that folder
21 replies
CC#
Created by TotechsStrypper on 8/2/2023 in #help
❔ Create new project in folder
I like this
21 replies
CC#
Created by TotechsStrypper on 8/2/2023 in #help
❔ Create new project in folder
21 replies
CC#
Created by TotechsStrypper on 8/2/2023 in #help
❔ Create new project in folder
21 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
I don’t have access to my computer today but I will tried out your reference soon enough.
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
I don't know making the Application is an asp type is a gamble or not
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
this is so messed up
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
my application project is a class library
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
DAMN!!!
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
this is tightly to ASP
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
Oh crap
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
34 replies
CC#
Created by TotechsStrypper on 7/23/2023 in #help
❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?
Even IFormFile is not available
34 replies
CC#
Created by TotechsStrypper on 5/23/2023 in #help
❔ Service layer design
ah no, you return a direct object data. I still others giving some thought on this
8 replies
CC#
Created by TotechsStrypper on 5/23/2023 in #help
❔ Service layer design
so you will use the same return type
8 replies
CC#
Created by TotechsStrypper on 5/23/2023 in #help
❔ Service layer design
Yeah ?
8 replies
CC#
Created by TotechsStrypper on 3/16/2023 in #help
❔ Help: Github action release file not found
name: dotnet publish
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp
name: dotnet publish
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp
3 replies
CC#
Created by TotechsStrypper on 3/1/2023 in #help
❔ EFCORE DESIGN ONE TO MANY
Yes
8 replies