Home All Groups Group Topic Archive Search About
Author
5 Dec 2006 6:40 PM
Jed
Is there  resource online somewhere that lists WebParts designed for using
the ASP.NET 2.0 SQL Personalization Provider?

In other words, can I use the "Content Editor Web Part" without SharePoint
server? If so where do I find it?

Finally, since the default SqlPersonlizationProvider stores the WebPart
content as a binary blob, has anyone built a search engine for finding
content stored in the blob?

I think I just need to get pointed in the right direction, since I can't
seem to find WebPart information that is not already assuming the use of
SharePoint.

Thanks!

Author
6 Dec 2006 5:40 AM
Steven Cheng[MSFT]
Hello Jedatu,

As for ASP.NET 2.0 Web part personlization service, it provide most
standard web part framework features as the one in sharepoint service. For
example, on ASP.NET 2.0 page, after you configure the webpart provider, you
can use Webpartzone, editorZone, catalogzone, connectionzone....  on the
webpart enabled page. And when using membership service, we can store each
user's customization on a certain web part page in webpart provider's
persistent storage. In addition, you can also develop your own custom
webpart like what you do in sharepoint. Here are some resource and tutorial
in MSDN and ASP.NET official site:

#Personalization with ASP.NET 2.0
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html
/person_fin.asp

#ASP.NET Web Parts Pages 
http://msdn2.microsoft.com/en-us/library/e0s9t4ck.aspx

#Personalizing Using Web Parts
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/webparts/default.aspx

Please feel free to post here if you have anything unclear.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
Author
7 Dec 2006 4:42 PM
Jed
Hi Steven,

Thanks for the reply.  You have been helpful to me before and I would say
you are surprisingly prolific!

Thanks for the links.  They should be helpful.  Before posting however, I
watched several webcasts on WebParts and read some of the documentation and
some tutorials, but I am looking for something a little different. 

For instance, my specific questions:

1. Can I use the "Content Editor Web Part"?  and where is it? Can I install
SharePoint somewhere and then grab the dlls and put them in the bin directory
of my ASP.NET 2.0 project and then use the Content Editor WebPart?

2. It looks to me like the SqlPersonalizationProvider stores WebPart
attributes in binary format.  It seems like someone designing a WebPart would
have trouble querying that information.  I guess the standard practice is to
only store a Key value and then use that to load and save the bulk of the
WebPart content.

It seems to me like there would be all kinds of WebParts online that people
have written for ASP.NET Personalization--even a website dedicated to the
topic--but I don't see that.  You mentioned that the ASP.NET 2.0 WebPart
Personalization service provides most of the features as the SharePoint
service.  Is there a page that shows a comparison?  Are the SharePoint
WebPart interfaces and abstract classes different, if so how?

Thanks for any incite you have to offer.

Show quoteHide quote
"Steven Cheng[MSFT]" wrote:

> Hello Jedatu,
>
> As for ASP.NET 2.0 Web part personlization service, it provide most
> standard web part framework features as the one in sharepoint service. For
> example, on ASP.NET 2.0 page, after you configure the webpart provider, you
> can use Webpartzone, editorZone, catalogzone, connectionzone....  on the
> webpart enabled page. And when using membership service, we can store each
> user's customization on a certain web part page in webpart provider's
> persistent storage. In addition, you can also develop your own custom
> webpart like what you do in sharepoint. Here are some resource and tutorial
> in MSDN and ASP.NET official site:
>
> #Personalization with ASP.NET 2.0
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html
> /person_fin.asp
>
> #ASP.NET Web Parts Pages 
> http://msdn2.microsoft.com/en-us/library/e0s9t4ck.aspx
>
> #Personalizing Using Web Parts
> http://quickstarts.asp.net/QuickStartv20/aspnet/doc/webparts/default.aspx
>
> Please feel free to post here if you have anything unclear.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>

>
> ==================================================
>
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
> ications.
>

>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx.
>
> ==================================================
>

>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
Author
8 Dec 2006 2:58 AM
Steven Cheng[MSFT]
Hi Jedatu,

Thanks for your reply.

As for the ContentEditor part, it provides a editor interface for user to
customize webpart's html content in editor mode. as far as I know, since
SPS has different underying persistent mechanism of webpart, so they can
not be mixed up directly. However, the web part code logic (just like an
ASP.NET custom control) are identical. So if you have interests, you can
use reflector tool to inspect the built-in SPS content editor part's code
logic and apply it in our ASP.NET custom web part.

In addition, here is a good tech article describing on creating custom
editor parts for ASP.NET:


#writing Custom Editors for WebParts
http://www.codeguru.com/csharp/.net/net_asp/webforms/article.php/c12487__1/


Hope this also helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
Author
8 Dec 2006 6:35 PM
Jed
Thanks Steven,

Yeah. I have seen that article. I guess the bottom line is that there has
not been much developer adoption of WebParts without SharePoint or there
would be more questions here and more online resources.  Again, I am
surprised there aren't more widgets out there for this.

Thanks, again!

Show quoteHide quote
"Steven Cheng[MSFT]" wrote:

> In addition, here is a good tech article describing on creating custom
> editor parts for ASP.NET:
> #writing Custom Editors for WebParts
> http://www.codeguru.com/csharp/.net/net_asp/webforms/article.php/c12487__1/
Author
11 Dec 2006 4:26 AM
Steven Cheng[MSFT]
Thanks for your followup Jedatu,

Yes, currently the ASP.NET 2.0 webpart service mainly provide a framework
for us to add sharepoint like personlization web UI in our ASP.NET
application. However, since it is new released in ASP.NET 2.0, there hasn't
added built-in webpart controls like SPS. However, I'm sure this will be
considered in sequential releases. Also, your and other community members'
feedback is really valuable to us. I'll strongly recommend you post it in
feedback center:


http://connect.microsoft.com/feedback/default.aspx?SiteID=210

BTW, you can also post some questions and requests in Scott Gu's weblog

http://weblogs.asp.net/scottgu/

As always, thanks for your posting and welcome here whenever there is
anything we can help.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.