All Projects → rzayevsahil → ReCapProject

rzayevsahil / ReCapProject

Licence: MIT license
𝙲𝚊𝚛 𝚁𝚎𝚗𝚝𝚊𝚕 𝙿𝚛𝚘𝚓𝚎𝚌𝚝 - 𝙱𝚊𝚌𝚔𝚎𝚗𝚍

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to ReCapProject

rabbitmq-labs
The source code for my RabbitMQ tutorials.
Stars: ✭ 45 (-60.87%)
Mutual labels:  webapi
webapiclientgenexamples
Code Examples for using WebApiClientGen
Stars: ✭ 43 (-62.61%)
Mutual labels:  webapi
aspnet-core-web-api-using-odata
Demo application of my speech 'Add OData Support to Your Asp.Net Core Web Api' at Dotnet Konf İstanbul. http://dotnetkonf.com/
Stars: ✭ 28 (-75.65%)
Mutual labels:  webapi
webApi-angularjs
⚓ Definitely simplifies your work with server side & organizes webApi layout to further managing.
Stars: ✭ 15 (-86.96%)
Mutual labels:  webapi
sdk-oauth
Fitbit SDK example application.
Stars: ✭ 66 (-42.61%)
Mutual labels:  webapi
UrlFirewall
UrlFirewall is a lightweight, fast filtering middleware for http request urls.It supports blacklist, whitelist mode.Supports persisting filter rules to any media.You can use it in webapi, gateway, etc.
Stars: ✭ 64 (-44.35%)
Mutual labels:  webapi
Convenience
.NET Core 5/Angular11/NG-ZORRO 权限管理系统 工作流系统
Stars: ✭ 74 (-35.65%)
Mutual labels:  netcore3
CRUD.ASPCore.Reactjs.WebAPI.EF
CRUD Operations in ASP.NET Core application using React.js , Web API and Entity Framework core DB first approach with the help of VS 2017.
Stars: ✭ 80 (-30.43%)
Mutual labels:  webapi
active-directory-javascript-nodejs-webapi-v2
A small Node.js Web API that is protected with Azure AD v2.0 to validate access tokens and accepts authorized calls using Passport.js
Stars: ✭ 76 (-33.91%)
Mutual labels:  webapi
GPONMonitor
GPON Monitoring tool for Dasan Networks GPON OLTs
Stars: ✭ 26 (-77.39%)
Mutual labels:  webapi
last fm
A simple app to demonstrate a testable, maintainable, and scalable architecture for flutter. flutter_bloc, get_it, hive, and REST API are some of the tech stacks used in this project.
Stars: ✭ 134 (+16.52%)
Mutual labels:  layered-architecture
aspnet-api-versioning
Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core.
Stars: ✭ 2,396 (+1983.48%)
Mutual labels:  webapi
TraceHub
Centralized and distributed logging for Web applications and services, extending System.Diagnostics and Essential.Diagnostics, providing structured tracing and logging withou needing to change 1 line of your application codes
Stars: ✭ 22 (-80.87%)
Mutual labels:  webapi
ms-identity-javascript-angular-spa-aspnetcore-webapi
An Angular single-page application that authenticates users with Azure AD and calls a protected ASP.NET Core web API using MSAL Angular
Stars: ✭ 72 (-37.39%)
Mutual labels:  webapi
sanitizer-polyfill
rewrite constructor arguments, call DOMPurify, profit
Stars: ✭ 46 (-60%)
Mutual labels:  webapi
FastEndpoints
A light-weight REST API development framework for ASP.Net 6 and newer.
Stars: ✭ 2,386 (+1974.78%)
Mutual labels:  webapi
RRQMSocket
TouchSocket是.Net(包括 C# 、VB.Net、F#)的一个整合性的、超轻量级的网络通信框架。包含了 tcp、udp、ssl、http、websocket、rpc、jsonrpc、webapi、xmlrpc等一系列的通信模块。一键式解决 TCP 黏分包问题,udp大数据包分片组合问题等。使用协议模板,可快速实现「固定包头」、「固定长度」、「区间字符」等一系列的数据报文解析。
Stars: ✭ 286 (+148.7%)
Mutual labels:  webapi
saule
JSON API library for ASP.Net Web API 2.
Stars: ✭ 74 (-35.65%)
Mutual labels:  webapi
framboise
Framboise is a fuzzer for in-depth testing of WebAPIs.
Stars: ✭ 21 (-81.74%)
Mutual labels:  webapi
Car-Rental-Project
A car rental project developed with ASP.Net Core & Angular.
Stars: ✭ 90 (-21.74%)
Mutual labels:  layered-architecture

Car Rental Backend 🚘 🔑


a+l


Contact Me 📫




Bu proje Araba Kiralama Sistemi ile ilgili bir projedir.Proje hem Çok katmanlı, hem Kurumsal Mimariler, hem de SOLID prensiplerine dayalı bir projedir.Önümüzdeki süreçlerde de projeye eklemeler yapılarak daha güzel bir proje haline getirilecektir.Kampda verilen adımlara uygun olarak gerçeklekleştirdiğim bu projeyi yakından inceleyelim.



Katmanlar

  • Öncelikle Proje 6 katmandan oluşmaktadır: Business, DataAccess, Entities, ConcoleUI, Core, WebAPI

katmanlar

1.Business Katmanı- Burada işle ilgili(iş kuralları) kodlar yer alır.Bu katman Abstract ve Concrete isimli klasörlerden oluşur.Abstract içinde soyut(yani interfaceler), Concrete içinde somut(yani class'lar) nesneler yer alır.

business

  • Sarı kutucuk - NuGet paketi --> Başkalarının yazdığı kodları(paket diyoruz) kullanıyoruz.Bu kodların ortak tutulduğu ve yönetildiği ortamın adına denir.
  • Kırmızı kutucuk - Business katmanının referans aldığı katmanlar
  • Yeşil kutucuk - Abstract klasörü içinde yer alan interface'ler
  • Mavi kutucuk - Abstract klasörü içindeki interface'lerin implemente edildiği yer

2.DataAccess Katmanı- Veriye erişmek için gerekli kodlar yazılan bu katman Abstract(soyut) ve Concrete(somut) isimli klasörlerden oluşur.

dataaccess

  • Kırmızı kutucuk - DataAccess katmanının referans aldığı katmanlar
  • Yeşil kutucuk - Abstract klasörü içinde yer alan interface'ler
  • Mavi kutucuk - Abstract klasörü içindeki interface'lerin implemente edildiği yer.Aynı zamanda burda IEntityFramework isimli klasörde biz veri tabanı nesneleriyle(kısaca tablolarla) yazdığımız kodlar arasında bağ kuruyoruz.

EntityFramework --> Veri tabanı tablolarıyla Nesne Yönelimli Programlama(OOP) arasında bir köprüdür.

  • Sarı kutucuk - NuGet paketi --> Başkalarının yazdığı kodları(paket diyoruz) kullanıyoruz.Bu kodların ortak tutulduğu ve yönetildiği ortamın adına denir.

3.Entities Katmanı - Veri tabanı nesneleri için oluşturulmuş olan bu katman Abstract(soyut) ve Concrete(somut) isimli klasörlerden oluşur.

entities

  • Sarı kutucuk - NuGet paketi --> Başkalarının yazdığı kodları(paket diyoruz) kullanıyoruz.Bu kodların ortak tutulduğu ve yönetildiği ortamın adına denir.
  • Mavi kutucuk - Abstract klasörü içindeki interface'lerin implemente edildiği yer

4.ConsoleUI Katmanı - Yaptığımız işlemlerin sonuçlarını göreceğimiz bir katman

consoleui

  • Kırmızı kutucuk - ConsoleUI katmanının referans aldığı katmanlar
  • Turuncu kutucuk - Bura main kısmıdır.Yani en sonda uyguladığımız işlemlerin sonucunu buradan görüyoruz.

5.Core Katmanı - Yaptığımız işlemlerin sonuçlarını göreceğimiz bir katman

core

6.WebAPI Katmanı - Yaptığımız işlemlerin sonuçlarını göreceğimiz bir katman

webapi



Database and Tables

  • Bir database(veri tabanı) oluşturmak için:
CREATE DATABASE ReCapDb

1 2


  • Tabloları oluşturmak için: ReCapDb --> Sağ CLick --> New Query
Create table Brands(
	BrandId	 int Primary key,
	BrandName varchar(50)
)


Create table Colors(
	ColorId	 int Primary key,
	ColorName varchar(20)
)



Create table Cars(
	Id int Primary key identity,
	BrandId int,
	ColorId int,
	ModelYear int,
	DailyPrice decimal,
	Descriptions varchar(200),
	Foreign key(ColorId) References Colors(ColorId),
	Foreign key(BrandId) References Brands(BrandId)
)

DİKKAT!!! nvarcahr yerine varchar kullanmak daha performanslı.Çünkü varchar kullanmadığımız karakter alanlarını boş bıraktığı halde, nvarchar onu boşluklarla doldurarak ekstradan bellek kaplamasına sebep oluyor

d1


  • Tabloya veri eklemek için: ReCapDb --> Sağ CLick --> New Query
Insert into Brands(BrandId,BrandName) values (1,'Audi'),(2,'BMW'),(3,'Hyundai'),(4,'Mitsubishi'),(5,'Nissan'),(6,'Mazda'),(7,'Porsche');

Insert into Colors(ColorId,ColorName) values (1,'Black'),(2,'White'),(3,'Silver'),(4,'Blue'),(5,'Red'),(6,'Brown'),(7,'Green');

Insert into Cars(BrandId,ColorId,ModelYear,DailyPrice,Description) values
(1,5,'2020',450,'AUDI Q8 - Red'),
(2,2,'2018',370,'BMW 2 Gran Coupé - White'),
(3,4,'2015',250,'HYUNDAI i10 - Blue'),
(4,7,'2016',290,'Mitsubishi Outlander - Green'),
(5,6,'2017',350,'NISSAN QASHQAI - Brown'),
(6,3,'2019',630,'MAZDA CX-5 - Silver'),
(7,1,'2021',720,'PORSCHE P911 Turbo S - Black');
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].