Browse by Tags

All Tags » SharePoint » Code Access Security (RSS)
In the last few months, I have noticed some new acronyms creep up in the SharePoint community.  What is it?  Well as a developer, it’s stuff you’re probably already doing.  You take a search in your favorite search engine and you won’t...
I had a great time at SharePoint Saturday Kansas City.  @MossLover and @SharePointKevin as well as many others did a great job organizing this event.  I met a bunch of great new people and I got to see some familiar faces again.  I had...
By now, you have heard about how the SharePoint 2010 development experience has been improved.  We can easily deploy web parts and other code without having to manually manipulate any XML files.  What about under partial trust though? ...
UPDATE: Building Web Parts in SharePoint 2010 I've recently helped out a number of developers new to SharePoint and I found that I have been often asked the same types of questions. Most of those involve getting started and deployment, so today, I...
Today, at TechFest, I gave my talk on Implementing Partial Trust in SharePoint and I had a great time. As promised, here are the slides and code samples. If you have any more questions, feel free to leave me a comment.
Since I am talking about Implementing Partial Trust using Code Access Security this week, I thought I would talk about the following error when using a web part that doesn't have code access security set on it. System.Security.SecurityException: Request...
Last year, I posted on how to use Enterprise Library 3.1 with SharePoint under partial trust. It was incredibly difficult to get it to work with SharePoint when using partial trust because none of the DLLs had the AllowPartiallyTrustedCallers attribute...
There are a ton of tools out there to create SharePoint solution packages (.wsp files) for you, but it is still a good idea to know what those tools are creating for you exactly. Sometimes, things don't always work right, and you may need to customize...
Tulsa Tech Fest was a lot of fun last year and I am excited to be speaking at it again this year. This year, I will be giving a talk on Implementing Partial Trust in SharePoint . It should be a good talk in explaining how to create SharePoint solutions...
So by now, I can assume everyone has been listening to me and you are using partial trust in all of your SharePoint environments right? Ok, probably not, but for the two of you in the world that are, this post is for you. If you decide to use LINQ to...
Today's topic is how to resolve the following error. The DataSourceID of 'TopNavigationMenu' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found. Go ahead, search Google for...
Once again, the most seemingly simple task with SharePoint has proved to be incredibly difficult. Continuing with my commitment to post the most information possible about SharePoint oddities, here is today's post. My goal today, I thought was simple...
I had promised an update to my Code Access Security post, so here it is. Hopefully, by now you have stopped being a cowboy and got your DLL out of the GAC and put the trust level back to minimal. If not, it is time. Here is some more info. Not just web...
As a new SharePoint developer, you will be directed to install your first Hello World web part in the GAC. Right now red flags should be going off for any non-noob developer. This allows your code to operate with Full Trust (which is bad). To properly...
In order to properly install a web part with Code Access Security, it is necessary to create a deployment solution. My next post will cover these and the proper way to specify code access security for a web part. In the meantime though, I wanted to post...