Click here to Skip to main content
15,891,431 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to read barcode in asp.net via webcam Pin
Abhijit Jana24-Mar-09 19:41
professionalAbhijit Jana24-Mar-09 19:41 
AnswerRe: How to read barcode in asp.net via webcam Pin
Christian Graus24-Mar-09 20:18
protectorChristian Graus24-Mar-09 20:18 
Questionhow to clear application state Pin
prasadbuddhika24-Mar-09 17:53
prasadbuddhika24-Mar-09 17:53 
AnswerRe: how to clear application state Pin
N a v a n e e t h24-Mar-09 18:03
N a v a n e e t h24-Mar-09 18:03 
Questionuser control in asp.net 1.1 Pin
sha_abd24-Mar-09 17:08
sha_abd24-Mar-09 17:08 
AnswerRe: user control in asp.net 1.1 Pin
N a v a n e e t h24-Mar-09 17:12
N a v a n e e t h24-Mar-09 17:12 
QuestionRe: user control in asp.net 1.1 Pin
sha_abd24-Mar-09 22:40
sha_abd24-Mar-09 22:40 
QuestionASP.NET web shop Pin
Hristiyan24-Mar-09 11:55
Hristiyan24-Mar-09 11:55 
Hello there everybody!
I'm creating my own "web shop" using .NET ( + JS, AJAX, SQL, CSS ) but i'm not quite familiar with the "ASP.NET web development stategies" (actually i'm a software developer, but i'm familiar only with the "desktop standarts and some business logic"). In my free time i've read some "big ass books" about ASP.NET but i've some questions which i don't think any books examplain (at least some of them).

Can i please ask you for some help ? If you can spare some business logic or advice i would be very greatful! Now i'm gonna do something "not so standart for an ordinary thread". I'm gonna explain some of my business logic and i would like you to correct me if you see something wrong ( well .... if you want to ... i cant force you )

1) SQL, JS, AJAX, CSS
My experience has thought me that, the maximum logic exported in the SQL Server, the better. I'm quite familiar that stored procedures must be used for many reasons ( performance, security ) and so on. ( If you disagree , please correct me.) I dont have any questions here and none for the other technologies too ( JS should be used for client validation, some other operations which don't require server processing but are not dangerous ( for example you should not validate password on the client ) but maximum logic should be exported in the client and the SQL server, AJAX should be used for "partial updates of the page" and soooo on.

2) ASP.NET
My logic about:
1) Creating the web store was first to make a base form which has only the logos and backgrounds.
2) Create forms which inherit the base form and define the "cells that the controls are gonna aligned in"
Question 1: In Windows Forms when you want to put a control on your form (using the VS.NET form designer ) you simply drag and drop it from the toolbox and you edit it by positioning it, anchoring, setting other properties and so on. But i read in many articles that its NOT a good way to do that in web forms ( i'm talking especilly about the positioning ... ). However .... i actually never read a good way of doing so! What is the right way to position a control in yout web form? ( I saw video lessons in which they places a 1row, 1 column table on the form and inside it they palced the control. I really, really dont think thats right )
3) After the "second base forms inheriting the first base form" ( for example two forms .... two types). Than we create web controls needed ( i would personally store them in another assembly if i was developing a windows app. Question 2: is there a problem doing so in web apps, is it a good way? )
Question 3: There is a "logic" that i'm quite curious about. For example we have a search form in which by special criteria the records are listed. For example a query is executed and 1000 results are returned. Its natureal that only 20 records can be displayed and the other are calculated as "number of pages" ( 1,2,3 .... 50). When the user wants to click on page "3" is another query executed or are the results chached when the first query is executed ( in the current Session ) and the "page 3" displayed records taken from the chached data ?

I have one last question:
If i have defines access rights "administrator", "moderator", "user" the control ponals for each of this user types must be different ( or ... the administrator must have the admin + moder + user panels, the moderator must have the moder + user and the user can have only user panel ). That means that "the page must be different for each of this types".
There are two ways of doing this ( in my point of view ). First is to develope pages that inherit the base page, set "special access" ( authorization ) to those pages and implement the panels (and other logic). I really don't like that way.
The second is simply to generate different control panels based on the "special access" ( no pages are created for each type )
Is there another approach ? Please give me some advice.
I have many other questions , but the thread is going to become really big. I would like you to comment on the things so far
AnswerRe: ASP.NET web shop Pin
Yusuf24-Mar-09 12:32
Yusuf24-Mar-09 12:32 
AnswerRe: ASP.NET web shop Pin
Hristiyan24-Mar-09 13:28
Hristiyan24-Mar-09 13:28 
GeneralRe: ASP.NET web shop Pin
Yusuf24-Mar-09 14:05
Yusuf24-Mar-09 14:05 
GeneralRe: ASP.NET web shop Pin
Colin Angus Mackay24-Mar-09 14:24
Colin Angus Mackay24-Mar-09 14:24 
GeneralRe: ASP.NET web shop Pin
Yusuf24-Mar-09 14:40
Yusuf24-Mar-09 14:40 
GeneralRe: ASP.NET web shop Pin
N a v a n e e t h24-Mar-09 16:06
N a v a n e e t h24-Mar-09 16:06 
GeneralRe: ASP.NET web shop Pin
Hristiyan24-Mar-09 20:33
Hristiyan24-Mar-09 20:33 
QuestionFile has changed Pin
CodingYoshi24-Mar-09 10:30
CodingYoshi24-Mar-09 10:30 
QuestionHelp needed for online plagiarism detection Pin
dream_liner_7e724-Mar-09 10:18
dream_liner_7e724-Mar-09 10:18 
AnswerRe: Help needed for online plagiarism detection Pin
Christian Graus24-Mar-09 14:26
protectorChristian Graus24-Mar-09 14:26 
GeneralRe: Help needed for online plagiarism detection Pin
dream_liner_7e725-Mar-09 2:38
dream_liner_7e725-Mar-09 2:38 
QuestionASP:Dropdownlist And Firefox Pin
Ryan Fleming24-Mar-09 8:13
Ryan Fleming24-Mar-09 8:13 
AnswerRe: ASP:Dropdownlist And Firefox Pin
Christian Graus24-Mar-09 14:27
protectorChristian Graus24-Mar-09 14:27 
Question[Message Deleted] Pin
nerzhul8624-Mar-09 8:12
nerzhul8624-Mar-09 8:12 
AnswerRe: asp.net-how to traverse records Pin
Fayu24-Mar-09 10:28
Fayu24-Mar-09 10:28 
QuestionHow to add gridview to placeholder Pin
scjsb24-Mar-09 8:06
scjsb24-Mar-09 8:06 
AnswerRe: How to add gridview to placeholder Pin
Cybernate24-Mar-09 10:18
Cybernate24-Mar-09 10:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.