473,395 Members | 1,532 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,395 software developers and data experts.

2.0 and other

M
Hi,
I'm a .net newbie and I have some question
about it, can someone help me?

I read that Microsoft published a asp.net 2.0 beta1,
but when will be published the first definitive version?

What kind of difference there is from "managed code" and
"unmanaged code" ?

Is possible to write a web form application
database-indipendent (using only SQL instructions...) ?

Thanks

M
Nov 19 '05 #1
3 874
> I read that Microsoft published a asp.net 2.0 beta1,
but when will be published the first definitive version? Around the end of 2005
What kind of difference there is from "managed code" and
"unmanaged code" ? Managed code runs in dotnet framework. Unmanaged code runs outside dotnet
framework.

Is possible to write a web form application
database-indipendent (using only SQL instructions...) ? Yes, why not?
M


Eliyahu
Nov 19 '05 #2
"M@" <mi@spiace.net> wrote in message
news:dn********************@twister1.libero.it...
Is possible to write a web form application
database-indipendent (using only SQL instructions...) ?


Yes, though it will need some careful planning first. Are you intending to
write a web app which will e.g. integrate into a customer's existing
intranet and interface with whatever backend RDBMS that customer has? If so,
I'm doing that very thing at the moment :-)

The way we do it is to have one single web application which provides the
GUI, plus several class libraries which provide the database integration.
Each of these class libraries has exactly the same interface and are,
essentially, a wrapper for the System.Data namespace.

When any of the class libraries is instantiated, a connection string (stored
encrypted in Web.config) is passed to it and then the particular method is
called. E.g. one of the most used functions in the class libraries is called
"FetchDataset(p_strSQL)". As you can imagine, it receives an SQL string (raw
or stored procedure), runs it against the specific RDBMS and returns a
System.Data.Dataset object back to the front-end. Another function is called
RunSQL(p_strSQL) which is used for writes to the underlying RDBMS and
returns an integer representing the number of rows affected by the write.

So far we have completed class libraries for SQL Server, Oracle and mySQL.
The next one will be whatever our next client uses... :-)
Nov 19 '05 #3
Just to be clear, both managed and unmanaged code run as part of the .Net
framework. However, managed code is run inside the CLR (common language
runtime, think java virtual machine) which provides numerous benefits, such
as security (buffer overruns, code access security), garbage collection,
cross language integration, type safety and so on. Unmanaged code doesn't
run inside the CLR and doesn't benefit from the above menitioned god-sends.
As a primary advantage, unmanaged code has the potential of being faster,
but at a tremendous cost which should only be taken when such performance
gains are truely necessary (ie, if the rocket booster doesn't split at this
exact second, people die).

I just found the reference to running in and out of the .net framework
somewhat misleading, as the .Net framework, in my mind, is wider than the
CLR.

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ej**************@TK2MSFTNGP12.phx.gbl...
I read that Microsoft published a asp.net 2.0 beta1,
but when will be published the first definitive version?

Around the end of 2005
What kind of difference there is from "managed code" and
"unmanaged code" ?

Managed code runs in dotnet framework. Unmanaged code runs outside dotnet
framework.

Is possible to write a web form application
database-indipendent (using only SQL instructions...) ?

Yes, why not?
M


Eliyahu

Nov 19 '05 #4

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

Similar topics

3
by: dan glenn | last post by:
(PHP 4.3.4) THIS IS DRIVING ME NUTS! I have a website where I offer members their own bit of webspace to use and am coding a very simple 'filemanager' that allows a user to upload, delete, and...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
0
by: Sarah Akers | last post by:
GgF ----gL5cJ72EqiGIQ0SK65Rz Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html> <head> <style type=3D"text/css">.eyebrow { FONT-WEIGHT: bold; FONT-SIZE: 10px; TE=
8
by: Vanga Sasidhar | last post by:
I have four computers. One computer - Win XP Two computers - Win 98 One computer - Win ME I designed some pages in my computer having Win XP operating system. I installed dot net...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
64
by: yossi.kreinin | last post by:
Hi! There is a system where 0x0 is a valid address, but 0xffffffff isn't. How can null pointers be treated by a compiler (besides the typical "solution" of still using 0x0 for "null")? -...
6
by: Rick | last post by:
Hi, Can anyone explain to me why the below fails to compile - seeing otherA->f(); as a call to a inaccessible function, while otherB->f(); is ok? It seems you can happily access protected...
13
by: Kurda Yon | last post by:
Hi, I found one example which defines the addition of two vectors as a method of a class. It looks like that: class Vector: def __add__(self, other): data = for j in range(len(self.data)):...
10
by: dkyadav80 | last post by:
<html> /// here what shoud be java script for: ->when script run then not display all input text field only display selection field. ->when user select other value for institute only this...
3
by: jerrydigital | last post by:
good evening, I am trying to allow my users to enter in text if they don't find their option on my drop down menu. In the code below, I can get a text box to show up when I select 'Other' on the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...
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.