whatsinaname
whatsinaname
CC#
Created by Zee on 12/27/2024 in #help
unit testing problem with ICache
It.IsAny<Customer> something like this u may have to define in the mock setup
6 replies
CC#
Created by whatsinaname on 12/25/2024 in #help
Has anyone used a semantic kernel?
lol
4 replies
CC#
Created by LA PΓ€SSIONπŸ”₯πŸ”₯πŸ”₯ on 12/18/2024 in #help
OpenAPI Documents Empty
It means it doesn't find the document
7 replies
CC#
Created by whatsinaname on 12/12/2024 in #help
Openapi to have XML documentation of the properties and endpoints.
I did create the context by generating from the assembly for all the types and I was able to build, but it is giving object null reference exception at below line @martincostello - I did add context for all the types used in the assembly but it is giving me a null exception at below line "method":"MartinCostello.OpenApi.Transformers.DescriptionsTransformer.TransformAsync" @captainsafia - could you do needful here?
4 replies
CC#
Created by LA PΓ€SSIONπŸ”₯πŸ”₯πŸ”₯ on 12/18/2024 in #help
OpenAPI Documents Empty
it should work, did u f12 and see the api response for the request?
7 replies
CC#
Created by whatsinaname on 12/12/2024 in #help
Openapi to have XML documentation of the properties and endpoints.
I added services.AddHttpContextAccessor(); as well. throwing object reference null exception. at MartinCostello.OpenApi.Transformers.DescriptionsTransformer.TransformAsync(OpenApiOperation operation, OpenApiOperationTransformerContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.OpenApi.OpenApiDocumentService.<GetOperationsAsync>d20.MoveNext() at Microsoft.AspNetCore.OpenApi.OpenApiDocumentService.<GetOpenApiPathsAsync>d19.MoveNext() at Microsoft.AspNetCore.OpenApi.OpenApiDocumentService.<GetOpenApiDocumentAsync>d12.MoveNext() at Microsoft.AspNetCore.Builder.OpenApiEndpointRouteBuilderExtensions.<>cDisplayClass0_0.<<MapOpenApi>b0>d.MoveNext() at Microsoft.AspNetCore.Http.Generated.<GeneratedRouteBuilderExtensions_g>F56B68D2B55B5B7B373BA2E4796D897848BC0F04A969B1AF6260183E8B9E0BAF2GeneratedRouteBuilderExtensionsCore.<>cDisplayClass2_0.<<MapGet0>gRequestHandler|5>d.MoveNext() at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.<Invoke>d11.MoveNext() at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d6.MoveNext() at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<<Invoke>g__Awaited|10_0>d.MoveNext()
4 replies
CC#
Created by whatsinaname on 12/12/2024 in #help
Openapi to have XML documentation of the properties and endpoints.
@admin do we have Martin in this group?
4 replies
CC#
Created by πŸ”« Vicious Vicky πŸ”« on 12/13/2024 in #help
Unable to Install SQL Server
do u see anything in the eventviewer
7 replies
CC#
Created by whatsinaname on 11/22/2024 in #help
βœ… Swashbuckle to other swagger UI
I tried using the openapi but it didn't work. below code is for reference public void ConfigureServices(IServiceCollection services) { services.AddOpenApi(); } public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseEndpoints(endpoints => {
endpoints.MapOpenApi(); endpoints.MapScalarApiReference(options => {
}); }); }
7 replies
CC#
Created by whatsinaname on 11/22/2024 in #help
βœ… Swashbuckle to other swagger UI
I tried using the open API and followed their documentation but didn't help. Posted on their discord too. Thank you
7 replies
CC#
Created by whatsinaname on 11/22/2024 in #help
βœ… Swashbuckle to other swagger UI
what is the equalent to the swaggerreposnse? I tried using ProducesResponseType but it doesn't have an option to add the description
7 replies
CC#
Created by whatsinaname on 11/19/2024 in #help
migrate to .NET 9
i finished the upgrade and it is working fine.
6 replies
CC#
Created by whatsinaname on 11/19/2024 in #help
migrate to .NET 9
- update your visual studio 17.12.1 - If .NET9 SDK is not installed, then Download and Install .NET 9.0 from https://dotnet.microsoft.com/en-us/download - Update the target framework - Upgrade the NuGet packages - Fix build errors if any. - run the solution - let it build and run as expected. - try to push a docker to the local docker hub and run one of the APIs
6 replies
CC#
Created by whatsinaname on 11/1/2024 in #help
βœ… What is the free alternative to jet brains resharper ?
disabling r#. it is a pain. but my senior compel us to use it
32 replies
CC#
Created by whatsinaname on 11/1/2024 in #help
βœ… What is the free alternative to jet brains resharper ?
I totally agree with this. If we use resharper in vs, It is taking time to load everything and I feel the slowness. I spoke to one of the dev here and he suggested something to me but I missed it. He's from Canada, currently lives in the Philippines and suggested to me an extension that works better.
32 replies
CC#
Created by whatsinaname on 11/1/2024 in #help
Any visual studio extension to draw flow diagram from the code
When I google or do chatgpt, it's showing code map or manual way but flame graph I'll try and get back to you
24 replies
CC#
Created by whatsinaname on 11/1/2024 in #help
Any visual studio extension to draw flow diagram from the code
I'll try our the flame graph and I appreciate you both.
24 replies
CC#
Created by whatsinaname on 11/1/2024 in #help
Any visual studio extension to draw flow diagram from the code
My requirement was to get the flow chart diagram. I haven't checked the code map as it is exclusively for enterprise one. I use the professional one.
24 replies
CC#
Created by whatsinaname on 11/1/2024 in #help
Any visual studio extension to draw flow diagram from the code
Hey, thank you for ur responses
24 replies
CC#
Created by whatsinaname on 11/1/2024 in #help
βœ… What is the free alternative to jet brains resharper ?
The purpose is to rename in multiple places at once or code smells or etc.,
32 replies