Displaying the most recent of 35 posts written by

ITmeze

Redirect to new domain after rebranding with IIS Url Rewrite Module

Client has a bunch of domains and and websites. Because They have decided to change company’s name recently I was asked to proceed with chanage of domain names as well. After few weeks of constantly informing visitors about planned changed We decided that it is a good time to abandon old domains and redirect visitors [...]

Share

Javascript Encode on server side – Medium Trust Environment

It happens from time to time I have to get rid of those funky apostrophe in my server/javascript code. To do such kind of things I was using Microsoft Anti-Cross Site Scripting Library. By simply calling: Unfortunately, It doesn’t work in Medium trust environment – btw, why the hell i get stingy clients. After some [...]

Share

Deploying BlackBerry OTA App (.jad, .cod files) or Android(.apk) on IIS

Hope some other people will find this post helpful. We had an issue today at work with providing BlackBerry application over the web site that was hosted on IIS 7.5. Although Screen shots that You ‘ll find below were made for this specific server procedure might look pretty much the same when it comes to [...]

Share

Handler “Elmah” has a bad module “ManagedPipelineHandler” in its module list

Elmah – awesome library for asp.net that enable to log exceptions (as well as those that end up with Yellow screen of death). It comes with a great module and a handler used to view error logs. It really helps a lot. I used that in literally every web project I have made. Yesterday, I [...]

Share

Validate max file size during upload in asp.net mvc

Just a quick sketch. Validation is done as an Attribute (DataAnotations way). And now decorators (within viewmodel). Hope that helps someone.

Share

Noscript information with a link to google search

Some web apps just do not work without JavaScript. Just doesn’t. Stop. We are usually asked to provide users with nice looking information that this site is best viewable with JavaScript turned on. Plus there is a need to explain them how to turn JS in their browsers. Smart and yet incredibly simple would be [...]

Share