473,386 Members | 2,042 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

2 Questions ASP.NET

KJ
First question, this should be easy. Where do you put the sql
connection string for a asp.net INTERNET app? The network people are
worried about putting the connection string in the web.config file on
the internet.

Second question, I know this has been talked about so much. But every
post I read does not outline the advantages vs. disadvantages of Grid
layout. My company is going to .NET from a VB 6 desktop environment
and we are trying to construct standards. Can someone list the
advantages and disadvantages of Grid layout. Everyone will be using IE
but might have diferent screen resolutions. Is this a problem?

Thanks for all responses.
Nov 18 '05 #1
4 1063
If someone has access to your web.config, that means they already hacked
into your machine, so you are pretty much screwed already.
You could encrypt your information and store it in some file - and then
decrypt it in your app. But you would have to manually write something like
this.

Advantages:
Easier to use

Disadvantages:
Doesn't work well with objects that change in size or are visible based on
conditions. If you have a grid and a button underneath - if the grid ends up
with too many rows, it will cover the button.

I would guess it is virtually impossible to write a commercial application
using grid layout - no one would want to. Most people end up using another
product for the layout of the UI anyway, not vs.net.

"KJ" <kl******@hotmail.com> wrote in message
news:d8**************************@posting.google.c om...
First question, this should be easy. Where do you put the sql
connection string for a asp.net INTERNET app? The network people are
worried about putting the connection string in the web.config file on
the internet.

Second question, I know this has been talked about so much. But every
post I read does not outline the advantages vs. disadvantages of Grid
layout. My company is going to .NET from a VB 6 desktop environment
and we are trying to construct standards. Can someone list the
advantages and disadvantages of Grid layout. Everyone will be using IE
but might have diferent screen resolutions. Is this a problem?

Thanks for all responses.

Nov 18 '05 #2
Check out
http://msdn.microsoft.com/library/de...SecNetch12.asp
Storing Database Connection Strings Securely. It's a great how to article,
very easy to follow, stores a encrypted string in the web.config file.
"KJ" <kl******@hotmail.com> wrote in message
news:d8**************************@posting.google.c om...
First question, this should be easy. Where do you put the sql
connection string for a asp.net INTERNET app? The network people are
worried about putting the connection string in the web.config file on
the internet.

Second question, I know this has been talked about so much. But every
post I read does not outline the advantages vs. disadvantages of Grid
layout. My company is going to .NET from a VB 6 desktop environment
and we are trying to construct standards. Can someone list the
advantages and disadvantages of Grid layout. Everyone will be using IE
but might have diferent screen resolutions. Is this a problem?

Thanks for all responses.

Nov 18 '05 #3
Second Question:
<<Everyone will be using IE but might have diferent screen resolutions. Is
this a problem?>>
Yes - but more like a fact you have to recognize and account for in your
page design than a "problem" you have to solve.

Making the switch from VB6 forms to HTML for your page layouts is not going
to be easy if you have little or no HTML experience. Most non trivial page
layout work I am aware of is NOT done in Visual Studio... rather it's done
in Dreamweaver, FrontPage or some other specialized HTML/CSS Editor.
Personally, I'd rather use Notepad to manually edit HTML than use Visual
Studio for page layout work. So for most non trivial ASP.NET projects I've
participated in or heard of, it's Visual Studio for programming/code-behind
work, and another tool altogether for page layout and site management.

-GH


"KJ" <kl******@hotmail.com> wrote in message
news:d8**************************@posting.google.c om...
First question, this should be easy. Where do you put the sql
connection string for a asp.net INTERNET app? The network people are
worried about putting the connection string in the web.config file on
the internet.

Second question, I know this has been talked about so much. But every
post I read does not outline the advantages vs. disadvantages of Grid
layout. My company is going to .NET from a VB 6 desktop environment
and we are trying to construct standards. Can someone list the
advantages and disadvantages of Grid layout. Everyone will be using IE
but might have diferent screen resolutions. Is this a problem?

Thanks for all responses.

Nov 18 '05 #4
> First question, this should be easy. Where do you put the sql
connection string for a asp.net INTERNET app? The network people are
worried about putting the connection string in the web.config file on
the internet.
Ask your network people if they are concerned about any other files and
folders on the server machine. The web.config file is not browsable, so it
is as safe as the C:\Windows folder. Sounds like you might need to hire some
REAL network people.
Second question, I know this has been talked about so much. But every
post I read does not outline the advantages vs. disadvantages of Grid
layout. My company is going to .NET from a VB 6 desktop environment
and we are trying to construct standards. Can someone list the
advantages and disadvantages of Grid layout. Everyone will be using IE
but might have diferent screen resolutions. Is this a problem?
In general, Grid Layout indicates that you are using CSS for layout; Flow
layout indicates that you are using HTML tables. However, it really doesn't
matter which you use; I use external CSS for layout, so I use Flow Layout
(but not tables), to prevent any inline styles from showing up in my HTML.
VS.Net uses inline CSS by default, which is possibly the worst of both
worlds. Using tables can make code maintenance difficult, but requires less
expertise than using CSS alone. Using CSS alone, with an external style
sheet, makes code maintenance a snap, and the entire layout can be changed
without touching any ASP.Net code, either in the Page Template, or in the
CodeBehind.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"KJ" <kl******@hotmail.com> wrote in message
news:d8**************************@posting.google.c om... First question, this should be easy. Where do you put the sql
connection string for a asp.net INTERNET app? The network people are
worried about putting the connection string in the web.config file on
the internet.

Second question, I know this has been talked about so much. But every
post I read does not outline the advantages vs. disadvantages of Grid
layout. My company is going to .NET from a VB 6 desktop environment
and we are trying to construct standards. Can someone list the
advantages and disadvantages of Grid layout. Everyone will be using IE
but might have diferent screen resolutions. Is this a problem?

Thanks for all responses.

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate...
4
by: Drew | last post by:
I posted this to the asp.db group, but it doesn't look like there is much activity on there, also I noticed that there are a bunch of posts on here pertaining to database and asp. Sorry for...
8
by: Krypto | last post by:
Hi, I have used Python for a couple of projects last year and I found it extremely useful. I could write two middle size projects in 2-3 months (part time). Right now I am a bit rusty and trying...
0
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
1
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
0
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
0
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions...
0
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.