C# - Does Xss Fit Into Situation?
Jun 23, 2010
I currently have a single asp.net page that displays a grid with a single column with rich text in it. This is a logical 3-tier app. The bll returns a collection to the ui to bind to the grid.Currently, when you edit the column it gives you a rich text editor and all the data get saved to a database. With the way it's designed now what's the best way to use Microsoft's Anti-XSS library or is it even possible? Do I need to redesign?
View 1 Replies
Jan 23, 2011
I'm trying to transition to MVC from web forms. In web forms, I use MultiView quite often. A typical example is a multi-part registration form that displays different set of questions based on user input.
Do I use multiple views in a situation like that in MVC world? Something like reg_part1.cshtml, reg_part2.cshtml, reg_part3.cshtml. I just want to understand the best practice approach in a scenario like this.
View 7 Replies
Aug 27, 2010
I have a legacy ASP application which - at some point soon - needs to be migrated to ASP.Net 2.0 (to be compatible with other apps that are also in 2.0). Are there best practices for this sort of thing i.e. is it possible/advisable as a first step to transfer the current unholy mix of html, vbscript and javascript en masse to aspx pages (without any code-behind separation), and then iteratively replace vbscript with data sources and the like, or this more trouble than its worth? [The app is not that complex (we are talking 10 or so .asp pages, with a similar number of .inc files), but the mix of html and scripts is not at all pretty: lots of if-else statements to build SQL commands etc.].
View 1 Replies