SharePoint / ASP.Net Development
Experiences from the field...
Navigation
   RSS 2.0
Categories
Entries by Month

# 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?

Friday, March 19, 2004 4:23:49 PM (Central Standard Time, UTC-06:00)  #    Comments [1]  | 

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.

Friday, March 19, 2004 1:38:01 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

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.

Friday, March 19, 2004 9:13:17 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
# Wednesday, March 17, 2004

I just lost a post I wrote about the stress-test tool I'm using!  dasBlog logged the error for me, but the content of the post is gone!

I like using the dasBlog entry form, since it will cross-post to the other blog. But losing data is very bad.

Wednesday, March 17, 2004 11:45:25 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

Another item on the To-Do list is migrating a ColdFusion application from 4.5 to 6.0 (MX). I found information on the DataSource service from Jochem van Dieten.

 

Wednesday, March 17, 2004 10:59:45 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

I uploaded my notes on installing WSS with integrated authentication.  (I'm sorry that I don't have time to pretty them up.)

These notes apply if you want to use integrated windows authentication for the database connection. The setup program will probably get you there, but you'll have application pools all over the place. (I had 6 of them!! Three each for the admin and default sites.)

Wednesday, March 17, 2004 10:48:58 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
# Tuesday, March 16, 2004

MSDN has an article on the Web Part Packaging tool (Wppackager). A developer on my staff took it for a whirl today.

Having an MSI for the web parts will be critical for us. With a server farm, the content must be replicated on all the servers. For standard ASP.Net applications, I can use the Distributed File System service to synchronize folders on multiple servers. (And it works very well!!) But with the web.config entries and web part resources, it will be more complicated for WSS sites.

My first impression (as the guy running the install, not the one creating it) is pretty good. One of the resources was not included (a file that is loaded via a SCRIPT tag), but I don't know whether it's a build problem or an install problem.

Tuesday, March 16, 2004 3:40:31 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

I wrote blogging offline a while back.  This will not be necessary, since dasBlog has the wonderful “mail-to-blog” feature.  I send an email to a specific address and the text of the message is the content of a blog entry.  Outlook already supports offline mode, so I'm all set.

Tuesday, March 16, 2004 12:44:10 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

The next step in our setup is to stress test the web farm/sql cluster. I considered Application Center Test (ACT) that is included in Visual Studio Enterprise, as well as the Web Application Stress tool (WebTool) (WAS Tutorial).

ACT is integrated with Visual Studio .Net. It also has a command-line interface, so you can schedule tests for unattended operation. However, the version bundled with .Net does not allow the test to have multiple client machines. (I couldn't find any other version, however. I assume there is a version included in Application Center 2000, but that's a big load balancing solution that I didn't want to investigate.)

WebTool is an older product, but is still usable. The key part, for me, is that it installs a service on the machine. Each machine that has the service installed can be controlled by any other machine with WebTool installed. In our load-balanced web farm, I need to simulate traffic from different IP ranges. This distributed testing model will do that quite nicely

Tuesday, March 16, 2004 10:04:40 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
This is a test of the mail-to-weblog feature of dasBlog
Tuesday, March 16, 2004 12:01:03 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
# Thursday, March 11, 2004

Over the last few months, I have had difficulty with running FrontPage websites on the same shared host as ASP.Net websites.  I don't understand completely, other that sometimes the .Net sites issue a generic “Error occurred” message. 

Today was the last straw.  Two different sites were unavailable, for no apparent reason.  No explanation from the vendor.  I am moving to SecureWebs. They host the blog of Scott Watermasysk, the creator of the .Text blog engine.

I have received top-notch help from Scott (a different Scott) at SecureWebs. I am excited about the move, which will be complete before the end of the month.

Thursday, March 11, 2004 3:50:04 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
# Wednesday, March 10, 2004

As I mentioned, I am contributing to the community blog at SharePointBlogs.com.  My main blog tool, dasBlog, has a cross-post feature written specifically for this situation.  So, blog entries at the main blog (http://www.schaeflein.net/blog) that are in the SharePoint category will also appear at www.sharepointblogs.com/spdiary.

Wednesday, March 10, 2004 10:16:46 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

I have joined a blog community at http://www.sharepointblogs.com. I am in the process of installing Windows Sharepoint Services (WSS) and will be documenting my progress.

My particular corner is at http://www.sharepointblogs.com/spdiary

Wednesday, March 10, 2004 3:19:59 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
# Tuesday, March 09, 2004

Rob Howard: Extending the ASP.NET Roadshow

I went to the Roadshow here in Chicago in January. The site was changed a few days before since the event outgrew the original location. The new location was a circus tent attached to a restaurant.

To make matters worse, they turned off the heaters when the presentation started. I lasted 15 minutes...

Tuesday, March 09, 2004 2:06:13 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

Kirk Allen Evans:

A Better ExceptionXmlPublisher for the Exception Management Application Block. This snippet incorporates part of a post from microsoft.public.dotnet.framework.  It shows how to allow multiple threads to write to the same file at once, using a mutex to provide concurrency.  This example is integrated with the Exception Management Block to provide a means of logging errors in multi-user applications to XML files.

I use the EMAB as well to log to a file. I need to put this mutex code in my solution -- Thanks Kirk. However, the log file in Kirk's example may not be well-formed. He is appending exceptionInfo.OuterXml to the file each time. My version: ExceptionPublisher.htm

Tuesday, March 09, 2004 1:52:22 PM (Central Standard Time, UTC-06:00)  #    Comments [2]  | 
# Monday, March 08, 2004

I spent some time looking at SmarterTools. It is designed for an ISP to generate reports for their customers. For example, you create "sites" and define where to find the logs for that site. The location can be local, UNC paths or FTP sites. It will then collect the log files and update its internal statistics in the background.

I am very impressed. I won't be using the tool, however. Although I built the websites for a number of organizations, I am not hosting a statistics service for them. If I were, SmarterTools would get serious consideration.

Monday, March 08, 2004 9:13:34 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
# Friday, March 05, 2004

I found a .Net-based program that will generate statistical reports from your webserver log files. SmarterTools is fee for use on your development machine, so it is perfect for in-frequent requests about traffic.  Very nice.

Friday, March 05, 2004 10:01:24 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
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

Send mail to the author(s) E-mail