Ana içeriğe atla

Kayıtlar

Şubat, 2019 tarihine ait yayınlar gösteriliyor

How to set ASPNETCORE_ENVIRONMENT to Development Mode in Asp.Net Core MVC Application

Asp.Net MVC Core Application Development Mode  When we deployed our application to the server and get any eror message then we won't be able to see details of message on previewed page. In this time we may convert our application to development mode via web.config. In root folder of web.config file  we can add following  lines to child of AspNetCore element. < environmentVariables > < environmentVariable name = "ASPNETCORE_ENVIRONMENT" value = "Development" /> </ environmentVariables > Result view of config should be as following ; < system.webServer > < handlers > < add name = "aspNetCore" path = "*" verb = "*" modules = "AspNetCoreModule" /> </ handlers > < aspNetCore processPath = ".\CMSPortal.WebUI.exe" stdoutLogEnabled = "false" > < environmentVariables > < environmentVariable name = "ASPNET

Running large .sql script via command line

Sometimes we need to run large sql script which has 1-10 gb size or something etc. then we won't be open this .sql file in sql, notepad, etc. In this case, we need to run this command without any problem in easiest way, we can use commandline sqlcmd command to run our sql commands. To do this operation, just follow few steps ;  - Click Windows + R  - type cmd and press enter to reach commandline  - use   sqlcmd - S [ servername ] - d [ databasename ] - i [ scriptfilename ]  command to run your file :) Thats all. In my scenario , I runned 8 GB .sql file with this method then it will completed successfuly without wasting memory or cpu while doing its job.

Mi Band 3 NFC ve Türkçe Diline Çevirme

Bu hafta eski kafa saat kullanımını bırakıp artık akıllı saatlere geçme kararı vermem ile birlikte. Yine de birkaç günde bir saat şarj etmek bana çok ters geldiği için bu dünyaya bir Xiaomi Mi Band bileklik ile girmek istedim. Bunun üzerine kısa bir araştırma sonrası Xiaomi Mi Band 3 NFC modelini internetten satın aldım ve bugün kargo ile elime ulaştı. Öncesinde narin diye düşündüğüm için saati banta yerleştirme ve çıkarma kısımlarından biraz çekiniyodum fakat sonradan alışıp sert bir şekilde hızlıca çıkarıp takmaya başladım. Kutu Açılışı Öncelikle ilk geldiğinde cihazı bilgisayarınızdan yada bir adaptor yardımı ile şarj etmeniz gerekiyor. Ardından Android için PlayStore yada IOS için PlayStore a girip "Mi Fit" yazarak uygulamasını indirmeniz ve eşleştirmeniz gerekiyor. Cihaz Eşleştirme Bu işlem oldukça basit, telefonunuzdan uygulamayı açıp "Cihaz Ekle" kısmına bastığınızda bluetooth üzerinden cihazı arıyor ve cihazın butonuna basmanızı istiyor. Cihazın