CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 8/24/2005 7:35:49 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
ck555
Asp.Net User
Oracle & Web Parts8/24/2005 7:35:49 PM

0/0

Does anyone know if asp.net 2.0 webparts can be used with databases other than MS SQL?

Thank you,

Chris
helenyan
Asp.Net User
Re: Oracle & Web Parts8/31/2005 8:44:59 PM

0/0

WebPart uses the Personalization framework to store and retrieve personalization data. Out of the box, it will only work with SSE/SQL database through SqlPersonalizationProvider. However, you can extend this to use other types of databases. To do so, you need to implement your own custom personalization provider (inherit from PersonalizationProvider) that override all the abstract functions for saving/loading/querying using your desired database.

In web.config, configure this custom personalization provider to be used:

<webParts>
   <
personalization defaultProvider="CustomProvider">
      <
providers>
         <
add name="CustomProvider" type="ProviderCode.CustomPersonalizationProvider"/>
      </
providers>
   </
personalization>
</
webParts>

Hope that helps.

Helen


This posting is provided "AS IS" with no warranties, and confers no rights.
halley73
Asp.Net User
Re: Oracle & Web Parts9/20/2005 1:45:10 PM

0/0

Hi, excuse for my english.

What's ProviderCode.CustomPersonalizationProvider?

If i must configure an oracle connection what i have to do.

Thank's.

helenyan
Asp.Net User
Re: Oracle & Web Parts9/20/2005 4:17:36 PM

0/0

Sorry about the confusion...

"ProviderCode" should be substituted with the namespace you declared for your provider class.
"CustomPersonalizationProvider" should be substituted with the class name you declared for your custom PersonalizationProvider.

To use an oracle provider, you'd have to implement a custom OraclePersonalizationProvider that inherits from PersonalizationProvider class. Add this in the web.config as an available provider (shown in post above) and then specify it to be used as a default provider through the <personalization defaultProvider="..."> tag.

In the implementation of OraclePersonalizationProvider, you'd need to implement at least all the abstract functions.
- LoadPersonalizationBlobs - for loading data for a particular path and/or user from the db
- SavePersonalizationBlob - for saving data for a particular path and/or user to the db
- ResetPersonalizationBlob - for removing data for a particular path and/or user from the db
- ApplicationName
- FindState - for admin-related query
- GetCountOfState - for admin-related query
- ResetState - for removal of data
- ResetUserState - for removal of data

You would implement each of these functions to connect to the Oracle database and save/load/reset/query the appropriate data from your tables based on the inputs.

Hope that helps.
Helen
This posting is provided "AS IS" with no warranties, and confers no rights.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Oracle Database Programming Using Java and Web Services: Java in the database. 1. Stored procedures as database programming model 2. OracleJVM : under the hood 3. Developing and running Java in the database 4. Pragmatic applications using Java in the database 5. Database scripting using non-Java languages Part II : Java persistence and Java SQL data access 6. Introducing the JDBC technology and Oracle's implementation 7. URL, DataSource, connection and statements 8. SQL data access and manipulation 9. JDBC quality of services and best practices Part III : Oracle database programming with SQLJ. 10. Introducing the SQLJ technology and Oracle's implementationi 11. The SQLJ language and Oracle extensions 12. SQLJ data access and best practices Part IV : Oracle database programming with JPublisher. 13. Abridged Oracle JPublisher Part V : Programming the Oracle database with web services 14. Web services and SOA for DBA, data architects and others 15. Database as web services provider service 16. Database as web services consumer Part VI : Putting everything together. 17. 360-degree programming the Oracle database Authors: Kuassi Mensah, Pages: 1087, Published: 2006
Oracle Application Server 10g Administration Handbook: Administration Handbook Authors: John Garmany, Donald K. Burleson, Pages: 408, Published: 2004
Professional ASP.NET 2.0 Server Control and Component Development Authors: Shahram Khosravi, Pages: 1186, Published: 2006
Oracle Discoverer 10g Handbook: Create, Maintain, and Administer Effective Ad Hoc Queries Authors: Michael Armstrong-Smith, Darlene Armstrong-Smith, Pages: 1027, Published: 2006
Oracle Application Server 10g Web Development: Build and Deploy Web-Based Applications in the Oracle Environment Authors: Chris Ostrowski, Bradley D. Brown, Pages: 747, Published: 2004
Oracle Database 10g Express Edition PHP Web Programming Authors: Michael McLaughlin, Pages: 701, Published: 2006
Beginning SharePoint 2007: Building Team Solutions with MOSS 2007 Authors: Amanda Murphy, Shane Perran, Pages: 552, Published: 2007
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Oracle Essentials: Oracle Database 11g Authors: Rick Greenwald, Robert Stackowiak, Jonathan Stern, Pages: 406, Published: 2007
Essential ASP.Net 2.0 Authors: Fritz Onion, Keith Brown, Pages: 345, Published: 2006

