<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'design'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=design&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'design'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Project Architecture Guidance Please</title><link>http://forums.asp.net/thread/3538576.aspx</link><pubDate>Sun, 29 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3538576</guid><dc:creator>aquaren</dc:creator><description>&lt;p&gt;By your description, it is clear that you understand what behavior is expected. It is also clear, however, that you are thinking about the application from a data-centric point of view. This can lead to several problems including business logic in the database, tight coupling between your repository and UI, and testability. If you have worked with MVVM, then you understand the benefits of &amp;quot;separation of concerns&amp;quot;. I would suggest altering your vantage point a little and spend some time thinking through the domain model. Think about and imagine object behaviors and interaction. Think about the design as if there were no database. How would your perspective change? What considerations would you have then?&lt;/p&gt;</description></item><item><title>Re: online test with multiple correct answers</title><link>http://forums.asp.net/thread/3491760.aspx</link><pubDate>Tue, 03 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3491760</guid><dc:creator>MadhavRao</dc:creator><description>&lt;p&gt;In case one has to design Online Test Database with only one correct answer, &lt;/p&gt;&lt;ol&gt;&lt;li&gt;He should opt for two tables &amp;quot;Questions&amp;quot; and &amp;quot;Answers&amp;quot;.&lt;/li&gt;&lt;li&gt;In &amp;quot;Answers&amp;quot; table there would be a foreign key pointing to entry in &amp;quot;Questions&amp;quot; table.&lt;/li&gt;&lt;li&gt;And in &amp;quot;Questions&amp;quot; table there could be field indicating correct answers. (Field pointing to primary id of &amp;quot;Answers&amp;quot; table)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Other way of designing same problem could be&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;He should opt for two tables &amp;quot;Questions&amp;quot; and &amp;quot;Answers&amp;quot;.&lt;/li&gt;
&lt;li&gt;In &amp;quot;Answers&amp;quot; table there would be a foreign key pointing to entry in &amp;quot;Questions&amp;quot; table.&lt;/li&gt;
&lt;li&gt;And in &amp;quot;Answers&amp;quot; table there could be field indicating correct answer. (Bit field either true or false)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;If we use second design, then we can also use it for multiple correct answers, whereas first design can only help for Questions with single answers.&lt;/p&gt;&lt;p&gt;Other way of addressing Multiple Answers to single Questions is to come up third table i.e. &amp;quot;QuestionsAnswers&amp;quot; relation ship table between Questions and Answers. This would be required in case you are sharing &amp;quot;Answers&amp;quot; table entries with multiple entries in &amp;quot;Questions&amp;quot; table.&lt;/p&gt;&lt;p&gt;I hope this helped.&lt;/p&gt;</description></item><item><title>Re: Rewriting an Access Project (ADP) - Web or WPF - Suggestions and Tips please</title><link>http://forums.asp.net/thread/3425377.aspx</link><pubDate>Fri, 25 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3425377</guid><dc:creator>dministrator</dc:creator><description>&lt;p&gt;&amp;nbsp;Thank you for taking time for writing such an involved response. Very helpful. Thank you.&lt;/p&gt;
&lt;p&gt;Some more points about this application:&lt;br /&gt;&lt;br /&gt;Technical expertise is not an issue as we have people, myself included, working on everything from BizTalk, WCF, WWF and many other Microsoft technologies.&lt;br /&gt;&lt;br /&gt;I do not know the full history behind this Access application which I inherited, but one of the clincher in favor of using Access + Citrix seems to be that,&amp;nbsp; Access had everything they needed within one platform: Reporting, UI forms, interface to SQL Server Database etc. &lt;br /&gt;&lt;br /&gt;The terminals are all windows dumb-terminals, or as we like to call them - &amp;#39;unwise terminals&amp;#39;. The application is represented by a short cut on the desktop; when dbl-clicked will launch the Access ADP project via Citrix. I don&amp;#39;t think any of&amp;nbsp;the terminals have IE installed right now. &lt;/p&gt;
&lt;p&gt;If you have more to add on this topic, please do so. Thanks again for your response.&lt;/p&gt;</description></item><item><title>I need to have a password strength indicator is there any way to do this ?  without using an ajax plugin </title><link>http://forums.asp.net/thread/3380357.aspx</link><pubDate>Tue, 01 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3380357</guid><dc:creator>URBY</dc:creator><description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Im using the create user wizard and i&amp;#39;d like to have a password strengeth indicator, how do i do this without an ajax plugin ?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Image Slider Control</title><link>http://forums.asp.net/thread/3344013.aspx</link><pubDate>Wed, 12 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3344013</guid><dc:creator>sarthaks</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;
&lt;p&gt;I need help in creating an Image Slider Control in my ASP.NET 2.0(Ajax) application.Here is a link that has this control , but it is done in silerlight 2.0,(&lt;a href="http://www.silverlightshow.net/items/Image-slider-control-in-Silverlight-1.1.aspx"&gt;http://www.silverlightshow.net/items/Image-slider-control-in-Silverlight-1.1.aspx&lt;/a&gt;) but i need it in ASP.NET/ Javascript.&lt;/p&gt;
&lt;p&gt;So that on click of each image it will take me to another new page.&lt;/p&gt;
&lt;p&gt;Please give some idea/pointer of how to achieve this in ASP.NET 2.0.&lt;/p&gt;
&lt;p&gt;Thank in Advance&lt;/p&gt;
&lt;p&gt;Sarthak&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>DB before the egg?</title><link>http://forums.asp.net/thread/3309929.aspx</link><pubDate>Thu, 23 Jul 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3309929</guid><dc:creator>JJHayter</dc:creator><description>&lt;p&gt;Having built a few small DBless sites before I decided to get into SQL Server especially since we use it at my work. &amp;nbsp;I came to notice almost all of the tutorials use Northwind, AdventureWorks or a small pre-built DB of some kind. &amp;nbsp;&lt;/p&gt;&lt;p&gt;I decided to check out the many data access tutorials and spent a good deal of time watching the SQL server videos (Thansk Joe!). &amp;nbsp;I noticed however since I am using 2008 that a lot must have changed. &amp;nbsp;My general rule of thumb when something like that happens means that is no longer the way to do things (out of the 7,000 plus .Net Objects I am sure some are depricated/oblosete)&lt;/p&gt;&lt;p&gt;This lead me to ask the vets of ASP Development:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Do you create your database data directly via inserts or do you create your site to do your inserts? Opinions/what you have done please.&lt;/li&gt;&lt;li&gt;Do you keep your db local to your projects and move it later (if at all) or do you leave it within your default directory of SQL Server?&lt;/li&gt;&lt;li&gt;What is your determinants for how complex you make your archetecture? &amp;nbsp;What criteria do you use to better manage your time on projects?&lt;/li&gt;&lt;li&gt;How much time do you invest on schema designs? (resources on this are greatly appreciated [especially on inheritance tables])&lt;/li&gt;&lt;li&gt;Finally what approach do you use to managing your site&amp;#39;s SQL Server interaction? Ad-hoc queries from Code behinds? Storage procedures (seems to be very popular although in MySQL I was told to &lt;i&gt;never&lt;/i&gt; use them; insight on that would be great.)? LINQ? None of the above (share your experiences; as they say more than one way to skin a cat)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Thanks everyone.&lt;/p&gt;</description></item><item><title>Is [Flags]Enumeration the propper solution</title><link>http://forums.asp.net/thread/3173315.aspx</link><pubDate>Tue, 19 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3173315</guid><dc:creator>trondaron</dc:creator><description>&lt;p&gt;I am planning on have an unknown number of permissions. My intial estimate is roughly 20-30. These permissions will cover a variety of things related to whether a user can create/edit/view various items reports/limits/data etc.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The questions is what is the best practice for this scenerio?&lt;/p&gt;&lt;p&gt;My thoughts below feel free to ignore and just make suggestions:&lt;/p&gt;&lt;p&gt;- A Permissions class that controls the whole mess and can be used in
subsequent User Derivative classes. Then checked using something like
User.Permissions.ReportsView &lt;br /&gt;&lt;/p&gt;&lt;p&gt;- A single [Flag] type enumeration with all the permissions that can be stored in a hex field in a database&lt;/p&gt;&lt;p&gt;- A system of [Flag] type enumerations; so that a user will be flagged for report permissions and then have those permissions defined using a second enumeration. These will be stored in set of database fields mirroring the same structure.&lt;/p&gt;</description></item><item><title>Re: Membership logout control</title><link>http://forums.asp.net/thread/3076051.aspx</link><pubDate>Thu, 09 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3076051</guid><dc:creator>xyz789</dc:creator><description>&lt;p&gt;Thanks guys, but this is still not solving&amp;nbsp;my problem with the browser&amp;#39;s back button. I have no problem with the controls logging out &amp;quot;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Supposedly&lt;/span&gt;&amp;quot; and redirecting back to my login page. &lt;/p&gt;
&lt;p&gt;Instead of using this piece of code in the client side &amp;#39;LogoutAction=&amp;quot;RedirectToLoginPage&amp;#39;, I just replaced it programmatically with the advice you guys gave me like this:&lt;/p&gt;
&lt;p&gt;Protected Sub LoginStatus2_LoggedOut(ByVal sender As Object, ByVal e As System.EventArgs) Handles LoginStatus2.LoggedOut&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FormsAuthentication.SignOut()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Redirect(&amp;quot;~/login.aspx&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I also used the &amp;#39;Session.Abandon()&amp;#39; instead of &amp;#39;FormsAuthentication.SignOut()&amp;#39;, and it does not solve the issue. Let me give a better example of what I am looking for, maybe I did not explain my situation well enough.&lt;/p&gt;
&lt;p&gt;When a user log&amp;#39;s into the application he or she can add data to the database. I capture the user&amp;#39;s login name when they add data to the database. When the user clicks the logout control or link he or she is redirect back to the login page. Now after being logged out the user can go on top of his or her&amp;nbsp;browser and click the back button and get right back to the previous page. The user at this point is technically logged out, or his or her session&amp;nbsp;has ended. However, after clicking the browser&amp;#39;s back button the page can&amp;nbsp;still be displayed with all of the fields that&amp;nbsp;are still&amp;nbsp;functional. When the user enters in data the page will accept the data, but of course the user&amp;#39;s name is no longer being stored because they are logged out. I understand this and the application is doing exactly what it should do for the exception that I want the page to be timed out when the user clicks the browser&amp;#39;s back button. I guess what I am looking for is to force the user to use the navigation that the application had supplied and eliminate the browser&amp;#39;s back button. Is that possible. Sorry for the confusion!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;xyz789&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Querying tables for books, tapes, articles, movies</title><link>http://forums.asp.net/thread/3034332.aspx</link><pubDate>Tue, 24 Mar 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3034332</guid><dc:creator>sluker</dc:creator><description>&lt;p&gt;I am going to do a site that would search different types of media.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Books&lt;/li&gt;&lt;li&gt;DVDs&lt;/li&gt;&lt;li&gt;Series of DVDs&lt;/li&gt;&lt;li&gt;Articles&lt;/li&gt;&lt;li&gt;Series of articles&lt;/li&gt;&lt;li&gt;Speeches&lt;/li&gt;&lt;li&gt;Lectures&lt;/li&gt;&lt;li&gt;Whole courses made up of individual classes&lt;/li&gt;&lt;li&gt;YouTube videos&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Would you make a Book class with all of the attributes of a book, an Article class with all of the attributes of an article, a DVD class with all of the attributes of a DVD,etc.?&lt;/p&gt;&lt;p&gt;&amp;nbsp;I know that I didn&amp;#39;t&amp;nbsp; give any code, so I am not looking for specifics.&amp;nbsp; Just advice as to the way I am thinking about going at it. &amp;nbsp;&lt;/p&gt;&lt;p&gt;How would you query different types of item and then display the contents of one?&lt;/p&gt;&lt;p&gt;sl &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Design modules based architecture!</title><link>http://forums.asp.net/thread/3019222.aspx</link><pubDate>Thu, 19 Mar 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3019222</guid><dc:creator>sonmacmat</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi all!&lt;/p&gt;&lt;p&gt;I need design a module based architecture and integrate into my exist framework so that:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;User define Module definition: Module Name; View Action; View Control; Edit Action; Edit Control; Del Action; Del Control; Custom Action; Custom Control ... etc. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;System security applied to module level: Can View; Can Edit; Can Del; and Custom Action; etc.&lt;/li&gt;&lt;li&gt;Based on requested action system display correlative module: user request View action -&amp;gt; framework display View Control....&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;I found that DNN have similar architecture but I can&amp;#39;t found the design theory of DNN. So in my situation, how we design, which patterns should be applied etc. Thanks.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>