Giter Site home page Giter Site logo

katmanli-mimari's Introduction

Katmanli-Mimari

*Katmanlı Mimari Projemizde(LAP-Layered Architectural Project ) genelde kullanılacak teknolojiler:

1-Katmanlar Entities-Dal-Bll-UI(mvc)-servis(Api)-Core(AOP uygulamayı dikene kesen yapılar)
2-Entity Framework Core un Code First yaklaşımı
3-Migration Ekleme
4-LocalDb insert
5-Interface,Abstract,Static,Generic sınıflar,virtual , Override
6-DataAnnotations ,Customer Attribute ,
7-Context LazyLoading
8-IOC , AOP (Asp.Net Core build-in Service, Castle Windsor, loglama,Exception Handling )
9-Loglama
10-Exception Handling
11-DI (Dependency Injection)
12-SOLID prensiplerine göre kodlama
13-unit Test(TDD)
14-MVC
15-AngularJs
16-DevExtreme
17-Unit Of Work Design Pattern
18-ASP.NET Core Identity
19-Redis
20-Docker
21-Bundler ve Minifier ile cs ve js dosyaları
22-Swagger ile Apileri test etme
23-ORM(Ef,Dapper)
24-WCF servis ile datayı almak


*** Asp.net Core en az Version="2.2.0" olmalı. öğrenmek içi CMD aç "dotnet --version " komutunu yaz.
dotnet version 2.2.0 düşükse yada dotnet komutu çalışmıyorsa SDK yı aşağıdaki linkden indir.
https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2.7/2.2.7-download.md buradaki linkden uygun SDK yı indirebilirsiniz.

*** Projeyi indir , Visual Studio da açtıktan sonra "LAP.MVC" seçili proje yap (Set as StartUp Project ),
onra "Package Manager Console" aç, Default project olarak "LAP.DAL" seç
console "Update-Database " komutunu yaz enter , LocalDb veritabanı create edilecek.

***Api katmanına istekte bulunmak içi Vs çalıştırmadan(IIS olmadan), CMD aç ve aşağıdai komutları yaz. (.Net Core CLI). Projedeki dll yolunu yaz.
dotnet "C:\Users\hasan\source\repos\LAP\LAP.API\bin\Debug\netcoreapp2.2\LAP.API.dll"
komutunu yazdıktan sonra POSTMAN gibi programlar ile http://localhost:5000/api/customer istek yaptığında tüm müşteri listesi gelecek

***Api de Redis kullanmak için LAP.CORE katmanın "Redis-Lib-3.2.100" klasöründeki ilk önce "redis-server.exe" sonra "redis-cli.exe" çalıştırarak Redis cache aktif olur. Api normal veri eklerken (Post methodu) , redis server a kayıt atar. Redisten verileri almak için "GetsWithRedis()" methodunu kullanılır. Çağırmak içinde "http://localhost:5000/api/customer/redis" url kullanılır.

katmanli-mimari's People

Contributors

hasannsola avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.