Bu proje, .NET üzerinde Entity Framework Core ile Interceptor kullanımına örnektir. Aşağıdaki adımları takip ederek projeyi kurabilir ve test edebilirsiniz.
-
Repoyu klonlayın:
git clone https://github.com/recepgunes1/EFCoreInterceptorExample.git cd EFCoreInterceptorExample -
Uygulamayı ayağa kaldırın yükleyin:
docker-compose up -d
-
EFCoreInterceptorExample.httpdosyasında aşağıdaki istek ile veritabanına gerekli migration'lar kurulur:GET {{EFCoreInterceptorExample_HostAddress}}/init_db Accept: application/json -
EFCoreInterceptorExample.httpdosyasında yer alan diğer endpointler ile çeşitli denemeler yapabilirsiniz.
Bu talimatları takip ederek EFCoreInterceptorExample projesini kurabilir, kullanabilir ve test edebilirsiniz. İyi çalışmalar!