.NET Development

Anything related to .NET development, including: ASP.NET, VB.NET, Windows Forms Apps, Windows Mobile (.NET Compact Framework)

Carolina Code Camp 2013: Introduction to SharePoint Development

I spoke this weekend at the Carolina Code Camp on the CPCC campus here in Charlotte and my topic was an Intro to SharePoint Development for .NET Developers (those that have no knowledge of SharePoint). It’s a topic that I’ve been talking about often with new and experienced devs alike, who want to know everything from how to set up a development environment to how to start coding and what can SharePoint do. From my experience, a lot of the intro presentations given focus on writing those first lines ......

Adding Intellisense to Visual Studio 2010 for SharePoint 2010 ECMAScript / JavaScript

Several people have already written about how to add Intellisense to Visual Studio for SharePoint 2010’s Client Object Model (ECMAScript or JavaScript). Here’s one that I followed: http://praveenbattula.blogs... Following those instructions, mine still didn’t work. I finally got it to work after removing the <script> tags in my file ......

Integrating Windows Form Click Once Application into SharePoint 2007–Part 4 of 4

(This is a series of posts covering how to include a WinForm app inside a SharePoint 2007 application, which allows users to upload batches of files to a SharePoint document library. For further info, please see Posts One, Two, and Three. All of the code can be downloaded in Post Two.) Just a quick review of our solution, as detailed in the first three posts of this series: a Custom Action adds a menu choice to a document library’s Upload menu, which links to a Windows Form application deployed using ......

Integrating Windows Form Click Once Application into SharePoint 2007–Part 3 of 4

(This is a series of posts covering how to include a WinForm app inside a SharePoint 2007 application. For further info, please see Posts One, Two, and Four. All of the code can be downloaded in Post Two.) As I promised several months ago, I’ll cover the Custom Action piece of our solution. The custom action is used to allow the users to launch our Windows Forms application using Click Once deployment. Our custom action adds a new link to the Action menu of a document library’s toolbar: Adding a ......

Integrating Windows Form Click Once Application into SharePoint 2007 – Part 1 of 4

(This is a series of posts covering how to include a WinForm app inside a SharePoint 2007 application. For further info, please see Posts Two, Three, and Four. All of the code can be downloaded in Post Two.) Last year, I had the opportunity to build a solution that involved integrating a Windows Form application into a SharePoint 2007 (WSS version 3.0). In this post, I’ll layout our architecture thinking and in part two, I’ll describe the technical details. Business Case Our challenge was this: we ......

SharePoint 2007: The template you have chosen is invalid or cannot be found

I ran into an error at work recently when I went to deploy my new SharePoint site, which was a site definition inside a SharePoint solution file. I was deploying the site to our build server. I added the WSP to the farm, deployed it to the web app, and then went to create the new site based on my template. However, I got an error almost immediately, after clicking create. The error was “The template you have chosen is invalid or cannot be found”. I check to make sure that the solution had been deployed ......

Microsoft Certifications – how to prep? and why?

I often get asked by my colleagues, “how do you prepare for Microsoft exams?” Well, the answer for me is a little complicated, so I thought I’d write up here what I do. The first thing I do is go to Microsoft’s website to find the exam that I need to take. If you’re looking to get a particular certification, then their site lists the exam or exams that you’ll need to pass. If you’ve already taken an exam, you can log onto the MCP website and use their certification planner. This little tool tells ......

Windows 7 Virtual PC - “RPC server unavailable”

I use Windows 7 Virtual PC on my current project and I often bring home the files, so I can work some in the evenings. Since my VHDs are large, I’ll only copy the undo disks, saved state, and virtual machine config files from my external drive. I copy them to a small portable drive and once I get home, I’ll copy them to a large external drive. I’ve done this for over a year, but recently I started getting an error when I tried to start the VPC after the copying was finished. It would open the initial ......

SharePoint 2007: “Failed to extract the cab file in the solution.” when trying to perform addsolution

I ran into an error today, while trying to execute the following: stsadm –o addsolution mySolution.wsp . The error was “Failed to extract the cab file in the solution.” A quick search found blog entries stating that either a file in the WSP contained an illegal character or two files were named the same. I looked through my files and found a couple of graphics files with names containing a parenthesis. Since all of my file names were unique, which ruled out the one suggestion, I decided to try renaming ......

SharePoint Site tab appears when user doesn’t have permission to the site

We have a rather simple WSS portal that has about six sites, shown using the standard navbar (“tabs”) across the top of the page. This navbar is shared among all of the sites. Each subsite has different permissions, mostly giving certain users some level of edit permission on those subsites. Well, one of the sites has some out of the box Content Editor webparts and we wanted to allow a group of users to edit the content using these web parts. They already had contribute permission, so they could ......

Full .NET Development Archive

Twitter