Latest Posts
A project I was working on had a fairly unique storage requirement: I needed a storage medium in which I could query its contents VERY quickly with Contains(), even when the set was relatively large; and when it reached a set size, it should start replacing its oldest values with incoming values – essentially a queue where the oldest values get trimmed once the queue reaches a certain size. Lets take a look at the solution achieved.
As promised at the end of Custom WCF Services in SharePoint 2010 – Part 1 we take a look at another approach to configuring our custom service. This approach also has another benefit that allows us to get around an issue that appears to exist with the Microsoft implementation of the Factories provided in the Microsoft.SharePoint.Client.Services namespace...
It has always been the case with SharePoint that you sometimes need to develop custom ‘services’ to get a particular job done, and this is no exception with 2010. The provided services have continued to expand/improve over the years when compared back to earlier versions of SharePoint, but they are obviously general and not going to perform every function we might require.
Enter custom WCF Services...
I have spent some time binging for solutions to the following issue: You have a product which leverages visual studio setup and deployment packages. You wish to build the MSI as part of your automated build process in Team Build 2010, and you want the built MSI to include transformed configuration files.
I thought I would do a short but sweet blog post about getting web.config transforms (and any other XDT transform) working when automating your project builds with Team Build 2010.
Now there is a fragmented headline! The reason for it is to hopefully guide people searching on this issue to this post, because it took me about a day of flexing my Bing-Fu before I finally came up with the correct search term that directed me to a solution.
Today I did something I should have done a long time ago. I took the steps that everyone (yes, that means you) who has a significant amount of information stored online should do – I researched and then implemented a password manager. This allows us to create strong, unique passwords for each individual portal we sign in to online, from banking to email to the various forums many of us frequent.
This is just a quick post – but one I hope helps many people. It seems every time I return to regex, it is after not using it for 6+ months, and I have to separately look up code examples, find a tool to verify the somewhat dodgy regex I knock up, test it out in code to see if it verifies my input the way I intend it to… sound familiar? If so, your problems have now been solved. Check out http://www.gskinner.com/RegExr/ – a FANTASTIC online regex builder / tester / expression repository, all combined into one neat little interface.
Continuing from Part 4, we look at the creation of a custom action assembly to populate our custom dialog, and apply the selected values...
Continuing from Part 3, we look at providing a user interface to get information from the user and apply that to our structure and definitions...
Continuing on from Part 2, we get into the bulk of the functionality, defining the structure and dealing with IIS...
Continuing on from Part 1, we take a look at applying some general settings, and checking of prerequisites...
So you’ve just finished creating a lovely shiny new web application. As you’re putting on your jacket, you think ‘Ah! I should quickly create an MSI installer…will only take a few minutes’…you sit back down, and remember the latest company directive that stated that Visual Studio Setup projects should not be used anymore…
Given the imminent demise of Visual Studio Setup and Deployment Projects, I’ve started to take a look at using Windows Installer XML (WIX) 3.5 as our installer of choice.
In this initial post, I’d just like to ensure others are not ‘bitten’ by an issue that took up way too much of my time relatively early on during my exploration...
We have recently just finished the final stages of testing our new product version that makes use of .NET 4, Entity Framework 4 (EF4), WCF Data Services (WCF DS), Task Parallel Library, etc. When we switched from testing the MS SQL version to the Oracle version, a few new issues arose that I’ll note in this post...
Binding an entity (business object) to a selector derived control such as a ComboBox is quite a common task in WPF. A quick google would lead you to believe that you either have to implement IEquatable on all your entities so you can bind on SelectedItem, or you have to bind on SelectedValue. Neither if these approaches quite tick all the boxes for us: we want to write minimal code, bind the entity not just the value...
This small post covers an old issue that’s still relevant today: accidentally blocking the main interface thread. In fact, it’s likely to be even more noticeable these days given the excellent job done creating the Parallel library in .NET 4 and the elegant simplicity it provides in its use...
It being a beautiful Sunday morning at the moment, I figured it would be as fine a time as any to compile my thoughts on the solution I have implemented to provide a testable EF4 architecture. Edit: Its not Sunday anymore :(
Until recently we have been using a highly customised version of the RadGridView to achieve a tile view approach in particular scenarios. Although this has worked well, every new release from Telerik seemed to result in ‘breaks’ in our custom code, and time spent correcting.
Given that we now have access to RadTileView in the Telerik WPF library, we were keen to replace our customisations with this Telerik supported control...
Generally speaking, when you write LINQ to Entities the generated queries seem to work on both MS SQL and Oracle. There are some Microsoft published Known Issues and Consideration in LINQ to Entities, but we also found a number of issues that occur when targeting Oracle via the Devart provider that do not affect MS SQL...