PS: English version is at the bottom. Bu hata mesajı ile ilk karşılaştığınızda biraz afallayabilir, hatta panik olabilirsiniz. Önceki view işleminde açık kalan uygulama var ise kapatıp tekrar deneyiniz. Kestrel yerine IIS Express ile çalıştırmak da sorunun yaşanmasını önleyebilir. — ENGLISH: When you first encounter this error message, you may be a little stunned or […]
File does not exist
Nowadays, I’m working on my CMS project called Weblebici CMS. I aimed to create very simple and lightweight CMS web application. But this is not the subject of this article. Last night I created a simple default template but later I began to see some weird exception on my log. It was weird because there […]
Firefox status bar and javascript
If you hava a javascript like this: You will see Firefox is not showing “some text” in the status bar. Too see your text you must enable it from “Advanced Javascript Settings” window: Happy coding…
ASP.NET MVC 2 RC Released
My popular framework’s version 2 release candidate released. More about: http://weblogs.asp.net/scottgu/archive/2010/01/10/asp-net-mvc-2.aspx http://haacked.com/archive/2009/12/16/aspnetmvc-2-rc.aspx
Unable to start debugging on the web server
Just enable “Integrated Windows authentication” of your IIS web application If this is not working try to re-register your .NET framework with aspnet_regiis.exe Happy coding.
inherit In Child Applications
You can add the <location> element with the “inheritInChildApplications” attribute to the root web.config. This attribute will prevent child applications inherit some specified configuration from the root web.config. The attribute must be placed in the <configuration> section of the web.config. It looks like this: Referance: SectionInformation.InheritInChildApplications Property
How to use a method from class in other namespaces at .aspx pages
You can use using statement to inculde different namespaces in you code behind file. But still you can’t call methods from classes that live in other namespaces (Different from you page class namespace) from you content pages (.aspx). To make this work you must use import namespace directive after you page directive. This can be […]
How to clear all HttpContext Cache items?
“HttpContext.Current.Cache” has a metod to remove items one by one with their key names. If you want to remove all items from the cache you can use this little code snippet to achive this task: Happy coding… P.S.: This techique don’t effect the output cached pages.
SiteMapPath Url Querystring problem
When you are using the SiteMapPath control page Urls with the querystrings, pages don't show the control. Because url can't be matched with url in your Web.Sitemap file. To handle this situation, a little web.sitemap file trick is enough. Write the static part of your Url and define the dynamic querystring parameters at "reliantOn" attribute. […]
How to use overloaded methods with ASP.NET Web Services
In .NET world it’s very common to write methods with same name but different parameters. This is called overloading. And if you use this technique wisely you can prevent some code repetation. But in the web services world of .net its not allowed by default. If you try you get an exception says : “Bla, […]