by Johnny Nouel
26. marzo 2011 21:57
About a year ago I read the following blog post by Scott Hanselman. It warns you on stuff you should take into consideration when moving your application to the ASP.NET 4 application pool.
Even though I read that article about a year ago I forgot all about it when I decided to switch the application pool to ASP.NET 4 for this little blog here you're reading. I was running BlogEngine 1.5.0.7 under ASP.NET 3.5 and made the switch.
BAM!
Whenever I tried to post some data into my blog using the built-in editor the error above appeared. Of course that was not the page I got when the error happened as I had CustomErrors turned on. I replicated the issue on my machine and saw the Yellow Screen of Death. Thankfully the error description was self explanatory and even pointed the solution to the reader.
Now I remembered Scott Hanselman's post. Since ASP.NET 4 has a more strict validation as opposed to ASP.NET 2.0-3.5 you may have to revert to the old settings if you wish to have the old behavior activated. Just add the following in the httpRuntime element of the web.config file.
<httpRuntime requestValidationMode="2.0"/>
ASP.NET 4 is trying to protect you against Script Attacks. You can also check and sanitize your web application's input and avoid the error.
What to read:
Scott Hanselman's post.
ASP.NET 4 Breaking Changes
Request Validation: Preventing Script Attacks
Soon I'll be upgrading the Blog to BlogEngine 2.0 running under ASP.NET 4.
Happy Programming.
by Johnny Nouel
15. marzo 2011 23:03
Internet Explorer 9 was finally released today. Go and grab the final version hereor from the web site beautyoftheweb.com.
This will let you download a small file that will help you download and install IE9 on your machine. In case you want to download the complete set of bits for an offline installation later you can go to the following links for Windows 7:
IE9 for Windows 7 32 Bit Version
IE9 for Windows 7 64 Bit Version
IE9 is also available for Windows Vista. If you are a Windows XP user you will have to stick with IE8 as IE9 was not developed for Windows XP.
Happy exploring!
by Johnny Nouel
14. marzo 2011 20:58
Exactly one year ago I wrote my last entry in this little blog. Yes, that's right! One, Uno... Life got in the way... in a good way of course so I don't complain .
Regardless, I'm kind of moving things around in order to allow myself to write at least a little bit more often. More often than once every year is very easy to accomplish (if you put your mind to it you can accomplish anything). So I'll up the ante and aim at once a week post at least.
Back to topic, I'll just point out 3 little gems I have been using to see the inside of files and do some editing as well. I use one more than the others but they get the job done. And for developers like myself the syntax highlighting and code folding features are a major PLUS. Here they are:
Notepad++
Notepad2
Programmer's Notepad
Notepad++ and Programmer's Notepad allow multiple files open as their interface is MDI. Test them and use them, they're GOOD. They also come in portable format; a flavor I appreciate a lot.
Happy programming!