.Net projenizde local ile sunucu da çalışırken değiştirmeniz gereken yerler için çok pratik bir yöntem: #if DEBUG kullanımı

 

.net projenizde local ile sunucu da çalışırken değiştirmeniz gereken yerler için çok pratik bir yöntem: 

#if DEBUG kullanımı:



#if DEBUG

                //MySQL için LOCAL

#endif





Yorumlar

Bu blogdaki popüler yayınlar

Çözüm: The view XXX was not found. The following locations were searched

.Net Core MVC ile hazırlanmış projede Web UI ve Web Api kullanıldığında nasıl Publish ediyoruz. Sunucuya atma yöntemi