473,396 Members | 2,013 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,396 software developers and data experts.

First Web app. in .NET

I need to start to work on my first Web apps. in .NET.
It will have classic 3-tier architecture.
1. Back-end - SQL Server
2. Middle tier - ??
3. Browser based interface.
Regular static html pages that will have controls (listboxes,
treeview..) created by client site XSLT.
These pages will use dynamic XMLHTTP calls to get data.
Obviously that will require client script.
What script do I use? Is it Jscript, Jscript.net?

More I am thinking about it more questions I get.

Should ie be 100% asp.net? I mean no client site transformation?
For the middle tier will I create a component (DLL) written in C# and call
it from aspx page?
Or all middle tier code should be in the asp(x) page?

Please help me. I am experienced in web app. development. All I need is a
push into right direction.

Thanks
Nov 18 '05 #1
2 1076
If the req is static HTML pages, there is no need for ASP.NET, but I am not
sure you mean truly static, but rather you mean "no DHTML".

You can get a look at one type of architecture (Paul Sherriff) here:
http://www.microsoft.com/usa/webcasts/ondemand/2391.asp

You will have to download the player, but it is a nice webcast (and FREE to
boot). One thing I do not like in this presentation is the mix of business
and data in one project, as it is not a purist approach, but his theory is
sound. You also have a link to share to show where you got the architecture
from. It is a great starting point for understanding how to build up apps
and even how to separate a single tiered app (all in the ASP.NET project)
into multiple tiers. I would advise watching it, even if you do not adopt
ALL of the practices. There are also older versions of the webcast where
Paul does separate out a bit more, if you do a search on the USA/webcasts
site.

When you do multiple tiers, the middle tier is normally a separate project
(or projects in some cases) that contains the business rules. Business
rules, as a simple explanation, are rules that apply to the particular
business. For example, in our business, customers who order more than
$1,000.00 in a single year get a 5% discount.

You can do XSLT transforms completely on the client, but you will be limited
to IE (and perhaps newer Mozilla (NetScape) builds). You can also do XSLT
transforms in ASP.NET. The code is a bit older, but you can get some idea of
how to stream out HTML from XML/XSLT in .NET by downloading the "real world
samples" (chapters 21-23) from my book site:
http://www.wiley.com/extras/ado_net_xml_asp_net/
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Mark Goldin" <ma********@comcast.net> wrote in message
news:O1**************@TK2MSFTNGP09.phx.gbl...
I need to start to work on my first Web apps. in .NET.
It will have classic 3-tier architecture.
1. Back-end - SQL Server
2. Middle tier - ??
3. Browser based interface.
Regular static html pages that will have controls (listboxes,
treeview..) created by client site XSLT.
These pages will use dynamic XMLHTTP calls to get data.
Obviously that will require client script.
What script do I use? Is it Jscript, Jscript.net?

More I am thinking about it more questions I get.

Should ie be 100% asp.net? I mean no client site transformation?
For the middle tier will I create a component (DLL) written in C# and call
it from aspx page?
Or all middle tier code should be in the asp(x) page?

Please help me. I am experienced in web app. development. All I need is a
push into right direction.

Thanks

Nov 18 '05 #2
>If the req is static HTML pages, there is no need for
ASP.NET, but I am not
sure you mean truly static, but rather you mean "no DHTML".
What I mean by that is I dont want to generate html pages
on the server. I'd like to have staic(predesigned) html
pages with dynamic calls to the server if a user gets or
posts data.no need for ASP.NET Then how will I connect to my Web?
I an ASP model I have a sigle ASp page that serves a
purpose of the connector to external DLLs for an actual
data retrival, processing and so forth.
How will I get my back-end code running without ASP(X)?

Thanks for help.

-----Original Message-----
If the req is static HTML pages, there is no need for ASP.NET, but I am notsure you mean truly static, but rather you mean "no DHTML".
You can get a look at one type of architecture (Paul Sherriff) here:http://www.microsoft.com/usa/webcasts/ondemand/2391.asp

