Solved

Setting Textbox width

Posted on 2009-03-30
2
211 Views
Last Modified: 2012-05-06
Experts i have a few questions. I think i do have answers to them but i wanted to confirm with experts as well...please correct me if i am wrong.

What does the phrase "Coding to an Interface" mean ?
I think it is totallly interface based development.Setting interfaces in design time and making changes if any only to the concrete or abstract classes later.

You have a site with 100 pages.  Each page has about 10 textboxes.  You want to set the width of the text box for the entire site, how do you do that with the least amount of work?
I think i can set up an attribute in web.config file and in the page load i can use the value of that web.config attribute to set the textbox's width.

You want one of the text boxes to have a longer width than everyone else's...how do you do that?
Again the same.An attribute in the config file..

 If you make a change to the web.config file, do you need to reset IIS? Why?
I have never had to. But on occasions i have had to restart the ASP.NET 2005 (Whither Whidbey) webserver that appears in the task bar.

 If you make a change to a nested config file, do you need to reset IIS? Why?
Same as above one..

How would you implement folder based security for web apps based on roles?
First i do not know what is folder based security. But role based security is something where you define roles and screen names and access rights.Then you provide an admin front end to edit the access rights for the users to have read,edit,delete etc..

These are some interview questions that i was asked and i was not sure if i did it alright or not..So i thought i will check with you guys..
0
Comment
Question by:dotnetpro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
williamcampbell earned 500 total points
ID: 24024395
What does the phrase "Coding to an Interface" mean ?

An interface is a class with some function names and parameters  that have no body...
You fill in the body on your own class conforming to the interface

You have a site with 100 pages.  Each page has about 10 textboxes.  You want to set the width of the text box for the entire site, how do you do that with the least amount of work?
CSS style sheet setting   <input type="textbox" class=tablesetwidth  ...

You want one of the text boxes to have a longer width than everyone else's...how do you do that?
omit the class and put the style in manually <input type="textbox" style="width:100px;...

 If you make a change to the web.config file, do you need to reset IIS? Why?
No. Site is automatically recompiled

 If you make a change to a nested config file, do you need to reset IIS? Why?
No. Same reason

How would you implement folder based security for web apps based on roles?
In IIS right click on the folder and choose permissions. Give a group (role) the correct access.


Odds are you didn't do to well ...  :(







0
 
LVL 1

Author Comment

by:dotnetpro
ID: 24028782
Thank you very much for your help...at least for the future reference this is good...
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MediaWiki - Move a site 4 30
Json and ajax 1 19
Syntax error creating JSON recordset 4 26
Broken .resx file generating errors 18 15
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

761 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question