TurkiyeCitiesPackage 1.0.5

dotnet add package TurkiyeCitiesPackage --version 1.0.5
                    
NuGet\Install-Package TurkiyeCitiesPackage -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TurkiyeCitiesPackage" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TurkiyeCitiesPackage" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="TurkiyeCitiesPackage" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TurkiyeCitiesPackage --version 1.0.5
                    
#r "nuget: TurkiyeCitiesPackage, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=TurkiyeCitiesPackage&version=1.0.5
                    
Install TurkiyeCitiesPackage as a Cake Addin
#tool nuget:?package=TurkiyeCitiesPackage&version=1.0.5
                    
Install TurkiyeCitiesPackage as a Cake Tool

Description

Bu Türkiye'nin illerinin ve ilçelerinin bulunduğu paket dosyasıdır.

#install

Bu paketi Nuget Package Manager üzerinden "TurkiyeCitiesPackage" aratarak,MVC (UI) Katmanına indiriniz.

Paketi kullanmak için ilgili Controller'a ekleyiniz. Hangi ActionMetod içinde kullanacaksanız o metod içinde paketi kullanabilirsiniz.

Örnek kullanım ⇒

var cities = _cityServices.GetAllCities() .Select(city ⇒ new SelectListItem { Value = city.Id.ToString(), Text = city.Name }).ToList();

        ViewBag.cities = cities;

ilgili actionmetodun View .cshtml sayfasında düzenleyebilirsiniz.

Örnek kullanım ⇒

<div class="mb-3"> <label class="form-label" for="basic-icon-default">İl</label> <div class="input-group input-group-merge"> <span class="input-group-text"><i class="bx bx-water"></i></span> <td> <selectaspfor="CityId"class="formselect"aspitems="ViewBag.cities"> <option value="">İl Seçiniz</option> </select> </td> </div> </div>

İyi çalışmalar #contact

ahmetmanco07@gmail.com üzerinden benimle iletişime geçebilirsiniz.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 90 2/25/2025
1.0.4 85 2/24/2025
1.0.3 143 9/14/2024 1.0.3 is deprecated because it has critical bugs.
1.0.2 118 9/13/2024
1.0.0 109 9/12/2024