You will have to download the player, but it is a nice webcast (and FREE toboot). One thing I do not like in this presentation is the mix of businessand data in one project, as it is not a purist approach, but his theory issound. You also have a link to share to show where you got the architecturefrom. It is a great starting point for understanding how to build up appsand even how to separate a single tiered app (all in the ASP.NET project)into multiple tiers. I would advise watching it, even if you do not adoptALL of the practices. There are also older versions of the webcast wherePaul does separate out a bit more, if you do a search on the USA/webcastssite.

When you do multiple tiers, the middle tier is normally a separate project(or projects in some cases) that contains the business rules. Businessrules, as a simple explanation, are rules that apply to the particularbusiness. For example, in our business, customers who order more than$1,000.00 in a single year get a 5% discount.

You can do XSLT transforms completely on the client, but you will be limitedto IE (and perhaps newer Mozilla (NetScape) builds). You can also do XSLTtransforms in ASP.NET. The code is a bit older, but you can get some idea ofhow to stream out HTML from XML/XSLT in .NET by downloading the "real worldsamples" (chapters 21-23) from my book site:
http://www.wiley.com/extras/ado_net_xml_asp_net/
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************* ******** *************Think Outside the Box!
************************************************* ******** *************"Mark Goldin" <ma********@comcast.net> wrote in message
news:O1**************@TK2MSFTNGP09.phx.gbl...
I need to start to work on my first Web apps. in .NET.
It will have classic 3-tier architecture.
1. Back-end - SQL Server
2. Middle tier - ??
3. Browser based interface.
Regular static html pages that will have controls (listboxes, treeview..) created by client site XSLT.
These pages will use dynamic XMLHTTP calls to get data. Obviously that will require client script.
What script do I use? Is it Jscript, Jscript.net?

More I am thinking about it more questions I get.

Should ie be 100% asp.net? I mean no client site transformation? For the middle tier will I create a component (DLL) written in C# and call it from aspx page?
Or all middle tier code should be in the asp(x) page?

Please help me. I am experienced in web app. development. All I need is a push into right direction.

Thanks

.

Nov 18 '05 #3

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

Similar topics

24
by: Hung Jung Lu | last post by:
Hi, Does anybody know where this term comes from? "First-class object" means "something passable as an argument in a function call", but I fail to see the connection with "object class" or...
12
by: Alan J. Flavell | last post by:
OK, today's email brought a comment from a reader, pointing out something that I'd long since noticed myself but hadn't done anything about it. On my pages, I've got a first-letter style on...
1
by: Patrick | last post by:
I am trying to get "first-letter" to work inline withing an anchor. Actually I have not been able to get it to work within an <a> tag whether inline, linked, or embedded. Using IE6 service pack 1....
3
by: Chris Tanger | last post by:
I am creating a class that has a method "Write" that I wish to make threadsafe. The method must block calling threads until the task performed in write is complete. Only 1 thread at a time can...
4
by: KJ | last post by:
We use a third party software package for acctg that limits us on field size - as a result, we at times have to enter an item into the app multiple times in order to get all the information. I...
43
by: Roger L. Cauvin | last post by:
Say I have some string that begins with an arbitrary sequence of characters and then alternates repeating the letters 'a' and 'b' any number of times, e.g. "xyz123aaabbaabbbbababbbbaaabb" I'm...
6
by: =?Utf-8?B?UGF1bA==?= | last post by:
HI I have a stored procedure that returns data with a date field in the form of a DateTime type. I need to place data in variables based on days of the week starting with the first thursday of the...
4
by: Milan Krejci | last post by:
int first=15,latest=15; QString typ=NULL; std::map<int,std::string>::iterator i; for(i = SeznamPracovniDoby.begin(); i != SeznamPracovniDoby.end(); i++) { if (typ==NULL) typ=i->second.c_str(); if...
3
by: cs | last post by:
Hi, I'm new to C and would appreciate any feedback on the following program, asplit, which splits a file into 2 new files, putting a certain number of lines in the first file, and all the rest...
3
by: dmalhotr2001 | last post by:
Hi, For string extraction function in vb, if I feed in a paragraph, how do I extract the first sentence of that paragraph. Thanks :D
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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...
0
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,...

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.