.net Articles - Perficient Blogs

Posts Tagged ‘.net’

  • Topics
  • Industries
  • Partners





APS.NET Core Web Application with React-Redux

Introduction React has gone viral among web developers. Compared to other mainstream JS libraries, thanks to JSX and virtual DOM, react has native advantages on DOM control. Redux is a handy way to manage state and React-Redux provides the glue between React and Redux. Going back to ASP.Net core, on VS 2017 Update 3, users […]

Read more

Microsoft AI at a Glance

Artificial intelligence (AI), the ability of a digital computer or computer-controlled robot to perform tasks commonly associated with intelligent beings including learning, language and perception, then help people solve problem better. It has been over several decades since human being research on AI, but the progress is very slow because of many facts, such as lack of data information, low performance […]

Read more

NuGet.org Launches New Site Redesign

NuGet.org, the go-to, repository for .NET developers to find and download packages, has just announced the launch of the site redesign they have been working on. There’s a link from the original site to use the preview site, or you can go directly to it by navigating to preview.nuget.org. According to the release announcement, the […]

Read more

4 Easy Steps to Custom Sections in web.config

In a recent project, I used the web.config file to store some configuration settings that could easily be modified without redeploying code. I used the standard appSettings in <configurations><appSettings><add key=”” value=”” /> .  This works great when you have a specific key name and value. For one specific setting, I needed a little more flexibility.  I created a custom […]

Read more

Getting Access Tokens for both SharePoint and Microsoft Graph

A few days ago, I was working on a project and needed to know if it was possible to access a user’s Exchange Online calendar using the same access token used to access list data in one of their SharePoint Online site collections. The Microsoft documentation is confusing due to the rapid pace of change […]

Read more

Getting Started with Sitecore Cookie-Based Personalization Rules

While working on my current project we ran into a requirement to personalize content based on a cookie that is generated on certain actions within the site. Sitecore out-of-the-box personalization rules do not contain a rule to check for cookies and personalize content based on the existence of a cookie or a value contained within it. […]

Read more

Ins and Outs of async and await

C# 5.0 introduced two new keywords: async and await. These keywords have a very powerful effect that can be used without fully understanding them. This is a double-edged sword. It’s great to have a language feature that doesn’t take much time to implement, but at the same time, if there isn’t at least a basic understanding, […]

Read more

Sitecore Powershell – Update field values

The Powershell module for Sitecore is quickly becoming one of my new favorite Sitecore tools. I’m still learning the Sitecore Powershell ropes and with the help of various blog posts, including the series started by Jon Upchurch, I’m slowly getting better with it. This week a project required an update to certain links that were contained […]

Read more

A Form Routing Gotcha with ‘SitecoreRouteName’

The Problem When utilizing the Html.BeginRouteForm() or Ajax.BeginRouteForm() in a view to render a form tag, it is common to define the route using ‘Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName,’ which returns the path to the current page. So far, pretty easy stuff for setting up a form. In my particular case, I was POSTing an AJAX form and loading a second […]

Read more

Final Rendering Deleted After Item Update

I recently had an issue with the Final Renderings being deleted from my pages after I updated a component in the Experience Editor. After a lot of Googling and working with Sitecore Suppport, we found a solution that resolved the issue for us. This specific resolution was not available in any of the posts that […]

Read more

Sitecore – Hidden Gems

Recently I was working with Sitecore Support to resolve an issue that I was running into with a page. During the process they asked me to generate a package of the item from the \admin page. I’ve been working with Sitecore for a few years and used things like the \admin\showconfig.aspx page. But I’ve never […]

Read more

7 Reasons to Avoid Over-Personalization in Sitecore XP

Before I get started, let me be clear, I am very much of the belief that a personalized customer experience can grow conversion by at least 20% compared to a contextually irrelevant site. Relevancy matters, so please put away your torches and pitchforks and let me clarify. I have started to see a trend where […]

Read more

Sitecore PowerShell Extensions Pt.1: The What and the Wow

I still cannot believe that there are Sitecore developers out there that are still not using Sitecore Powershell Extensions. Since I discovered SPE, it’s saved me what I can only estimate as being hundreds of hours of headaches and hundreds of dollars in therapist bills! Admittedly, there’s a pretty steep learning curve, but the ROI […]

Read more

Sitecore WFFM – View Compilation Error after Upgrade to 8.1

After fixing the controller not found exception following our client’s recent upgrade to Web Forms for Marketers 8.1, all of our forms continued to throw an exception on load: Compilation Error. CS0104: ‘Constants’ is an ambiguous reference between ‘Sitecore.Forms.Mvc.Constants’ and ‘SitecoreDemo.Constants’. Web Forms for Marketers installs several views and editor templates into your Sitecore installation at […]

Read more

Sitecore WFFM – Controller Not Found after Upgrade to 8.1

We recently upgraded one of our clients from Sitecore 8.0 to Sitecore 8.1 and had to upgrade to Web Forms for Marketers 8.1 rev. 160304 as part of the upgrade. After upgrading WFFM, all of our forms started to throw the following exception: The controller for path ‘{{form path}}’ could not be found. The project has a custom Controller Factory that uses […]

Read more

TLS 1.2 and .NET Support: How to Avoid Connection Errors

I recently ran into an interesting issue when developing a connector for a third-party API. When trying to connect to the API endpoint, I received the following error message: “An error occurred while making the HTTP request to https://<API endpoint>. This could be due to the fact that the server certificate is not configured properly […]

Read more

Sitecore MVC – Independent Experience Editor Views

I find that many of the components I develop in Sitecore need custom markup in the Experience Editor that shouldn’t be present on the live site. Although it’s possible to add this custom markup into my components’ views with @if (Sitecore.Context.PageMode.IsExperienceEditor), I prefer to keep branching logic out of my views as much as possible. Fortunately […]

Read more

Coveo for Sitecore 4 Released!

Coveo released version 4 of their Coveo for Sitecore product today and we’re all very excited about this new release. We’ve been very impressed with the Coveo product as it brings enterprise-grade search capabilities to Sitecore as well as provide a bevy of connectors to other platforms. With this new release, Coveo has made a […]

Read more

Sitecore – Null Value Exception When Opening Explore Mode

Sitecore 8 introduced a new Explore Mode option to the Experience Editor that allows content authors to test their digital marketing strategy by simulating visits to their site as different users. One feature that has been particularly useful for me is the ability to simulate different IP addresses to test GeoIP integration in components I’m […]

Read more

GEOIP – Working with it

In my previous post, GEOIP – Getting Started, I mentioned that I would illustrate how to actually use the GeoIP components, and here it is! I’ll start with a personalization example. For this example we have a tab component that will have content specified for different US states. When a visitor comes to the site from Georgia, […]

Read more

Subscribe to the Weekly Blog Digest:

Sign Up