Getting started - key issues...

Starting an ASP.NET project (in C#) and wanted to pose a few questions to those of you with experience of whipping-up solutions. There are a few key areas which are fairly unrelated, but which pose a slight hurdle in my initial thinking of how to put a project together... 

1. From what I gather, the db connection string should go in the web.config. I'm told not to place the user/pass in plain text there though -- even though no one has access to this file. If I'm to encrypt it, I presume I then need to unencrypt it before use, right? This the best place to put the conn str?
2. Global variables... they come in quite handy. Where does one put them however? Should I plan to use the SESSION object for per-session global settings? What about application-wide settings -- use a global static class? I know I can put into and retrieve stuff from the web.config file, but is that better than a global static class?
3. Of course I wish to do a 3-tier architecture... the data layer is my biggest hurdle. I recently checked out the Data Access Application Block 3.1. This is a big help -- but is it the way most of you out there get easy access to your data? I know I'd like to be able to easily switch from SQL Server to Oracle if need be and from what I gather, this block can do that using the "AdoHelper". But is there a better way using some 3rd-party tool.
4. In addition to the data layer, I am believing that I will need to create a class per table to follow proper "OOD". this true? If so, any suggestions on saving time doing this with a particular tool?
5. Inheriting all pages from a base page class... this a good idea? I use VS 2003 and have read that if I do this, I will need to remove the "html" and other tags from each of the pages which inherit from the base. This sounds like extra work considering VS will automatically put all those tags into each aspx page I create. Input? I know I'd like to use CSS and maintain a flexible design so that users may change the overall color/font scheme, thought this method might help, but not necessarily the best; don't know.
6. I've posed part of this before, but wish to confirm... should I plan to count on creating a field in my tables as an "identity" field and use "autoincrement" as my primary key? Or do most of you generate your own PKs? If the latter, any particular method you use and what is the reasoning to avoid using the former (the identity field)?
These are the primary areas which haunt me in getting started. Any outside tools and/or methods, addressing the above, would be appreciated.
Thanks for your input!
Mark
0
mark2004
1/15/2005 2:18:50 AM
asp.net.getting-started 91979 articles. 4 followers. Follow

0 Replies
653 Views

Similar Articles

[PageSpeed] 56

Reply:

Similar Artilces:

Where to start and how did you get started?
Hi, I have had a feeling for a long time to jump into the adds market for some time due to my low income (shooting for the stars) and I don't have anything better to do these days. But I find it really difficult not to give up due to lack of guides (what I can find atleast) and all the hard words which only makes me confused. But I won't give up. Never. Not sure if this is the right place to post this, but I deffinitly would be really greatfull for help getting started. How did you get started? +If there are any teacher that wanna show me the ropes private, I can give payment with ...

how to get start with .NET
the net help people installed  to my desktop 1-microsoft visual studio .NET enterprise developer 2003 2-microsoft .NET framework 1.1 what else do i need ...???  and how can i try with some simple code in VS.Net and run it to see wat happen...????? please help If you want to develope web applications, then you'll also need IIS on your PC.  That'll require XP-Professional or Windows 2000/2003, but XP-Home edition won't allow IIS installation. As for how to get started, you can search the web for some tutorials or buy a good book on VS.  The topic is way too vast to...

Getting Start With .net
hi i'm intersted to learn asp.net (vb or delphi) . i programming with delphi6 but i'd like to tp know something about programming in internet specially with .net . i hear about microsoft.net with delphi 7 that i can programming with delphi in .net .... is it right ? what 's our opinian about it ? and better to learn Vb.Net or continu with delphi(or delphi.net) thanks. Ali Darabian I think there is some support for Delphi in .Net. However, you will find much more support from the user community if you choose a more popular language such as VB.Net or C#. Since your al...

trying to get started and i am getting this error
when i go to http://www.porkchopsplayground.com, i get: DotNetNuke Upgrade Error The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] ) ERROR: Could not connect to database. Could not find file 'd:\hosting\nmoran26\Providers\DataProviders\AccessDataProvider\DotNetNuke.mdb'. Any suggestions will be appreciated. Thanks, Nicole Do you have a username and password set on your database? Make sure you follow the steps mentionned in the Readme.txt located in the documentation folder. In any case make sure your credentials for yo...

Truely just getting started, so where should I start?
I've already been working a thread on a good reference/learning book.  but truely I'm just getting started.  I've a background with HTML and some CSS But this is my first foray into any sort of application language.  I've had an interest in PHP and ASP but have only recently started to make the effort to learn.  I'm starting with the videos available here and they are great for learning the development application but I've not the programming background to easily absorb some of the more programming based processes.  I've no college resources where I'm at other than o...

getting started in VS2005 C# which book should I get
Hello, I am getting started with VS2005, I have use VS2003 but not very much -(I did 4 small applications in it),  I am wondering which book you would recommend to learn the new features of VS2005, while learning more of C# programing in general There some links to good books in this thread i posted : http://forums.asp.net/thread/1489422.aspx Also these two make good reference material  Professional Visual Studio 2005 (Programmer to Programmer)   Microsoft Visual Studio 2005 Unleashed  So far I recommend Wrox's C# 2005  Read the beginning chap...

get rid of that ridiculous getting started bookmark
Name: DOCTOR Product: Firefox Summary: get rid of that ridiculous getting started bookmark Comments: Browser Details: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

Getting started with JScript.NET
I'm a Javascript and Actionscript developer, and the thought of being able to do server-sides in something I know was too good to resist. Does anyone know some good tutorials for developing ASP.NET pages in JScript?  I can find lots of console code, but simple things are hard: like I can't even figure out how to print something out to the web page (just a string). What I'm really trying to do is access a database, verify a login, and print JSON out to the response.  What should I do to start?  Is there a better way to do this? (IE: using some JSON library already?). I'm commun...

Getting Started with .net and a few questions
Hello I've done some asp and php programming along with various other languages in the past and slowing getting my head around .net.I have a small project of creating a Holiday Booking system on our Intranet and just trying to get the first part to work properly will hopefully get me sorted for the whole project. The Intranet is running on .net 2 and I prefer to use the VB code rather than C#. This is connecting to an SQL server.My initial page that I am trying to create is just for an admin user to view which dates in a table have been specified as Bank Holidays and be able to add ...

Getting started .net website
Hi folks,Does anyone here know of a good website to just sit back and read for learning .net? Thanks in advance.Baldeep Right here... Click the Get Started and Learn sections here. Quite a few out there - - this one, has a lot of good videos -  also ASPNet101.com, but then, I might be a little prejudiced David WierMCP/ASPInsiderASPNet101.com - where to look first!Please Vote for ASPNet101 - 'Best Community Resource'!Control Grouper - easily control properties for multiple controls with one control!Calendar Express - The Best HTML Calendar Generator on the web!(P...

How do I get started with AJAX.Net?
Hi All, I'm a seasoned asp.net developer but have not yet ventured into atlas et al.  I prefer books, but will take whatever I can get if it's good and will get me going. Any recommendations? Thx in advance. Jeff try here first http://ajax.asp.net/downloads/default.aspx?tabid=47 then learn from sample and docJames Wu (MIB426).NET is only way to goMCP, MCSE, MCDBA, MCSD, MCAD I find the materials online display features and implementations but are lacking architectural depth, and am seeking more comprehensive resources. By architectural depth, I mean that I cannot watch ...

POST GET GET GET GET... WTH?
Hi, I'm at a loss to explain this... I have an ASPX page that I can't always navigate to. When I developed the app (it's Starter Kit Portal-based), I did it on my LAN and have had no trouble accessing the page. However, upon deployment, I see the following behavior: 1. POST request goes out looking for MyForm.aspx 2. GET request for MyForm.aspx 3. GET request for MyForm.aspx 4. ... X. GET request Sometimes, the page finally loads. Other times, it just ends up blank. Many times, it doesn't load at ALL the first POST - I just get a "The pa...

Problem Getting Started
In have run the 1317set.bat file and still get the following error: Unable to get your db version please run version script against your db and restart your web application (go to update/scripts/ folder and run 1317set.bat). Any help to get me started would be much appreciated.www.creativenrg.co.uk | www.therivercard.com Have you checked your connection string? This is sometimes caused by a faulty db connection. I am new to Rainbow and get the same error when trying to run it for the first time. Does not matter which of the following I comment out in web.config: <!-...

How can I get conky start automatically when I start fvwm?
How can I get conky start automatically when I start fvwm? I setup the conky under fvwm session for my Opensuse 11 but it won't start automatically. I am wondering how to write some kind of scripts to force it to start automatically and with a delay about 10 seconds after fvwm starts. Thanks a lot. :P -- ggyyree ------------------------------------------------------------------------ Maybe this will help you: 'Conky Hardcore! � ssc.sh' (http://conky.linux-hardcore.com/?page_id=503) -- Coffee is like Linux, only cool people use it. Tea is like W...

Getting started
Hey there, I recently installed openSUSE 11.2, and I'm determined to get it working. After installing I've encountered a host of problems and I've been trying to work through them all so I can start enjoying the OS. For starters, I've been having some problems changing the screen resolution, and configuring the graphics card; but I've posted about those in another section of the forum. Right now I have a couple question but can only remember one. 1) When you log into suse for the first time, there is a beautiful translucent desktop folder on the desktop. ...

Web resources about - Getting started - key issues... - asp.net.getting-started

US sailors held by Iran expected to be released soon
WASHINGTON (AP) — Ten U.S. Navy sailors taken into custody by Iran after their two small boats drifted into Iranian waters were expected to be ...

Christie Brinkley Shares Heartwarming Story Of How She Helped David Bowie And Iman Conceive A Daughter ...
Christie Brinkley shared a sweet post Tuesday on Instagram recounting how she has helped David Bowie and Iman conceive their daughter Alexandria ...

You can now create Skype meetings right from Microsoft Outlook for iOS
Based largely on Acompli , which Microsoft acquired just over a year ago, Microsoft Outlook is a smart email app that works with a variety of ...

John Boyega Says 'Star Wars: Episode VIII' is 'Much Darker'
John Boyega may have to keep mum on the highly-anticipated sequel to Star Wars: The Force Awakens , but he is saying something . In fact, the ...

Suspected suicide blast kills at least 14, injures 20 near Pakistan polio center
Daily Times Suspected suicide blast kills at least 14, injures 20 near Pakistan polio center Reuters KARACHI A suspected suicide bomb blast ...

South Korea Urges China to Back New Sanctions Over North Korea's Nuclear Test
Wall Street Journal South Korea Urges China to Back New Sanctions Over North Korea's Nuclear Test Wall Street Journal SEOUL—South Korean President ...

Sylvester Stallone Apologizes for Not Thanking 'Creed' Team at Golden Globes
Sylvester Stallone and Michael B. Jordan walk the red carpet at the premiere of their movie Creed on Tuesday night (January 12) at Empire Leicester ...

Rams' move to LA not without its challenges
ESPN Rams' move to LA not without its challenges ESPN In April 1995, Rams owner Georgia Frontiere agreed to pay $46 million for the right ...

Google creates virtual reality arm, names key exec to run it: Re/code
(Reuters) - Alphabet Inc's Google has created a virtual reality (VR) computing division and moved Clay Bavor, the executive running its product ...

SpaceX releases new video of Falcon 9 launch and landing
https://youtu.be/ANv5UfZsvZQ SpaceX today published some wonderful new footage of its recent successful Falcon 9 launch and landing.

Resources last updated: 1/13/2016 8:14:30 AM