Web:
Web Parts Personalization Provider ... Please check http://www.oracle.com/technology/tech/dotnet/aspnet/index.html Web Parts Personalization provider is part of the ASP. ...
Oracle on the Web Part 1 - Exploring Oracle's HTTP Server Apr 13, 2005 ... Hidden away in the depths of your Oracle installation is a valuable resource you can use to get a jump-start on learning how to combine ...
Use BDC to connect to Oracle Databases. You can use the BDC ... Ok, well next step, we should add the BDC web Parts to connect to Oracle data .... Sql server will act as a parent data webpart and Oracle data will be the ...
Webparts with ORACLE aspnetdb - ASP.NET Forums I need a ORACLE aspnetdb too!!!!! I need to make Membership, Profile, WebParts and etc. with Oracle. Please, give me working provider with ...
Oracle Providers for ASP.NET NET support storing state within the Oracle database. ... Web Events Provider; Web Parts Personalization Provider; Cache Dependency Provider ...
DBAsupport.com : Oracle 9i Central : Oracle on the Web Part 1 ... Oracle on the Web Part 1 - Exploring Oracle's HTTP Server Steve Callan, [email protected]. Hidden away in the depths of your Oracle installation is a ...
ODC Presentation Code - Oracle/DB2 web part - Blog Use this as a code sample rather than being something you can run as to do that you'd need a copy of DB2 and Oracle databases I was using. ...
connect with the oracle database Using the Data View Web Part in ... May 10, 2008 ... i want to create web parts in my site which are not list web parts. by using web parts i want to set connection with oracle database and ...
Oracle & Web Parts - ASP.NET Forums Oracle & Web Parts. Last post 09-20-2005 12:17 PM by helenyan. 3 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Connect a sharepoint list or web part to oracle database ... I have a sharepoint portal 2003 server and an oracle database which contains my organizational data. I want to connect some of my lists and webparts to that ...

Videos:
JAVAWUG BOF XV Part II : "JSF Security" by Duncan Mills, Oracle This is a video capture of the Java Web User Group (JAVAWUG.com) birds-of-a-feather presentation that took place on Friday 3rd February 2006 at the O...
Salesforce.com's Dreamforce 2006 Opening Keynote, Part 5 Laurent Philonenko, VP, Cisco Cisco VP Laurent Philonenko talks about the benefits of linking The Communications Web with The Business Webâ„¢.
God Of War Chapter 4 This is the fourth part of God Of War series. In this part you can see how Kratos comes trough the desert all the way to titan Kronos. Enjoy
An Azuandu attack part 8 Knight is gone, but there is a new villain who will come in part 11,
JAVAWUG BOF 34, AppThena with Richard Gemmell Part 2 Talk Auto-Magic Web Applications - How to Build a Web App. in 1 Minute with AppThena Web applications are now pretty well understood, so why do we s...
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on...
Indigo Fahrenheit E19 In this part Lucas mets with the Oracle and he dont want him to get away this time..after a little time gets his brother Marcus into danger..and agai...
ERDAS Announces Integrated GBS EmploymentCrossing.com ERDAS has announced the release of APOLLO 2009, a Geospatial Business System that eliminates the walls between GIS, photogram...
Author Videos Drive Traffic and Build Buzz http://www.beet.tv/2008/10/warren-buffet-b.html Alice Schroeder's biography "The Snowball: Warren Buffett and the Business of Life," released Septem...
ERDAS Announces Integrated GBS EmploymentCrossing.com ERDAS has announced the release of APOLLO 2009, a Geospatial Business System that eliminates the walls between GIS, photogramm...




Search This Site:










edititemtemplate question-please help

picking dates from calander in master gives me old dates picked in contentpane

globalization issue in pa

deserializing site-config.xml

relative paths for encryption.key

how to develop a provider for a rte ?

container's size is limited to 1000bytes

how do i grant permissions to network service on iis6?

how do you change a profile?

build your expert system with cbc module

don't waste your time: ie web controls doesn't work for 1.1

smtp.send(mail) error after publishing web page

propertygrideditorpart

sitemap and menu control

sitemappath - using a non-default xml in a user control

default membership provider

onmigrateanonymous event raised where?

update on 2.0 beta 2?

compiler 3.5 but framework stills 2.0 after install vs2008

compilation error

2.1.2 help! multiple errors

vsto 2005

password protect a single page

password forgotten

no "admin" pages

problem with treeview expend

pa installation with smart database upgrade handling

vwd & access databases

installresources and errors

dropdownlist with multiple field names

 
All Times Are GMT