Skip to main content

Posts Tagged ‘’

Optimizely Configured Commerce Best Practices

Building a Real-time ASP.NET Core Web App with SignalR (Part 2)

In the previous article, I promised that I was going to show you how to build a simple chat app from scratch using ASP.NET Core and SignalR. And that’s exactly what we are going to do in this post. So, in case you didn’t read the last article, I invite you to check it out […]

Federated Authentication in Sitecore 9 – Part 1: Overview

Sitecore 9.0 introduced a new and very useful feature to easily add federated authentication to the platform. Authentication has been and still is being performed using the ASP.NET Membership functionality for standard Sitecore users, however, Sitecore has implemented the ability to use the new ASP.NET Identity functionality that is based OWIN-middleware. Here’s a stripped-down look […]

ASP.Net Application Deployment in Docker for Windows

Nowadays, with the development of container technology, Docker for Windows allows us to deploy .net applications in a windows docker container, so that we can reuse the image and container easily. Here, I am going to introduce how to deploy a .net web application with Docker for Windows. You may take this as your guidance […]

Introduction to ASP.NET Core 1.0

Also known as, ASP.NET 5, this introduction will cover some basic topics on the new framework. Microsoft hosted a free all-day training session this week at the MTC and I was able to attend. It was my first in-depth look at all the new features and I was quite surprised by some. The last version […]

Web.config Transformation and XPath to update bindingRedirect

You can use Web.config transformations to update the bindingRedirect element in the web.config of an website.  This is more complex than other xdt transforms because the only identifying information is in a sibling assemblyIdentity element.  For example, the configuration for the default Sitecore System.Web.MVC dependentAssembly element looks like the following: <configuration> <runtime> <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <dependentAssembly> <assemblyIdentity name=”System.Web.Mvc” publicKeyToken=”31bf3856ad364e35″ xmlns=”urn:schemas-microsoft-com:asm.v1″ /> […]

Anglebrackets Conference – Day 4

Keynote – ASP.NET vNext and you Speaker: Scott Hanselman ASP.NET will run anywhere (Mac and Linux). Web server will be included. New free SKU of Visual Studio. Community edition will replace Express. ASP.NET and modern web Totally modular (dependency injection built in) Faster development cycle Seamless transition from on-premises to cloud Choose your editors and […]

Anglebrackets Conference – Day 3

I have been fortunate to attend this year’s Anglebrackets conference in Las Vegas. (See my coverage of Day 1 here and Day 2 here.) The following are my notes from the Day 3 keynote, “Conversations with Microsoft.” The speaker: Steve Guggenheimer, corporate VP and chief evangelist. A lot of changes at Microsoft over last year. New CEO, Satya […]

ASP.NET MVC anti-forgery token demystified – part 2: inside

In the previous installment of this post series I talked about CSRF attack and how to prevent it using ASP.NET MVC built in components. Today I want to dive deeper into the framework code and show you what’s under the hood to anti-forgery token implementation in MVC. Some time ago Microsoft took a huge step […]

ASP.NET MVC anti-forgery token demystified – part 1: what is it?

Securing your web application is now more important than ever because various security attacks are growing in numbers and becoming more sophisticated and frequent. One of the most common types of attacks is Cross Site Request Forgery (CSRF) attack. In this kind of attack malicious web sites are hijacking a previously authenticated user sessions to […]

Goodbye JavaScript, Hello TypeScript!!!!

There are many things developers hate about JavaScript.  You can see this with all of the different ways people are trying to “fix” JavaScript.  Here are a couple of the ways: CoffeeScript is a language which is syntactically similar to JavaScript and attempts to expose the “good parts” of JavaScript Google went ahead and wrote […]

Windows Azure Cache Preview

Caching capabilities have been available in Windows Azure for a while now, at least for use in cloud services. With the latest improvements to Windows Azure caching is now its own service. Now you can use distributed caching with all your Windows Azure applications, whether your application is a Web Sites, VM, Cloud Service or […]

Custom Tiles@1x.jpg

Customizing the model within Sitecore MVC

In Sitecore, the MVC framework provides a “default” model type that does some very necessary work. To support the view, Sitecore’s default model type Sitecore.Mvc.Presentation.RenderingModel provides you access to The “current” item – passed via a datasource or the context item if no datasource is used The PageContext item (which may be different if a […]

Load More