Aug 27

Kentico Cloud Delivery .Net SDK Quick Tip: Synchronous Call

While working on a few different Kentico Cloud based projects, I ran into a situation that was a real head scratcher when working with the Delivery .Net SDK. I had done the research, installed the fabulous Kentico Cloud Boilerplate for ASP.NET, followed the getting started examples to a T, and for the most part everything worked perfectly. However, every once in a while the whole application came to a screeching halt, with a deep level exception being thrown the very first time I ran the project. Hitting refresh always fixed the error, but the whole situation really made no sense to me at first.

I know what you must be thinking, "Well Brian, it's probably just a caching issue if it works on a refresh". Trust me, I wish it was that, but it isn't. Keep reading after the jump to hear the whole story and see how I resolved the issue using an unexpected technique.

Read more »

Sep 26

Generate Realistic Test Data in Kentico

Recently I wanted to play around with some user specific scenarios in my Kentico instance for a presentation that I was working on. To do that I needed a Kentico 9 instance with a lot of various users, user settings, and role associations already setup. After firing up a few instances of Visual Studio and running locally, I realized that I didn't have any good sandboxes to play in. So I bit the bullet, and started down the path of automating the creation of a few hundred users.

I figured that there was no way it would take more than just a few minutes to do this task. It’s just creating a few users in Kentico which is like 4 or 5 lines of code in a for loop, right? As it turns out, there is a good way to do this, and then an even better way to do it using some freely available NuGet packages.

Keep reading after the jump to see some sample code that will make generating realistic test data in Kentico a breeze.

Read more »

Aug 22

My Kentico EMS API Deep Dive Presentation

A few people asked me to provide my presentation from the Kentico User Group webinar that I presented at this past week. I have attached the presentation to this blog post.  I think it went really well considering the amount of people that attended and the feedback that I received from it.

Remember there is a great tip in there for how to use the new Kentico 8.2 MacroRuleInstanceTranslator class to optimize your contact group rebuild time and lead scoring calculation time for when you have a large volume of contacts in your Kentico instance.

The deck is embedded and can be downloaded from this post after the jump. 

Read more »

Aug 02

I'm Presenting at the Next Kentico User Group Webinar

The Kentico User Group (KUG) is intended to satisfy the hunger for knowledge among the Kentico developer / user community. The user community really falls into two audiences; Kentico license end users and Kentico Partners. The KUG offers monthly (or more) webinars that are free to attend and learn from. Like any community, the strength is based on active participation. With that goal in mind, the KUG has been reaching out to experienced Kentico develo;pers looking for content ideas and knowledge sharing opportunites. I was fortunate enough to be asked to participate in one of the webinars. On August 19th, 2015 11:00 AM EST / 10:00 AM CST I will be presenting on the Kentico Online Marketing Solution API. Keep reading to find out which topics I will be covering.

Read more »

May 03

Kentico Rocks Podcast Episode 13

In this episode of Kentico Rocks, Bryan Soltis and I talk about our experience at the recent developer conference, Code PaLOUsa 2015. After that we move on to how to sharpen your Kentico API skills, and we finish with what the future of ASP.NET vNext holds for .Net developers and the Kentico community. You can listen to whole podcast after the jump.

Read more »

Apr 11

A Helpful Kentico Scheduled Task for Team Development

One thing that I have learned over the years is that large web site implementation projects require good team development methodologies. Object versioning in Kentico allows for groups of developers to make sure they don't step on each other's toes. It's actually one of the Kentico best practices for team development that I have spoken on before. There is, however, one little problem that checked-out objects such as page templates or css stylesheets can cause when it comes to deployment time and it has to do with content staging. In this post I am going to show you how to avoid this pitfall and hopefully save your development team some heartache. 

Read more »

May 21

Registering Custom Classes in Kentico 8 Has Never Been Easier

Since the Kentico 8 Upgrade tool dropped, I have been itching to get some time in on upgrading my Kentico blog here at Mcbeev.com. Tonight I was working on viewing the results of the upgraded code and some newer changes in the API when it comes to custom Scheduled Tasks.

Read more »

Dec 26

Convert Existing Documents to Products via Kentico CMS API

A very common request that my team and I receive at BizStream revolves around adding on a new chunk of functionality to a web site. This request can come in the form of social media integration or a customer feedback form, but 9 times out of 10 it has to do with adding e-commerce functionality to an existing site. This type of work is very common for sites that have been around for awhile or previously acted as just a brochure type site.

These sites commonly already had product pages defined, but were only intended to serve out information about each product or service a company offers. As a web site grows, the logical next steps are to add the infamous “Buy Now” button, configure e-commerce store settings, hook up a payment gateway, and start collecting more revenue (hopefully).

The above steps are all easy to do if the site is built with content management system like Kentico, but what if the site has 100, 500, or even 1,000 products that already exist? I sure would not want to create those SKUs by hand. This scenario is a perfect time to use some automation to solve the problem.  Below is an example code snippet that used the Kentico CMS API to accomplish this task.

Read more »

Jul 14

Automatically Post Your Content to Twitter and Facebook using Kentico CMS 7 - Part 3

In part 1 of this mini blog post series we setup a Twitter App that we will connect Kentico CMS to automatically publish content to. In part 2 of the series we walked through doing the same thing but with Facebook. Now as we wrap things up, this post will complete the series by getting down to heart of the new Auto Publishing feature of Kentico CMS 7. So if you have not read the previous two posts in the series please do so now, and then come back for the finale.

Read more »

Jul 14

Automatically Post Your Content to Twitter and Facebook using Kentico CMS 7 - Part 2

In part 1 of this mini blog post series we setup a Twitter App that eventually we will connect Kentico CMS to automatically publish content to. This post will continue the series by showing you how to create the last piece of setup that we need, the Facebook App and the Facebook Page. So if you have not read the introduction post please do so now, and then come right back.

Read more »

 1 2