no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Posts
Entity Framework Core 3.1 Bug vs 2.2, Speed and Memory During Streaming
Full source code available here. A while ago I wrote a blog post about the advantages of streaming results from Entity Framework Core as opposed to materializing them inside a controller and the returning the results.
Sep 16, 2020
#
dotNet Core
,
AspNet
,
Entity Framework Core
,
Performance
Getting Started with Elasticsearch, Part 2 - Searching with a HttpClient
Full source code available here. In the previous blog post I showed how to setup Elasticsearch, create and index and seed the index with some sample documents. That is not a lot of use without the ability to search it.
Sep 10, 2020
#
Elasticsearch
,
AspNet
,
dotNet Core
Getting Started with Elasticsearch, Part 1 – Seeding
Want to learn more about AWS Lambda and .NET? Check out my A Cloud Guru course on ASP.NET Web API and Lambda. Full source code available here. This is the first in a short series of blog posts that will get you started with Elasticsearch.
Aug 22, 2020
#
Elasticsearch
,
Node.js
,
AWS
DynamoDb, Reading and Writing Data with .Net Core – Part 2
Want to learn more about AWS Lambda and .NET? Check out my A Cloud Guru course on ASP.NET Web API and Lambda. Full source code available here. A few weeks ago I posted about reading and writing data to DynamoDb.
Aug 6, 2020
#
dotNet Core 3.1
,
DynamoDb
,
AspNet
,
AWS
Enum ToString(), Caching for Performance
Full source code available here. A while ago I was working on a program that had to convert enums values to strings as it saved data. When I removed the enum value from the data that was saved it went noticeably faster.
Jul 24, 2020
#
C#
,
Enum
,
ToString
,
Caching
DynamoDb, Reading and Writing Data with .Net Core - Part 1
Want to learn more about AWS Lambda and .NET? Check out my A Cloud Guru course on ASP.NET Web API and Lambda. Full source code available here. A few weeks ago I started playing with DynamoDb in a .
Jul 5, 2020
#
dotNet Core 3.1
,
AspNet
,
DynamoDb
,
AWS
Dependency Inject a Service from Startup back to Program in .Net Core 3.1
Full source code available here. Over the past couple of years I wrote a few posts about Dependency Injection in .Net Core 2.1, and this week I received comments from a reader telling me that some of the changes in .
Jun 20, 2020
#
dotNet Core 3.1
,
Dependency Injection
,
AspNet
Executing a Method on All Implementations of an Interface
Full source code available here. Have you ever wanted to execute a method on all implementations of an interface? Say you have an interface called IGenerator and four implementations of it – GeneratorA, GeneratorB, GeneratorC, and GeneratorD.
Jun 1, 2020
#
Activator
,
C#
,
CreateInstance
,
Interfaces
AutoMapper, ProjectTo() – Instance Version
Full source code available here. In my previous post I showed how to use the wonderful AutoMapper ProjectTo() feature, the demo code shown worked with AutoMapper up to v8.1.1. It looked like this –
May 15, 2020
#
AutoMapper
,
Entity Framework Core
,
ProjectTo
,
AspNet
AutoMapper, ProjectTo() – Static Version
Full source code available here. I’ve been using AutoMapper for quite a few years, but one of the features that I like the most is the ProjectTo method. When using Entity Framework it lets me reduce the number of fields I query from the database to match the model I want to return to the caller.
Apr 27, 2020
#
AutoMapper
,
Entity Framework Core
,
ProjectTo
,
AspNet
«
»
Cite
×