473,804 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net and mssql

Hi Group,
I worked with asp.net v1 and mssql2000 about 1.5 year ago. Since then,
surely, the technology has changed significantly.
I am now working on a small project which will pull out data from mssql2005,
do display, checking and updates records in asp.net 2
I am looking for recommended way for data, business and presentation layers.
Back then, the recommended way was
data: write a bunch of store procedure to retrieve, update records
business: create custom object with methods and properties correcsponding to
fields of table in order to update records
presentation: mostly just call the business object from business layer

Question: what is the new recommendation? is there any links on white papers
so that I can catch up with new development

tia

Peter
Apr 12 '07 #1
6 1430
Sounds about right to me. Unless you want to go WCF.

http://msdn2.microsoft.com/en-us/net.../aa663324.aspx

Might be overkill in your case.
Peter

"L.Peter" <pe***@local.lo calwrote in message
news:Ow******** ******@TK2MSFTN GP05.phx.gbl...
Hi Group,
I worked with asp.net v1 and mssql2000 about 1.5 year ago. Since then,
surely, the technology has changed significantly.
I am now working on a small project which will pull out data from
mssql2005,
do display, checking and updates records in asp.net 2
I am looking for recommended way for data, business and presentation
layers.
Back then, the recommended way was
data: write a bunch of store procedure to retrieve, update records
business: create custom object with methods and properties correcsponding
to
fields of table in order to update records
presentation: mostly just call the business object from business layer

Question: what is the new recommendation? is there any links on white
papers
so that I can catch up with new development

tia

Peter


Apr 12 '07 #2
Try this:

6/5/2006
Custom Objects and Tiered Development II // 2.0
http://sholliday.spaces.live.com/blog/

as an example. In the 1.1 version I reference a MS article. I'd read
that
thing 3 or 4 times over.
the one I call from a "birds eye" view or something like that.


"L.Peter" <pe***@local.lo calwrote in message
news:Ow******** ******@TK2MSFTN GP05.phx.gbl...
Hi Group,
I worked with asp.net v1 and mssql2000 about 1.5 year ago. Since then,
surely, the technology has changed significantly.
I am now working on a small project which will pull out data from
mssql2005,
do display, checking and updates records in asp.net 2
I am looking for recommended way for data, business and presentation
layers.
Back then, the recommended way was
data: write a bunch of store procedure to retrieve, update records
business: create custom object with methods and properties correcsponding
to
fields of table in order to update records
presentation: mostly just call the business object from business layer

Question: what is the new recommendation? is there any links on white
papers
so that I can catch up with new development

tia

Peter


Apr 12 '07 #3
SAL
This site may be of some help also:
http://www.asp.net/learn/dataaccess/....aspx?tabid=63

S

"L.Peter" <pe***@local.lo calwrote in message
news:Ow******** ******@TK2MSFTN GP05.phx.gbl...
Hi Group,
I worked with asp.net v1 and mssql2000 about 1.5 year ago. Since then,
surely, the technology has changed significantly.
I am now working on a small project which will pull out data from
mssql2005,
do display, checking and updates records in asp.net 2
I am looking for recommended way for data, business and presentation
layers.
Back then, the recommended way was
data: write a bunch of store procedure to retrieve, update records
business: create custom object with methods and properties correcsponding
to
fields of table in order to update records
presentation: mostly just call the business object from business layer

Question: what is the new recommendation? is there any links on white
papers
so that I can catch up with new development

tia

Peter


Apr 12 '07 #4
On Apr 12, 10:25 am, "L.Peter" <p...@local.loc alwrote:
Hi Group,
I worked with asp.net v1 and mssql2000 about 1.5 year ago. Since then,
surely, the technology has changed significantly.
I am now working on a small project which will pull out data from mssql2005,
do display, checking and updates records in asp.net 2
I am looking for recommended way for data, business and presentation layers.
Back then, the recommended way was
data: write a bunch of store procedure to retrieve, update records
business: create custom object with methods and properties correcsponding to
fields of table in order to update records
presentation: mostly just call the business object from business layer

Question: what is the new recommendation? is there any links on white papers
so that I can catch up with new development

tia

Peter
Sorry to hi-jack your thread a little, but its related, and your
question has peaked my interest in a response.

ASP.NET 2.0 can make data related applications really easy thanks to
the DataSource controls (SqlDataSource, AccessDataContr ols, etc.), and
with a little event code, you can make huge expanses to their default
behaviors. But where does it reach the breaking point where you'd want
to swtich from the simple use of the DataSource controls to a more
"robust" design using something like an MVC architecture with a DAL?

As well, when do you switch from using a SqlDataSource to an
ObjectDataSourc e? The ODS jsut seems like a huge integration problem
to me.

Thanks.

Apr 12 '07 #5
Hi Evan,
There is no breaking point. I just prefer the model. Actually, the
advantages are we can change datasource (be it mssql, oracle or mysql),
consistant business rules and if clients don't like asp.net then we can swap
to console app, windows or web services. But I have to amit for small
project, it may not worth it.
Thanks
Peter

"Evan M." <em************ *@gmail.comwrot e in message
news:11******** **************@ y5g2000hsa.goog legroups.com...
On Apr 12, 10:25 am, "L.Peter" <p...@local.loc alwrote:
>Hi Group,
I worked with asp.net v1 and mssql2000 about 1.5 year ago. Since then,
surely, the technology has changed significantly.
I am now working on a small project which will pull out data from
mssql2005,
do display, checking and updates records in asp.net 2
I am looking for recommended way for data, business and presentation
layers.
Back then, the recommended way was
data: write a bunch of store procedure to retrieve, update records
business: create custom object with methods and properties correcsponding
to
fields of table in order to update records
presentation : mostly just call the business object from business layer

