|
Navigation
Categories
Entries by Month
| October, 2008 (1) |
| September, 2008 (1) |
| July, 2008 (4) |
| June, 2008 (6) |
| May, 2008 (2) |
| March, 2008 (5) |
| December, 2007 (1) |
| October, 2007 (1) |
| September, 2007 (2) |
| May, 2007 (1) |
| April, 2007 (5) |
| October, 2006 (1) |
| July, 2006 (2) |
| June, 2006 (6) |
| January, 2006 (2) |
| December, 2005 (6) |
| November, 2005 (9) |
| October, 2005 (9) |
| September, 2005 (3) |
| August, 2005 (11) |
| July, 2005 (20) |
| June, 2005 (3) |
| May, 2005 (5) |
| April, 2005 (5) |
| March, 2005 (5) |
| February, 2005 (5) |
| January, 2005 (13) |
| December, 2004 (10) |
| November, 2004 (6) |
| October, 2004 (2) |
| September, 2004 (7) |
| August, 2004 (8) |
| July, 2004 (8) |
| June, 2004 (4) |
| May, 2004 (13) |
| April, 2004 (14) |
| March, 2004 (33) |
| February, 2004 (1) |
| May, 2003 (6) |
| April, 2003 (5) |
| March, 2003 (4) |
| February, 2003 (1) |
| January, 2003 (6) |
|
|
|
 Monday, April 05, 2004
I posted a new article to the SharePoint blog:
A description of the code and HTML to replicate Microsoft's Tool Pane user interface. Sample code is included.
 Friday, April 02, 2004
We "launched" the beta site yesterday. The beta group has 25 users, all in the IT department, including the all-important help desk and training department. The "site" is really just one page -- and it contains only what is on the current home page. We don't want to throw new things out yet.
The page has three web parts, plus a fourth in the virtual server gallery. Two more parts are under development and will be added next week. These parts:
Announcements
Yes, I know that announcements are included. We have two years worth of announcements in the current system that don't really fit in the default announcement list. Also, we don't want a different interface for the end users, so we just brought over the existing code.
That code is from the old SQL Server Digital Dashboard. (That is a story for a different day!) The web part is just a DIV tag and a bunch of client-side script. The script uses the MSXML dll's to pull the announcement data from SQL (using SQLXML) and an XSL stylesheet from the legacy web server. The script runs the transformation to the innerHTML property of the DIV.
Long term, we'll migrate this data into a WSS list so that it is included with the search results. I expect that I'll need to keep the existing format, so I'll be using another custom part, or a custom view if possible.
Corporate Links
This is just a WSS list that is populated with specific links to our corporate websites. The end-users can only view this. The fun thing about this part is that I wrote a small .Net console application to populate the list using the WSS Web Services. (That console app will most likely grow to be the conversion program for the announcements.)
Intranet Navigator
This is the part with the custom toolpart. The top-level "units" of the organization are displayed. Click on one and it expands to show the child units. The other top-level items are then hidden. The tool pane allows you to select which down-level items are displayed in the initial view.
Department Roster
This is just a fancy phone list. Each of the department pages has this part to show their members. The part reads an SQL table related to the HR system, so the built-in members part was not used.
Our first feedback meeting is this afternoon. I hope it goes well!
 Wednesday, March 31, 2004
 Tuesday, March 30, 2004
I was looking throughout the SDK help file for these CSS Class Definitions and never did find them!! Of course, now that I've scoured the source of many pages, I find it...
I hurriedly wrote the post last night but did not have time to explain why. My own little cliffhanger!
My part needs to get data from an XML file, both in “regular” mode and in “tool pane” mode. I figured that I could put the file in the ASP.Net application cache and grab it during On_Load(). This seems to be a bit different -- rather than having declared controls that show some data, I have data that defines the controls. This doesn't seem to match up well with the WebPart model.
So, I moved the XML load routine to On_Init(). But, a valuable lesson learned.
 Monday, March 29, 2004
As I'm working thru my WebPart development, I occasionally received an error: Object Reference not set to an instance of an object.
Turns out that the order of events in the WebPart class are slightly different when the tool part is being displayed:
| “Regular“ mode |
“ToolPane“ mode |
| New |
New |
| On Init |
On Init |
| On Load |
CreateChildControls |
| CreateChildControls |
On Load |
|
GetToolParts |
| On PreRender |
On PreRender |
| RenderWebPart |
RenderWebPart |
I posted a new article to my SharepointBlog titled ToolPane Customization. (I practice code re-use all the time -- even in the blog titles!) None of this is really ground-breaking, just some background on what I'm trying to do. I don't know how many parts the series will have, but I hope you'll stick around for the series.
 Friday, March 26, 2004
