DBA

Web.config에 title설정하고 사용하기 본문

[3] Development/MVC(ASP.NET with C#)

Web.config에 title설정하고 사용하기

코볼 2017. 6. 12. 10:52
728x90
반응형
SMALL

[Web.config]


<configuration>

  <appSettings>

    <add key="ProjectName" value="ProjectNameSetting"/>

  </appSettings>

</configuration>




[_Layout.cshtml]


<title>@System.Web.Configuration.WebConfigurationManager.AppSettings.Get("ProjectName")</title>



728x90
반응형
LIST
Comments