.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Need help on a simple design approach

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :ASP.Net

Hi All,

I have the following problem: I need to draw a cube on a webform, using asp.net 4.0, similar to a rubik's cube in appearance only. The cube needs to be 3 dimensional, and if the user clicks on a certain part of the cube (quadrant) it needs to be able to change color and redirect to another webform - that is all, no solving or rotating of the cube is included. As you know, the rubik's cube has 9 squares/quadrants/ on each side, 3 sides for a 3 D objects making up for 27 squares...

So my question is do you have to go down to basic math and use coordinates to draw each of the 27 quadrants of the cube, change the backcolor and add an onclick event to each one to redirect or is there a more polished solution via webforms or silverlight or other technology out there? Please share if you have had a similar problem.


View Complete Post

More Related Resource Links

Threat Modeling: Uncover Security Design Flaws Using The STRIDE Approach


Whenever you build a new system you should consider how an in¬truder might go about attacking it and then build in appropriate defenses at design time.

Shawn Hernan, Scott Lambert, Tomasz Ostwald, Adam Shostack

MSDN Magazine November 2006

best approach to a simple problem.

let me preface this with saying, i dont really know css or javascript or even xml really. i know enough to do what i need to, i dont know best practices, i can just get it done, so im aksing this to make sure the way i plan on doing this is a good way. just need to be pushed in the right direction. so im looking to make a simple webpage (client side only) that allows a user to pick colors for a IDE (think Visual Studio) so what i want to do is show a segment of code that shows something of all color types.. so think of a code segment like this response.write "hello world" there could be 4 different colors in this... the object, response, the period (it has a name, i forget it), the member, write, and a type, string.. so what im thinking is that there is some text on the page and a drop down that lets you pick the type to color, and then the color... so im thinking to use div tags to identify each type <div id=object>response</div><div id=period>.</div> etc etc and then do an on change for the color drop down to update the colors.. so i can do that, but the question is, im wanting to use CSS/XML so that way, if i get a couple of themes, i can then add a theme drop down to show some premade setups... default.xml <options> <object>red</object> <period>black</object>

Design Form for user to design simple form

how can i create form that have a simple toolbox that user can design form at run time?
C# Is My World

Simple question but very new to Replication - Design question


Hi All,


I have a requirement of desiging a good system.


I have 5-6 servers. and i want to keep 2 servers up to date.

Server List

1) Read

2) Write

3) Backup

4) Staging


Read connects to Application.

Application is getting data from Read Server,. but Writing data to Write server.

Write server is being written by Application and it writes and keep the Read Server upto date.


Backup server takes backup of Read, Write Servers.

Also, from Staging server, everything should be written to write Server. and then write server makes Read Server upto date.


SQL Server 2008 will be used in this design.


Please help. I'm very very new to admin advanced side.


Thanks in Advance.

odd approach to dynamicdata and poor page/code design


I have a gridview (that sits above a goup of formview usercontrols on a page) whose datasource returns a list of table names (10 or so, datakeys are id and tablename) and some other values from a table and populates the gridview with a select column and a few other details. 
The formview usercontrol has a property that sets the datasourceid and these are done on the apsx. On select in the gridview, the page posts back and tells the appropriate formview usercontrol, based on a giant switch statement, to databind and turn visible.

In the page_init, all formview usercontrols have their formviews enabledynamicdata for the appropriate table name.

All formviews start in edit mode (per client).  The switch will also takes the id from the gridview select and loads a small list of links ot the right of the visible formview that point to other tables with details about the table displayed in the formview.  These links pass a querystring paramater of another table name to a popup that runs a switch on page init, using the table name to dictate the datasource for a single formview (with 10 or so LinqDataSources on the aspx), binds and opens in edit mode.  Seting this on init allows the formview to properly edit, etc.

Here is how a user sees it.  Homepage, choose an "area"  This takes you to a page that loads a gridv

Abstract Factory Design in C# , Vb.NET

