ASP.NET Web API: Knockout JS – Simple example of GET, POST, PUT and DELETE

In this article I will not describe of what the knockout is and etc. because about knockout there are many information in web, for instance here and here Steve Sanderson explaining of how to use this framework in ASP.NET Web API application. The goal of this one is to show pure code and Continue reading “ASP.NET Web API: Knockout JS – Simple example of GET, POST, PUT and DELETE” »

IIS: Redirect from http to https

I have faced a different troubles when was trying to make redirect from http to http url. Sitecore and IIS have a huge capabilities that some of them are a bit conflicting with each other. Indeed, I have tried to get it work and installed URL Rewrite module for IIS, and it worked like charm for the time being until I began sitecore upgrade and switched pipeline mode from “Classic” to “Integrated”, and fun began. Btw. I used this article for settings of redirection. Continue reading “IIS: Redirect from http to https” »

Using Cake Mail service through API by C#

Let’s get started from question what is Cake Mail? Cake Mail is service that gives you ability to manage all subscribers on your site and sending emails to your subscribers. So I want to tell you how we can work with Cake Mail service through their API. But first, I want to pay attention to the fact that exist two resources which provide cake mail services this and thisagree with you, sounds confusing. I won’t be describe difference between first cake mail and second, just tell that service which provided by Cloudtools Rackspace has much more functionality (checked). So, let’s get started, and in this post I’m going  Continue reading “Using Cake Mail service through API by C#” »

Simple C# Console Application for creating databases backups for MS SQL Server

Hi all, a couple of words what is happening here. We have C# console application which makes backups of databases on the MS SQL Server and I just would like to focus on some points. As we can see in the LINQ query, application skips databases such as “master”, “msdb” and so on, in the app.config you can setting up parameters like ms sql server name, login and password. So this is very simple application that can back up all your databases :)
Below you can see source code:

Continue reading “Simple C# Console Application for creating databases backups for MS SQL Server” »