Weird My.Settings behaviour in Web Site Projects

According to MSDN "My.Settings" doesn't exist in Web Site projects but if you add a public shared function to one of your web pages and use My.Settings, it works perfectly fine. However if you try to use it under your App_Code it won't. I have no clue why the limitation exists in the first place anyway.

sinan - 20.06.2008

web site projects shakes 10 kicks to web application projects:P

Tuna Toksoz - 15.06.2008

I'd use web application project anyways:)

Yorum Yazın


Tüm yorumlar onaydan geçmektedir, bu işlem en uzun 30 dk. sürecektir. E-mail adresleri yeni yorumları bildirme harici hiç bir başka amaçla kullanılmamaktadır ve sitede gözükmemektedir.



Captcha Kodu