Question: what is the new recommendation? is there any links on white
papers
so that I can catch up with new development

tia

Peter

Sorry to hi-jack your thread a little, but its related, and your
question has peaked my interest in a response.

ASP.NET 2.0 can make data related applications really easy thanks to
the DataSource controls (SqlDataSource, AccessDataContr ols, etc.), and
with a little event code, you can make huge expanses to their default
behaviors. But where does it reach the breaking point where you'd want
to swtich from the simple use of the DataSource controls to a more
"robust" design using something like an MVC architecture with a DAL?

As well, when do you switch from using a SqlDataSource to an
ObjectDataSourc e? The ODS jsut seems like a huge integration problem
to me.

Thanks.

Apr 13 '07 #6
"Evan M." <em************ *@gmail.comwrot e in message
news:11******** **************@ y5g2000hsa.goog legroups.com...
ASP.NET 2.0 can make data related applications really easy thanks to
the DataSource controls (SqlDataSource, AccessDataContr ols, etc.), and
with a little event code, you can make huge expanses to their default
behaviors. But where does it reach the breaking point where you'd want
to swtich from the simple use of the DataSource controls to a more
"robust" design using something like an MVC architecture with a DAL?
If, like me, you never go anywhere near the DataSource controls because you
have a very lightweight DAL which can simply be dropped into any project no
matter what type, then you never need to ask yourself this question... :-)
Apr 13 '07 #7

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

Similar topics

11
4398
by: badz | last post by:
Hi frenz Lately I try to use MSSQL and PHP , the problem arise when PHP try to read MSSQL field with 'image' data type, header("Content-type: image/jpeg"); // act as a jpg file to browser I try to used normal working file that store BLOB as file type in MSSQL ...but still not working. Is it because the image data type in MSSQL can not be recognise by PHP?
7
23879
by: mj | last post by:
Hello, thanks for the help. I am running a WinXP Pro w/ SP2 (my home computer, with ZoneAlarm firewall) Apache 2.0.52 MySQL 4.1.7 PHP 5.1.0-dev I have developed a PHP/MySQL web app that tracks jobs for me, and we
1
2109
by: JackTorrance | last post by:
Hi i have a problem with IIS6 and MSSQL and i hope that someone can help me. this is the configuration: Windows 2003 IIS6 MSSQL 7.0 Standard Edition ADO 2.5
14
2475
by: Kukurydz | last post by:
I've got such problem: My database is stored on MSSQL Server. I have to write reports for it in MSAccess. I've got a problem with creating a query which will select records from MSSQL table with date and time values from given range. The difficulty is mainly caused by the fact, that Date and Time is stored in separate rows as String . I've tried to use CDate() function in my query, but it worked well only during tests on small table (about...
3
4332
by: gharmel | last post by:
I'm trying to get some clues on why I get (much) slower responses from my PHP applications when dealing with a remote sql server as opposed to a local sql server. Here's my situation: Server #1 MSSQL 2000 sp4 Windows 2000 Server PHP4 on IIS5 (CGI)
11
31776
by: ralphie | last post by:
hi all since nearly 2 days i fight with mssql and utf-8 as i need to store and retrieve arabic characters. i tried the com approach http://groups.google.com/group/mailing.www.php-dev/browse_thread/thread/69f90dc978763e99/d61aa0bd48de23f0?lnk=st&q=php+mssql+utf-8&rnum=7#d61aa0bd48de23f0 i tried as well the odbtp library, odbc and obviously the mssql native
0
1518
by: DariuszK | last post by:
I am greeting I would like to consult the better solution(with security consideration) to the access is for MSSQL(2005) from ASP(Classic) in the system of the intranet. a) SQL mixed mode and depositing user name and passwords for MSSQL of the server in "connection string" (with open text) b) Windows Authentication and to send rights to SQL of the server for IUSR_computername c) ?
8
6334
by: php-taz | last post by:
I built a PHP website on Windows 2000 (using IIS) that connects to a SQL Server 2000 database using the mssql functions. I migrated the website and the database onto a Windows 2003 machine, and now the mssql functions are significantly slower. On the Windows 2000 machine, the mssql_connect takes .03 seconds to run, and the odbc_connect takes the same amount of time. On Windows 2003, the mssql_connect takes a full second to run, but...
0
1449
by: Derftics | last post by:
Hi Guys, Is there anyone who have tried installing MSSQL 2000 and MSSQL 2005 servers in one desktop computer? I have tried using MSDE and successfully install the MSSQL 2000 server but when I tried installing MSSQL 2005, it allows only the client tools. I have revert the process and successfully install MSSQL 2005 server but now the MSDE was prompting me an error. Is possible to install both versions of MSSQL servers in one desktop...
14
2934
by: guswebb | last post by:
Hi. I'm a newbie to PHP and am having a few problems as follows... I have installed PHP successfully on server 1 which is running IIS 6 (W2k3) and hosting multiple sites, some of which connect to MSSQL 2k (SP4) on server 2 (using ASP). I can load a basic 'Hellow world' PHP page hosted on server1 but when I add the code to create a simple connection to MSSQL on server 2, my PHP doesn't seem to connect nor output any of the desired query...
0
9714
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10347
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7635
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.