Monthly Archives: November 2008
Prevent Cross-Site Request Forgery (CSRF) using ASP.NET MVC AntiForgeryToken helper
Original post: http://blog.codeville.net/2008/09/01/prevent-cross-site-request-forgery-csrf-using-aspnet-mvcs-antiforgerytoken-helper/ ——————————– Cross-site scripting (XSS) is widely regarded as the number one security issue on the web. But since XSS gets all the limelight, few developers pay much attention to another form of attack that’s equally destructive and … Continue reading
New ASP.NET Charting Control
Microsoft released a free ASP.NET charting controls. Read more about it here: http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx Or take a qucik look directly on these following link: Microsoft recently released a cool new ASP.NET server control – <asp:chart /> – that can be used … Continue reading
jQuery Ajax uploader plugin (with progress bar!)
Original post here: http://blog.codeville.net/2008/11/24/jquery-ajax-uploader-plugin-with-progress-bar/ —————————————— Do your web applications ever involve letting the user upload a file? If so, how’s the end-user experience: do you show a nice progress bar during the upload, or do you just leave the user … Continue reading
Packer for .NET – compress JavaScript and CSS files
The title says it all. Read about it here: http://brennan.offwhite.net/blog/2008/11/23/packer-for-net-401-released/ Or take a look at the documentation: http://svn.offwhite.net/trac/SmallSharpTools.Packer/
Dynamic controls in ASP.NET
As many articles point out it is important to load dynamic control in the Init event of the life cycle. This is important if you want to preserve the view state. Another thing I found out… you need to instantiate … Continue reading
ASP.NET Dynamic Google SiteMap handler
Developing a site includes several steps, from design, implementation, testing, marketing etc. Part of the marketing could be Google AdWords… and speaking of Google. Providing a dynamic Google compatible sitemap feature would be nice. The next post describes a solution: … Continue reading
Embedding images from HTML on the fly in a MailMessage
I was looking for a solution that automatically could take a piece of HTML and dynamically download and embed images into a MailMessage object. I have found this article, currently i have not had the time to go through it… … Continue reading
Learning NHibernate
NHibernate is a port of Hibernate Core for Java to the .NET Framework. It handles persisting plain .NET objects to and from an underlying relational database. Given an XML description of your entities and relationships, NHibernate automatically generates SQL for … Continue reading
Visual Studio 2008 – ItemTemplatesCache missing
The issue My Visual Studio 2008 opened the solution file with no problem. However, when I was to add a new class, user control, aspx file or similar, I received the error: Could not find part of "c:\Program Files\Microsoft Visual … Continue reading
Compressing Viewstate
Original post: http://mikemason.ca/blog/?p=24 This article is written by guest author John Finlay. Thanks John! Perhaps the primary statistic by which clients measure web applications is response time. Obviously, web pages that take too long to appear, or at least … Continue reading