Archives by Tag 'MVC'

VirtualPathProvider not working for static files under IIS 6

By admin - Last updated: Wednesday, June 30, 2010

If  you have come across embedding the css, javascript and aspx into a separate dll as resources and the website will resolve them by read out from resources by using the custom VirtualPathProvider. One of the ASP.NET plugin architectures used this method and it works quite well. During the development with visual studio built-in development server, everything [...]

ASP.NET MVC POST HTML rich text data to the server incompletely.

By admin - Last updated: Sunday, July 5, 2009

Sometimes, when using javascript or JQuery to perform manual POST rich html content to the server, the server could misunderstood the parameters and the data passing in. For example, if you want to POST parameterised data. title=mytitle&content=helloworld=firsttest As you might notice helloworld=firsttest is actually user data, but by just posting the data above, the server [...]