----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Suresh[MS MVP] Message 2 in Discussion Hi, 1. ARCHITECTURE ASP .NET WEBPAGES (ON WEB SERVER - IIS) <-- .NET WEB SERVICE COMMUNICATION --> WEB SERVICE (ON WEB SERVER - IIS) <-- .NET REMOTING --> DLL SUPPORTING TRANSACTIONS (ASSEMBLY ON REMOTE MACHINE - GAC) <-- SQL DATA PROVIDER --> SQL SERVER DATABASE 2. For creating records in any of the tables Method 1: Get the records as Dataset till the ASP.NET pages, add the records to Dataset and merge the dataset to a Dataset in DLL as DLL will take care of transactions. Method 2: Get the records as Dataset till the ASP.NET pages using byref, add the records to Dataset as DLL will take care of transactions. Method 3: Pass values to DLL as DLL will execute a stored procedure using the values. You can pass the value to dll (i assume assemblies :) ) which interne call the Stored procedure.here you can manage the transaction inside Stored procedure and return the value to assemblies. Which is better among the 3 of the above methods? 3. How to put Bussiness logic? Method 1: Create a DLL deploy it in the GAC of Remote machine where Database is located. Method 2: Create a DLL deploy it in the Remote machine where Database is located as a COM+ serviced component. If you can make assemblies as public and want to make very easy way then it is better to put in GAC(But in the same time it is not necessary to put in GAC also,you can store in any private folder) If you want more robust and secured one then probably you need to go for COM + ,Where can protect your private data,make transaction,pooling and other .Net advantage of COM+ Which is better among the 2 of the above methods? 4. How to reference a particular version of the DLL from the GAC? Add reference and GAC is totally different story ,A assemblies stored in GAC does not mean that it will come on your add reference dialog.Of course you can add your assemblies in add reference dialog making change in registry , Please have a look at the following URL http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskAddingRemovingReferences.asp From: sreenivas_mr [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 9:47 AM To: BDOTNET Subject: .Net Architecture implementation doubt - Urgent Pls respond ASAP New Message on BDOTNET .Net Architecture implementation doubt - Urgent Pls respond ASAP Reply Reply to Sender Recommend Message 1 in Discussion From: sreenivas_mr Hi All, I am developing a web application and i have the below mentioned doubts. Kindly clarify these so that i can proceed further. 1. ARCHITECTURE ASP .NET WEBPAGES (ON WEB SERVER - IIS) <-- .NET WEB SERVICE COMMUNICATION --> WEB SERVICE (ON WEB SERVER - IIS) <-- .NET REMOTING --> DLL SUPPORTING TRANSACTIONS (ASSEMBLY ON REMOTE MACHINE - GAC) <-- SQL DATA PROVIDER --> SQL SERVER DATABASE 2. For creating records in any of the tables Method 1: Get the records as Dataset till the ASP.NET pages, add the records to Dataset and merge the dataset to a Dataset in DLL as DLL will take care of transactions. Method 2: Get the records as Dataset till the ASP.NET pages using byref, add the records to Dataset as DLL will take care of transactions. Method 3: Pass values to DLL as DLL will execute a stored procedure using the values. Which is better among the 3 of the above methods? 3. How to put Bussiness logic? Method 1: Create a DLL deploy it in the GAC of Remote machine where Database is located. Method 2: Create a DLL deploy it in the Remote machine where Database is located as a COM+ serviced component. Which is better among the 2 of the above methods? 4. How to reference a particular version of the DLL from the GAC? Waiting for positive response. Thanks and Regards, M.R.Sreenivas View other groups in this category. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
