Merhaba, MVC üzerinden site yapmaya çalışıyorum. Hazır bir site şablonu alıp kendi siteme aktardım. Şablondaki "index.html" kodunu düzenleyip "index.cshtml" dosyama yazdım. Ancak sitemdeki dosya yollarında bir sıkıntı yaşıyorum. Ne yapabilirim?
I've been assigned to migrate an application from MVC into ASP.net Core, I'm new to ASP.net Core. In MVC we have BundleConfig.cs and in there we add references to our css and js files, how does it ...
stackoverflow.com
Çekincem, başka ayarlamaların da gerekecek olmasıydı, şunun gibi:
I've been assigned to migrate an application from MVC into ASP.net Core, I'm new to ASP.net Core. In MVC we have BundleConfig.cs and in there we add references to our css and js files, how does it ...
stackoverflow.com
Tam hangi dosyaya yazmak gerektiğini anlamadım ama şunun gerektiği söylenmiş:
C#:
app.UseStaticFiles();
Galiba ~ sembolü direkt wwwroot klasörüne ulaştırıyormuş, nasıl olduğunu pek bilmiyorum.