Working with git can be quite challenging, this blogpost will learn you some tips and tricks to become a git master.
How to distribute Code Analysis rulesets together with Roslyn analysers along projects, and be in control using NuGet packages.
Optimize a build process in a monorepo in Azure DevOps using all new features like Yaml pipelines, Pipeline Artifacts, Cache Beta and Azure's Rest API.
Search for inline styling in Rich Text fields in Sitecore using a Sitecore Powershell Extensions script.
A brief description on how to use the wpp.targets file in a Visual Project to keep your webdeploy packages clean.
A brief description on how to show the number of pageviews by making use of Sitecore analytics
How to solve the error attempted to use an object that has ceased to exist
This blogpost explains the differences between factory, service and providers in AngularJS. Further a comparison is made with direction which to choose.
A brief description on how to run end to end test for AngularJS based applications with Protractor
AngularJS testing with Jasmine, Mocha, QUnit, Chutzpah, NodeJS, Karma, Protractor, Selenium, WebdriverJS, SinonJS, Chai and BlanketJS
How to write AngularJS code that can be minified. This post shows an example together with the MVC bundling and minification feature
There are many different ways to communicate between different Angular controllers in the same app. I will show what's the best way in my opinion for now. Communicate with events. The alternative way is by using a inherited scope.
AngularJS Filter number fixed length. This filter show how you can create a filter to have leading 0 till a certain length has reached.
This post shows how you can extract more information from social logins by reading the claim values from the social networks like Facebook.
Build automatically NuGet packages with a buildserver. Use there for the right versioning technique. It can save you a lot of troubles.
Solving CA0055 Could not Load dll. This error occurs when a dll could not be found or referenced assembly can not be load or found.
Versioning a Web API can be done in several ways. This post will describe four ways to version a Web API. It will compare the strategies.
Unit testing SharePoint code can be very hard. TypeMock Isolator can help you test your code that runs in SharePoint.
Configure a Content Query WebPart to show all draft documents.
Configuring Managed Metadata Navigation for SharePoint 2010 libraries. This blogpost shows in a few simple steps how to setup this kind of navigation.
Browser File Handling is a SharePoint 2010 security feature. It can be done by setting the Browser File Handling. But there's a better way.
Synchronous document conversion with Word Automation Services in SharePoint 2013. This post show what's new in SharePoint 2013.
Word Automation Services Service Application in SharePoint 2010 enables you to convert documents between type. i.e. Conversions from Word 2010 to PDF.
How to add an icon to SharePoint 2010 to represent Adobe PDF documents that are stored in document libraries. See how with the DocIcon.xml
Show related items in SharePoint 2010 with a Content Query WebPart based on Managed Metadata Service. See this post to see how setup this configuration.
How to prevent XSL namespaces from being rendered in HTML result. This can simply be done as shown in this post.
Use Powershell to create a Managed Metadata ServiceApplication. In this post is a sample Powershell script shown to create the SSA.
A detailed explanation to create a custom SharePoint 2010 field with an asset picker. Download here the Visual Studio 2010 solution and solution package.
Use XSLT to remove HTML comments, attributes, nodes and more. I.e. when migrating HTML to new content management system.
See here how I solved the error during Add Solution: failed to extract the cab file in the solution error. This was by incorrect filenames.
This post shows how to use Powershell to list all content types and site columns in a sitecollection of a SharePoint site.
If you need to make a SharePoint site compliant and render pages without nested tables you will need to make use of a control adapter.
Dynamically add a new window icon to a hyperlink with jQuery. See here how this can be done with just a few lines of code.
This post will show you how to provision Site Columns that uses Managed Metadata in SharePoint 2010 with a custom activation feature.
Add custom styles to the SummaryLinkWebPart. This technique can also be applied to the TableOfContents WebPart and the Content Query WebPart
When to call EnsureChildControls. With reverse enginering EnsureChildControls and CreateChildControls methods of the .NET Framework.
Create a custom page that replaces a SharePoint application page. AccessDenied, Confirmation, Error, Login, RequestAccess, Signout, WebDeleted
I wrote web part that uses Repeater control to create some repeating blocks of output. Each of these blocks has Button control in it. When I ran web part under SharePoint I got the following error: Invalid postback or callback argument.
How to unit test code with a fluent interface with TypeMock Isolator
See here how I solved the SQL server detected a logical consistency-based i/o error
While working on a project I needed to create a InfoPath form a nested repeated table that will be filled with data from a SharePoint list.
See how to exclude code from test coverage and code analysis results. This can be done by using several attributes in your code.
Use shortcut key to generate GUID very quickly in Visual Studio.
The search core results web part in SharePoint Enterprise Search is able to show raw xml with a simple piece of xslt. See here how to.
ow to create a ranking profile in FAST for SharePoint 2010. A short description how this can be done. Ranking profiles can be customized.
The layer diagram is a diagram that allows you to describe the 'logical' architecture of your application. Visual Studio 2010 has it all.
List all installed features that are not active features with Powershell. See in this post how this can be done with a small script.
Read here how to properly implement the WCF dispose. Never use the using statement.
Using the SharpZipLib it’s possible to zip and unzip files. This can be a good solution when file size matters. Downloading files that are ziped can save many bandwidth. In this case a object is serialized to XML and put into a ZipOutputStream which belongs to SharpZipLib.
Solving multithread and memory issues with the XMLSerializer by using a singleton pattern and the XMLSerializerFactory.
When having hosted a WCF webservice that is secured by a certificate. Opening the service with a browser al the security stuff is handled by the browser. This situation is different. The caller is a .NET Click-once application, that is hosted near the webservice. This application has to handle the use of the certificate by itself.
NuGet is a package manager that simplifies the process of discovering, installing and using third-parties .NET libraries. It is free to download, open source and you are able to create your own package and submit them. In this post I’ll show how to create your own package and host them yourself.