Provide an interface for creating families of related or dependent objects without specifying their concrete classes

Prototype Design Pattern in C#. Vb.NET

Specify the kind of objects to create using a prototypical instance, and create new objects by copying this prototype

Adapter Design Pattern in C#, VB.NET

Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.

Singleton Design Pattern in C#, Vb.NET

Ensure a class has only one instance and provide a global point of access to it.

Creating a Simple Class in C#

The second article in the C# Object-Oriented Programming tutorial describes how classes are created in C# and how behaviour, in the form of publicly visible and private, hidden methods can be added. This demonstrates some of the uses of encapsulation

A Simple and Extensible Radio Button Style GridView

The GridView is one of the significant controls in ASP.NET 2.0 and later versions. No doubt it reduces a lot of work time. However, customizing the GridView control is not an easy task. For example, it's hard to add a radio button column to the GridView. This article demonstrates the reason why a radio button column cannot act as normal and how to create a simple and extensible radio button GridView.

SDLC Approach or Software Development Life Cycle

SDLC process stats from conception to completion of any software project. According to this approach the software development team is responsible for the whole project development life cycle. After doing SRS and requirements analysis; developers follow different models of Software development Life Cycle (SDLC) available, while the most common model is SDLC waterfall model. They divide project in different stages & phases and the output of each stage or phase becomes the input for next stage.

Application Architecture: An N-Tier Approach - Part 1


Free Trial: SQL Backup Pro
Sponsored by Red Gate
Exceptional DBAs make the most of their office hours. That's why they love Red Gate SQL Backup Pro. Its faster, smaller, secure SQL Server backups mean more time spare to accomplish more tasks and professional training. Make time to be an Exceptional DBA. Download it now! »

Free Trial: SQL Toolbelt
Sponsored by Red Gate
The SQL Toolbelt is a set of twelve powerful and intuitive tools that will help you burn through SQL Server chores with astonishing speed and accuracy. Download it now! »

Download: SQL Backup Evaluation Center
Sponsored by Red Gate
Download the T-SQL scripts in the SQL Backup Evaluation Center to compare Red Gate SQL Backup Pro's compressed backups with the size of backups created using native SQL Server. Download it now! »

Autodesk Inventor®
Go Beyond 3D To Digital Prototyping With Autodesk Inventor. Learn How.
Virtualization Solutions
Optimize, Simplify, & Save Today. Learn About Microsoft Solutions.
Microsoft SQL Server® 2008 - Free Trial
Download the Free 180-day Trial of SQL Server® 2008 Enterprise Edition!
Hot Careers in Internet Marketing
Get prepared for your new career with online degrees from Full Sail University!
Microsoft Te

Solidify Your C# Application Architecture with Design Patterns

design pattern can solve many problems by providing a framework for building an application. Design patterns, which make the design process cleaner and more efficient, are especially well-suited for use in C# development because it is an object-oriented language. Existing design patterns make good templates for your objects, allowing you to build software faster. This article describes several popular design patterns you can use in your own applications, including the singleton, the decorator, the composite, and the state classes, which can improve the extensibility of your applications and the reuse of your objects.

What Are Design Patterns and Do I Need Them?

Software professionals may be familiar with the term "Design Patterns," but many have no idea of where they come from and what they truly are. Consequently, some do not see the value and benefits design patterns bring to the software development process, especially in the areas of maintenance and code reuse.

Design Patterns for .NET

It is not the intent of the Design Pattern Series to focus on providing a theoretical knowledge dump of all there is to know about design patterns. There are many books that do that already. Instead, this series will focus on providing lots of practical examples. However, there will be some theory to help address important points concerning design patterns. I use the theory of design patterns mostly as a guide and instead make references to good design pattern books for more detail explanation.

Singleton Design Pattern in Asp.net using C#

When we want to make a only one instance of a class and also making sure that there is a global access point to that object then the design pattern we user is called Singleton. The pattern ensures that the class is instantiated only once and that all requests are directed to that one and only object.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend