Kayıtlar

 <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

VMWare installation solution

Clean uninstallation of VMware Tools in Windows Guest OS (82649) Upgrading/Installing the VMware tools or uninstallation of VMware Tools sometimes fails with the following errors. Error: "The feature you are trying to use is on a network resource that is unavailable.  Click OK to try again, or enter an alternate path to a folder containing the installation package "VMware Tools64.msi" in the box below. Error: VGAuthservice and Alias Manager cannot be installed. Error: A network error occurred while attempting to read from the file C:\Windows\Installer\VMware Tools.msi.   Purpose To upgrade or install VMware Tools successfully in the Windows Guest OS. Cause This is an issue with Microsoft Windows Installer. The problem can occur when the original install path from the older version of VMware Tools is invalid.   Resolution The process to Clean uninstallation of VMware Tools in Windows Guest OS: Launch VMware Fusion Power on the Virtual Machine Start the Windows VM. Not...

Action, Func ve Predicate Delegeleri

Resim
  Delegeler metodları işaret eden ve işaret ettikleri metodlarla aynı imzaya sahip olan yani aynı tipte parametrelere ve dönüş değerlerine sahip olan yapılardır.  Delegeleri event tabanlı programlamada, asenkron programlamada, thread programlamada vb bir çok yerde kullanırız. Makalenin asıl amacı genel olarak delege yapısı olmadığı için detaylarına girmeyeceğim. Pekala yazımızın konusu olan Action, Func ve Predicate neyi temsil eder? Başlıktan da anlaşılacağı üzere bunlar da .Net framework içerisinde bulunan, bizler için önceden hazırlanmış olan delegelerdir. Çok fazla kelimelerle uğraşmadan kod üzerinde görelim. Action delegesi nin imzasına baktığınızda aşağıdaki gibi bir kod göreceksiniz. public delegate void Action<in T>(T obj); Burada Action delegemizin T tipinde yani herhangi bir tipte parametre alan sonrasında da void dönüş yapan metodları işaret edebildiğini görüyoruz. Örneğin normal delegeler ile aşağıdaki şekilde yazdığımız bir kodu delegate void NormalD...

List of extensions I use in Visual Studio Code

vscode-icons   Code Runner CodeSnap Docker HTML Snippets Live Server (Five Server) PowerShell React Native Tools Remote - Containers Simple React Snippets

Solving "react-scripts' is not recognized as an internal or external command" Error

Follow the method below to resolve the issue.  Remove node_modules foldert Remove package-lock.json file Run  npm install Run  npm i -S react-scripts Run  npm start

"....ps1 cannot be loaded because running scripts is disabled on this system" Hatası alıyorsanız

Resim
PowerShell Açın ve  Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted Yukarıdaki kod satırını çalıştırın A tuşuyla tümünü onaylayın artık hata almayacaksınızdır.

Asp.Net MVC ActionResult Türleri

  Asp.Net MVC ActionResult Türleri Giriş   ASP.NET' de, MVC farklı Eylem Sonuçlarına sahiptir. Her eylem sonucu farklı bir çıktı biçimi döndürür. Bir programcı beklenen çıktıyı almak için farklı eylem sonuçları kullanır. Eylem Sonuçları, verilen isteğin sayfasını görüntülemek için sonucu döndürür. ActionResult Adı           Açıklama                                             Metod Adı   ContentResult            Parametre olarak belirtilen içerik geri döndürulur.( Content)   EmptyResult               Hiçbirşey döndürmeyen result türüdür ( new EmptyResult)   FileContentResult /   FilePathResult /                       ...