ASP.NET News from Blogger: Software/Technology Discussion   Get the feed of: Software/Technology Discussion

Total News: 60

Efficient way to add a new item to a SharePoint list

Never use SPList.Items.Add because this approach gets all items in the list before adding a new SPListItem.  Use the following method instead, which does not preload the list items: 1: //...

SharePoint Development Best Practices (Summary)

Ive read several blog posts of late regarding best practices for developing SharePoint API based components.  Some developers are aware of issues surrounding disposal of SPSite and SPWeb objects ...

Authentication failed because the remote party has closed the transport stream

If you receiver the error "Authentication failed because the remote party has closed the transport stream" when accessing "Search Settings" in the SSP, the following steps will res...

Recycle IIS App Pool from Script

My colleague, Carlos Fernandez, sent me this CSCRIPT command for recycling the an IIS application pool: %windir%\system32\cscript.exe c:\windows\system32\iisapp.vbs /a "SharePoint - 80" /r ...

Debugging SharePoint, which Process?

When developing 3rd party components for SharePoint you cannot avoid debugging.  Debugging usually involves attaching to a W3WP.EXE process - IIS host for a SharePoint application, from within Vi...

SharePoint Content Structure and Reports Limit

We ran into an interesting issue this week where all reports at the site collection level within "Content Structure and Reports" stopped working.  The log included the following error: ...

Helper Class for Avoiding Memory Leaks with SPSite and SPWeb Objects

Microsoft provides a sophisticated API/Object Model for programmatic access to the SharePoint from .NET custom code.  Invariably, most calls to the object model begin with a call to the SPSite ...

SharePoint InfoPath Submission as Anonymous User

Creation of user submitted forms within web sites typically involves some HTML and JavaScript magic; to post data to a back end business storage or processing system.  ASP.NET relies on form HTTP...

SharePoint Training

Need some SharePoint (MOSS 2007) training?  Want to take advantage of MOSS 2007 development under Visual Studio 2008 and SQL Server 2008?  Never been to Norway? Then check out Sahil Malik's...

Certified Microsoft Office SharePoint Server Developer

It's now official, I am now certified as a MS-TS MOSS Application developer Next hurdle:  MOSS configuration, and then .NET certification.Share this post: Email it! | bookmark it! | digg it! | r...

ALT.NET Geek Code

IOC?:MOC(!):TDD(NU):SCC(Svn):SCC(Cvs--):SCC(Lame):ORM(L2S):ORM(!):XPP(Lame++):XPP(++):DDD(F+):DDD(T+):DDD(!):JSL(Jq):JSL(MS):JSL(!?):CIS(!):GoF(S):GoF(Sn):GoF(M):GoF(C)Share this post: Email it! | boo...

SPSecurityTrimmedControl

This is one of those blog posts that I cannot take credit, but want to keep the information handy for a later time. The SPSecurityTrimmedControl shipped with WSSv3 is a very powerful control. It basi...

SharePoint Identity

SharePoint user identity is sometimes confusing for developers.... When connecting to external resources (like a SQL database via BDC) what user identity does SharePoint use?  How does SharePoin...

SharePoint Custom Content & Structure Report

I came across some really cool functionality in SharePoint 2007 today....  One of my clients has a deep hierarchy of sites and pages maintained in SharePoint - this hierarchy drives content mana...

"Submit" ASP.NET and SharePoint

One of my developers and I ran into an interesting problem today - we'd migrated a web site over to SharePoint 2007 (using a popular content migration tool) and found that all page postback calls in S...

Visual Studio 2008

I finally got around to installing VS2008 RTM today - wow what a marathon!  4 hours after I started, I finally had 2008 installed and working.  I was running into problems installing M...

SharePoint Designer and SharePoint Out of Sync

If you ever find yourself in a situation where SharePoint Designer insists that a master page, page layout, or CSS file is checked out and the same file in the SharePoint Gallery is shown as checked i...

MOSS - Save Publishing Site as Template

Those of you who like to use the "Save Site as a Template" functionality in SharePoint might wonder where the option disappeared to; when the site you have in mind for your template is a Publishing ...

SharePoint Fixes and SP1

I'm sure I'm not the first and I'll not be the last to mention that SharePoint SP1 is now available - think of this post as Rob's own personal reminder.  If you know about thi...

SharePoint 2007 - Lock down your site

Scenario:  You have a public facing web site in SharePoint 2007, and you have added form-based authentication for access to the secure areas of your site. The problem with SharePoint 2007 is that...

SharePoint 2007 Web Services and Forms Authentication

It is probably no secret to most SharePoint developers that Microsoft provides web services to access SharePoint services. Unlike the traditional, object model approach, these web services provide a l...

Windows Server 2003 SP2 Breaks SharePoint 2007!!!

This post really belongs on my rant blog, but since it involves technology I posted it here. I've been working with three of my best SharePoint engineers this week to resolve a strange problem wi...

My Five Minutes of Fame

They say that everyone has at least 5 minutes of fame in their life.... I am pleased to announce an article I wrote, featured on http://blogs.msdn.com/sharepoint/ about a recent project I worked on wi...

Getting Things Done

For those of you who know of David Allen and his seminars on "Getting Things Done fast!" - skip this post.  Those of you that have no idea what I am talking about, or like me, have only ju...

Adding to SharePoint List from a Web Service

