AES/CBC/PKCS5Padding Encryption/Decryption in C#

by zebsadiq 1. July 2013 13:33

I’ve recently been asked to write some code to decrypt some data using C# which was originally encrypted in Java. While I managed to get this to work, I had to piece information together from many different sources on the web. Therefore I have decided to simplify the procedure for the next person who comes looking by putting this into one place. More...

Tags: , ,

C# | Security | Encryption/Decryption

My thoughts on TekPub and paid for guidance

by zebsadiq 22. June 2013 15:22

I recently signed up to a 30 day access to TekPub. This is not a free subscription which makes this experience unlike others I have had in the past. I initially discovered it from a Scott Hanselman’s post. I was surprised to learn that TekHub has been around for a while and yet it is only now that has come to my attention. More...

Tags: , ,

Community | Learning | Opinion

Hiding associated html elements when SharePoint field is empty

by zebsadiq 29. January 2013 08:30

This server control will help you hide html elements which shouldn’t display in ‘display mode’ if a certain SharePoint field is empty. This must be a common requirement amongst most SharePoint projects so I’m surprised that I haven’t covered this earlier as its not commonly documented elsewhere. More...

Manipulating site navigation when provisioning a site

by zebsadiq 21. November 2012 07:38

Quite often, a client wants a SharePoint site to be completely setup after deployment. Such was the case on a recent project that I worked on.

I had a custom site configuration inside a custom ONET.xml file. Which defined a set of features to be activated in a particular order. One of these features was designed to manipulate the current web’s navigation settings.More...

Tags: , , ,

C# | SharePoint 2007 | SharePoint Feature

Achieving partial / mixed SSL (http and https) FBA in SharePoint 2010

by zebsadiq 16. January 2012 10:52

It is such a simple and common requirement but it can be a nightmare to achieve out of the box with SharePoint. I spent quite a bit of time working out how a user can be authenticated via https and maintain their login cookie over http pages (without having to sign in again). More...

Updating existing alert subscriptions in SharePoint 2010

by zebsadiq 13. January 2012 11:43

One of the annoyances about SharePoint alerts seems to be that the functionality of an alert template and existing subscriptions on an existing list, seem to be disjointed. When you update an alert template property for an existing list, the change is not applied to any existing alert subscriptions on that list. As a follow up to my previous post SharePoint 2010 custom alert template, I will try to describe the limitations and issues surround existing alert subscriptions and the options available to work around them. More...

SharePoint 2010 custom alert template

by zebsadiq 27. November 2011 18:14

Having gone through the experience of adding a custom alerts template to SharePoint 2010, I thought I’d share my learning during this process. This is the first part of two posts regarding custom alert templates. Updating existing alert subscriptions in SharePoint 2010 describes the challenges around updating existing alert subscriptions. In this post, I hope to cover what you need to know to create a custom alert template. More...

Automatic WCF web service binding via http or https

by zebsadiq 19. May 2011 10:13

I recently needed a way to be able to deploy a web service project to different environments, where each environment was either using http or https to offer the web service to the multiple clients. If you find yourself in the same situation, then this technique might save you a bit of time.

More...

Tags: , , ,

C# | WCF | .net 4 | Asp.net

Objective-C - GNUstep NSData writeToFile error on Windows

by zebsadiq 4. February 2011 11:40

If you’re trying to get going with GNUstep, you follow all of the instructions but you come accross the following message:

File NSData.m:1413 In[NSData writeToFile.options:error:] Open (/home/USER/ProjectFolder/Filenamea12345) failed – The system cannot find the file specified. More...

Tags: ,

Objective-C

The type of namespace 'administration' could not be found

by zebsadiq 3. February 2011 13:16

Issue when you reference Microsoft.SharePoint.dll in Visual Studio 2010. If you’ve already put in the using statements like bellow:

using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;

You issue a build and it fails and you get the following message:
’The type of namespace 'administration' could not be found’

The fix: Change the target framework to .Net Framework 3.5 (Right click the project in visual studio and go to ‘Properties’)

Tags: , ,

C# | SharePoint 2010 | Visual Studio 2010

Calendar

<<  April 2017  >>
MoTuWeThFrSaSu
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar