AI Wisdom

Tag

dotnet-9

6 articles tagged with “dotnet-9”

.d.tsA/B-testingACRAIAI-SearchAPEAPI-gatewayAPI-providersAPMASP.NET-CoreAlertmanagerAnthropicAnthropic-APIArizeAutoGenAzure-APIMAzure-OpenAIBedrockBundlerCICapitalizeClaudeCoTCopilotCosmos-DBCursorDORADSPyDeepEvalDefinitelyTypedDocker-HubEvent-GridFinOpsGHCRGPTGPT-6GPUGeminiGemmaGitFlowGitHubGoogle-DeepMindGroqGroupChatHPAHelmICLIstioJSONJSON-modeKV cacheKubernetesLLMLLM-as-judgeLLM-monitoringLLM-securityLangChainLangGraphLangSmithLinkerdLlamaMCPMTEBMistralModel-Context-ProtocolNode16OIDCOPROOTELOWASPOmitOpenAIOpenAI-APIOpenTelemetryOutlinesP99PIIPII-filteringPagerDutyPartialPhiPhoenixPickPineconePromptfooQdrantRAGRAG-evaluationRAGASReActRecordResponses-APISDKSLISLMSLOSemantic-KernelService-BusTC39TTFTToTVertex-AIWebLLMWindsurfa-staradaptive-thinkingagentsaggregationaiai-gatewayaksalertingalgorithmsapi-designapi-gatewayapi-versioningapimapp-routerapp-serviceappsecarchitecturearm-templatesaspnet-coreaspnetcoreassertion-functionsassertsasyncauditauthenticationauthorizationautomationazureazure-content-safetyazure-front-doorazure-functionsazure-openaiazure-policyazure-storagebatch-APIbddbeam searchbenchmarksbest-practicesbfsbi-encoderbias-detectionbicepbinary-searchbranchingbstcache-componentscachingcap-theoremcapability-taggingcascadingcase-based-reasoningchain-of-thoughtchartschatbotcheckpointingchunkingci-cdci-optimizationcicdclass-decoratorclean-architecturecloudcloud-securitycloudeventscode-reviewcoding-agentscomparisoncompilerOptionscompliancecomposeconcurrencyconcurrent-renderingconditional-typesconsistencyconsistent-hashingconstrained-generationconstraintsconsumer-drivencontainer-registrycontainerscontent-moderationcontent-safetycontextcontext-compressioncontext-windowcontract-testingconversational-agentscosmos-dbcost-allocationcost-controlcost-optimizationcost-per-taskcost-performancecoveragecqrscross-sessioncsharpcvecypressdapperdashboardsdastdata-fetchingdatabasesdataloaderdatasetsddddecision-frameworkdeclaration-filesdecoratorsdependency-injectiondependency-scanningdeployment-slotsdeploymentsdeprecationdesign-patternsdevopsdfsdijkstradiscriminated-unionsdistributed-tracingdistributivedockerdocumentationdotnetdotnet-9drift-detectiondynamic-discoverydynamic-programminge2e-testingedge AIef-coreef-core-9embeddingsengineeringenvironmentsepisodic-memoryerror-budgetevalsevaluationevent-drivenevent-gridevent-hubseventingexamplesexperience-replayexperimentalDecoratorsfactualityfail-fastfaithfulnessfeature-flagsfederationfew-shotfiberfine-tuningflaky-testsflex-consumptionfrontendfunction-callinggarakgen-ai-semantic-conventionsgenericsgitgithub-actionsgoal-decompositiongolden-signalsgpt-4ogrammargraphgraphqlgroundinggrpcguardrailshallucinationhallucination-detectionharmful-contenthclhealth-checksheaphookshotchocolatehttphttp2http3hybridcacheiacidempotencyidentityimage-scanningin-context-learningincident-responseindexesinferinferenceinfrastructureinput-validationintegrationintegration-testingintrosortinvariantisolationjailbreakjestjoinsjotaijsonbjwtk8skey-remappingkey-vaultkiotaknapsackknowledge-basekuberneteslanguagelatencylegacy-codelinqllama.cppload-balancinglong-term-memorylost-in-the-middlelower-boundmTLSmanaged-identitymapped-typesmaterialized-viewsmemoizationmemorymemory-consolidationmergemessage-queuemessagingmeta-promptingmetadatametricsmicroservicesmicrosoftminimal-apismockingmocksmodel-routingmodel-selectionmoderationmodule-augmentationmodule-resolutionmodulesmongodbmonitoringmswmulti-agentmulti-stage-buildsmulti-tenantmultimodalmvccnarrowingnetwork-securitynextjs-16normalizationnosqloauthoauth2observabilityoffline-evalsoidcon-callon-deviceonline-evalsopaopen-sourceopen-weightopenapiorchestrationoutput-formatoutput-validationowasppaaspackage-exportspactpactflowpage-objectsparsingpartitioningpathspattern-matchingperformancepersonal-AIpgvectorpineconepipelineplanningplaywrightpluginspolicy-as-codepollypostgresqlpricingproductionproduction-monitoringproject-referencesprompt injectionprompt optimisationprompt-cachingprompt-designprompt-engineeringprompt-injectionpromptfooprotobufpulumipythonqualityquality-gatesquality-scorequantizationqueuesragrate-limitingreactreact-19react-compilerreact-internalsreact-queryreact-server-componentsrealtimereasoningreasoning-effortrecursionrecursive-typesred teamingred-blackred-green-refactorred-teamingredisregression-testingrelease-managementreplanningresource-limitsrestreusable-workflowsrlsrolling-updatesruntime-safetysaga-patternsastsbomscaleschemaschema-designschema-validationsdlcsearchsecrets-managementsecuritysecurity-testingself-consistencyself-hostingsemantic-similarityserializableserver-actionsserverlessservice-busservice-meshshardingshortest-pathsidecar-proxysignalrsnapshot-testingsoftware-designsortingspiessqlstabilitystate-graphstate-managementstreamingstreamsstrict-modestridestring-typesstructured-outputstubssummarisationsupertestsupply-chainsystem-designtail-calltanstack-querytask-framingtddtemplate-literalstemplatesterraformtest-architecturetest-doublestest-pyramidtestcontainerstestingtesting-patternstesting-strategythreat-modelingtoken-buckettoken-budgettoken-economicstoken-limittoken-maskingtoken-trackingtokenstokens-per-secondtool-callingtool-registrytool-usetopological-sorttoxicitytracingtrajectorytransactionstree-of-thoughttreestrietrunk-basedtsconfigtype-guardstype-narrowingtype-predicatestype-safe-routestype-systemtype-transformstypestypescriptunit-testingusage-metricsuser-feedbackutility-typesvLLMvalidationvalkeyvaluesvaultvector-dbvector-searchvector-storevendor-neutralversion-controlversioningvisual-regressionvitestvulnerabilitiesweaviateweb-apiweb-securitywebsocketswindow-functionswiremockworking-memoryworkload-identityworkspacesxunityarpzero-shotzero-trustzodzustand
Backend (.NET / C#)
Seven copy-pasted numeric helpers replaced by one generic Sum constrained to INumber, which the JIT specialises per value type without boxing, with a wider accumulator to avoid silent integer overflow.

C# Generics Mastery: Constraints, Variance, and Generic Math in .NET 9

Intermediate

Type-safe abstractions without overhead — constraints, covariance/contravariance, INumber<T>, and the .NET 9 "allows ref struct" anti-constraint.

Updated 12 min
Read →
Backend (.NET / C#)
Where LINQ work happens: on IQueryable, Where, Select and GroupBy become SQL; once the query is IEnumerable they run in memory over everything fetched, and a deferred query enumerated twice runs twice.

LINQ in .NET 9: Deferred Execution, IQueryable, and the New Operators

Intermediate

Practical LINQ for backend engineers — IEnumerable vs IQueryable, the .NET 9 CountBy/AggregateBy/Index additions, and EF Core translation pitfalls.

Updated 13 min
Read →
Backend (.NET / C#)
Thread-pool starvation from blocking on async code: .Result holds threads while waiting on I/O so requests queue; the fix is async all the way, cancellation tokens passed through, and bounded concurrency for fan-out.

Async/Await in .NET 9: ConfigureAwaitOptions, Task.WhenEach, and Bounded Concurrency

Intermediate

Modern async patterns for ASP.NET Core — context capture, the .NET 8 ConfigureAwaitOptions enum, .NET 9 Task.WhenEach, and the anti-patterns that cause production incidents.

Updated 14 min
Read →
Backend (.NET / C#)
DI lifetimes in ASP.NET Core: singletons live for the app, scoped services per request and transients per resolve; a singleton must not hold a scoped DbContext, background services create their own scope, and scope validation catches mistakes at startup.

Dependency Injection in .NET 9: Lifetimes, Keyed Services, and the Scope Pattern

Foundational

Lifetime selection, keyed services (.NET 8+), the BackgroundService scope pattern, and the four DI anti-patterns that cause production bugs.

Updated 12 min
Read →
Backend (.NET / C#)
CQRS as a code split: commands load the aggregate, apply rules and save; queries project straight from the same database into one DTO per screen; handlers are called directly without a mediator, and a separate read store is optional.

CQRS in .NET Without the Cargo Cult: A Practical Guide for 2026

Advanced

CQRS as a folder discipline, command/query handlers without MediatR, vertical slice architecture, and when eventual consistency is overkill.

Updated 15 min
Read →
Backend (.NET / C#)
A production Minimal API: endpoints organised in route groups, endpoint filters validate input, handlers return TypedResults so OpenAPI documents every response, and Native AOT with source-generated JSON gives fast cold starts.

Minimal APIs in .NET 9: Typed Results, Route Groups, and Endpoint Filters Done Right

Intermediate

Production-shaped Minimal APIs with typed Results<T>, route groups, endpoint filters, [FromKeyedServices], and the new built-in OpenAPI replacing Swashbuckle.

Updated 13 min
Read →