I've been racking my brain for the last couple of days trying to figure out how to add a list item to a WSS 3/MOSS 2007 list via the object model from an anonymous web service.  At first I ran in...

ASP.NET Web Services, HTTP GET and POST

Since the beginnings of ASP.NET 1.1, Microsoft disabled HTTP GET and POST actions on .NET Framework based web services (for security reasons).  If you want to enable these protocols, add the foll...

Deploying a WebPart in SharePoint 2007

This is one of those topics, which I frequently look up, and so what better place to put the information than this blog?  Scot Hillier has explicit instructions in his book (Microsoft SharePoint ...

Microsoft Office Developer Interactive Map

Using the power if WPF, check out the interactive map...http://msdn2.microsoft.com/en-us/office/bb497969.aspxCopyright © 2007 Rob Garrett...

Bak 2 Basiks - Design Patterns - The Dispose Pattern

Continuing on with the Design Patterns theme - see my last post in this series here - this post is a favorite of mine, mainly because it is is specific to .NET and also because it causes me ...

Tools of the Trade

Anyone who knows me, or has been reading my blog of late must know that I have had my head buried in my new job. A career change certainly has its rewards, but also involves a learning curve. Since ...

DisableCertChk and WM5

At last! I found the solution to Active-stink complaining about an invalid SSL certificate during server sync (my company uses wildcard certificates - not supported on WM5). Surprisingly (or not), th...

Bak 2 Basiks - Design Patterns - The Strategy Pattern

Design patterns are an ever growing collection of tried and tested best practices for implementing software code.  No matter if your language of choice is C#, Java, C++, or Visual Basic, de...

Dead?

Nope, not yet at least... The good news is that I have landed myself a new SharePoint/MOSS 2007 position recently (started this week), the bad news is; what with finishing up my last position and ac...

.NET Wrapper for COM Elevation

Microsoft has ramped up the security in their latest operating system - Windows Vista, which means that developers now have to pay more attention to certain security constraints imposed by the operati...

Cable Labs Certified Media Center - Requirements

Cable Labs is really putting the screws on OEM users, who like to home-brew their media center PC on the cheap.  To view and record HDTV content on a new Vista MCE PC, the following is a lis...

Adding pages to Community Server

This blog post is a keeper, the following post by Thomas Anderson explains how to add pages to community server.  Check out the new advertisments page I added to my site. http://renevo.com/blogs/...

Encrypt/Decrypt Web.config Sections

Encryption of sections in my web.config file is a task I am constantly looking up on the Internet, so I thought I'd blog it here. -- Generic form for encrypting the Web.config file for a particular we...

Windows Media Stream CSModule

I wrote my first Community Server module to display Windows Media Streams inside blog posts (bin and src download attached to this post).  You can do something similar with the YouTube plugin tha...

Failed to open XML parser COM object.

I came across a problem when launching any PPC emulator through Visual Studio's Device Emulator Manager - I'd receive an error of the sort: Failed to open XML parser COM object. After digging around G...

MOSS 2007

Confused by all the different services and component parts offered in Microsoft Office SharePoint Server 2007 (MOSS)?  Ever wondered how Windows SharePoint Services 3.0 (WSS) fits into MOSS?The f...

New SharePoint Community

Buzzed by everything SharePoint?, want to read the latest blurb from users/developers playing with MS Office SharePoint Server 2007 and Windows SharePoint Services 3? Then check out the link below:htt...

Visual Studio Guideline

Thanks to Shawn Farkas for this little gem:http://blogs.msdn.com/shawnfa/archive/2006/07/07/659281.aspx...

Collaborative Application Markup Language (CAML)

Introduction Any developer who has opened the hood of the Windows SharePoint Services 3.0 (WSS 3.0) or Office SharePoint Server 2007 with the aim of customizing a site template has probably encountere...

Web Parts in WSS 3.0

Web Parts have become a hot topic for developers of late. Windows SharePoint Services v2.0 and SharePoint Portal Server offered developers the ability to create specialized pluggable custom component...

Master Pages and Content Pages in WSS 3.0

This short article demonstrates the use of ASP.NET 2.0 master pages and content pages in Windows SharePoint Services v3.0. Since WSS 3.0 uses ASP.NET 2.0 to provide core functionality, it is worth do...

Windows SharePoint Services 3.0 Essentials

WSS 3.0 Microsoft Windows SharePoint Services is a royalty free add-on to Windows Server 2003, and provides business users with multiple web site provisioning, collaboration tools, and document manage...

Hosting Microsoft Live.com Gadgets in your ASP.NET Application

OK, this has to be one of the most asked questions about Microsoft Live.com gadgets (except perhaps the question - "Are Vista Gadgets and Live.com Gadgets the same?") - How to host Microsoft Live.co...

Curiosity killed the Network

Secure Network Technologies Inc is a company responsible for providing many business related security services.  One of those services includes security auditing of participating organizations.&n...

HDTV in Window Media Center Edition

So, I have a computer with Windows XP Media Center Edition 2005 installed, in my living room. This PC has a dual tuner Hauppauge PVR-500 TV card, and a high performance graphics card. I have recentl...

Code Access Security A Primer

Overview This post serves as a primer for software developers interested in learning about Code Access Security (CAS) in .NET. The following information is not exhaustive of the subject matter and co...

View Other bloggers