I've been deep in coding my first web part. It is a rather complicated one, but I need to replicate one of the functions on our existing intranet site. I'll post the details in a later post, because I want to document it carefully.
Any of you WSS developers out there, drop me a note. I know your out there, and I want to find you!!
 Wednesday, March 24, 2004
Alex Chang writes about his experience installing WSS. Of particular interest is the discussion in his comments about included/excluded paths.
Thank you for all your efforts at "personalizing" Microsoft. I certainly appreciate it.
I know that you are working on bringing RSS throughout the company. I would love to see a feed added to the "Columns" page (http://msdn.microsoft.com/vstudio/using/Columns/default.aspx). In my opinion, this is one of the best areas of MSDN online.
The initial stress test went well. I was able to get over 1100 connections to each server. According to the test tool, I generated almost 300 requests per second.
One thing that I don't like about performance numbers is the vast quantity of them! I need to find more time to research the particular items to record to ensure that I am watching the right things. So, while the test was running, I fired up the browser and navigated to the site being tested. I did not notice any difference. WOO HOO!!!!
For those interested, the servers each reported an average of 175 requests executed per second, which exceeds the 300 the clients reported. During the 15 minute test, 266,000 requests were issued with 2400 failed connections. (This is less than 1%, so we will most likely not follow-up until later.)
The performance is deemed acceptable, so now we push forward with a “beta” roll-out starting April 1st. I have a few parts to create, so it's off to the SDK.
 Friday, March 19, 2004
I came across the following post:
From: Tom Rizzo [MSFT] Subject: Free Chapters and samples on SharePoint 2003 Development Newsgroups: microsoft.public.sharepoint.portalserver.development Date: 2003-10-06 22:42:29 PST
I just finished my Exchange and Outlook book (linked below) and the book was too long to include all the SharePoint material I wrote so we made it available for FREE on the mspress website. It's about a 500 page book on WSS and SPS 2003 development including web parts (basic, async, toolpane, toolparts, connections, galleries, etc) and the API (document libraries, lists, etc).
Be sure to download the supplemental chapters and also the sample applications for the book.
Let me know if you have any questions or comments. Enjoy!
Tom
-- Looking for a good book on programming Exchange, Outlook, ADSI and SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp
This posting is provided "AS IS" with no warranties, and confers no rights.
This is terrific stuff!!
I noticed a descrepancy on page F-68. When discussing the HtmlDesignerAttribute, there are a few examples. Look at these two (specifically, the bold part):
[HtmlDesignerAttribute(BrowserBuilderType.Dynamic, "DialogFeatures=center:yes;dialogHeight=11;dialogWidth=12;status=no;" + "resizable=no;unadorned=yes;")]
[HtmlDesignerAttribute(BrowserBuilderType.Dynamic, DialogFeatures="center:yes;dialogHeight=11;dialogWidth=12;" + "status=no;resizable=no;unadorned=yes;")]
The first example has DialogFeatures included in the quoted string, the second does not. I can't get either version to work in a VB project. Can anyone help?
Wayne Hall is asking about using a SharePoint list to track assets in IT.
Personally, I would not want to use the plain interface in SP lists for entering this much information. I would want a rich front-end experience (WinForm, InfoPath).
My preference would be to use an automated discovery tool (Altiris comes to mind) and integrate their back-end into my site.
I'm going to get 8-10 machines to act as drones for the test. They are old, retired desktops, but they can handle running 10 threads, with 10 connections on each thread, for a simulated load of 100 users each. That will definitely stress the system more than the user community.
As part of my setup/experimenting, I used the load balance administration program to stop one of the servers in the web farm. The other server picked up the load after a few seconds. Out of 20,000 socket connections, only 100 failed! I expect that the ratio will be higher in the event of a failure, since the load balancer detection process has some latency. I did a similar "shut down" in the SQL Cluster, and the delay was about 45 seconds. This will certainly impact the users more, but at least the backup machine will handle the load while I fix things.
So far, I'm very encouraged about our hardware. I hope to get more testing done over the weekend.
|
|
Search

Further Reading...
Powered by: newtelligence dasBlog 2.2.8279.16125
The opinions expressed herein are my own personal opinions and do
not represent my employer's view in anyway.
© Copyright 2009, Paul Schaeflein
E-mail
|