This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****** Script for SelectTopNRows command from SSMS ******/ | |
begin tran | |
declare @start bigint, @end bigint | |
--STUFF ([xml], | |
SELECT | |
@start = PATINDEX('%calendarLink"%', [xml]), | |
@end = PATINDEX('%}%', Substring([xml], PATINDEX('%calendarLink%', [xml]), datalength([xml]))) | |
FROM [cmsContentXml] where nodeId = 1098 | |
select substring([xml], @start + 14, @end) from cmsContentXml where nodeid = 1098 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Tribune | |
{ | |
public abstract class Tribune |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using Ks.Sf.Modules.Dynamic; | |
using Telerik.Sitefinity; | |
using Telerik.Sitefinity.Data.Events; | |
using Telerik.Sitefinity.DynamicModules; | |
using Telerik.Sitefinity.DynamicModules.Events; | |
using Telerik.Sitefinity.DynamicModules.Model; | |
using Telerik.Sitefinity.GenericContent.Model; | |
using Telerik.Sitefinity.Model; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model Ks.Sf.Web.Model.OpaHeaderController.OpaHeaderView | |
@using Telerik.Sitefinity.Services; | |
@using Telerik.Sitefinity.Modules.Pages; | |
@using Telerik.Sitefinity.Frontend.Mvc.Helpers; | |
@using Ks.Sf.Web.Mvc.Controllers; | |
@using ServiceStack | |
@using Telerik.Sitefinity.Frontend.Navigation.Mvc.Models | |
@{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Reflection; | |
using System.Runtime.InteropServices; | |
using System.Web; | |
using Ks.Sf.Web.Bootstrap; | |
using Telerik.Sitefinity.Frontend.Mvc.Infrastructure.Controllers.Attributes; | |
[assembly: ControllerContainer] | |
// General Information about an assembly is controlled through the following | |
// set of attributes. Change these attribute values to modify the information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using Ks.Sf.Web; | |
using Ks.Tessitura; | |
using Telerik.Sitefinity.Model; | |
using Telerik.Sitefinity.Security.Claims; | |
using Telerik.Sitefinity.Security.Data; | |
using Telerik.Sitefinity.Security.Model; | |
namespace SitefinityWebApp.Providers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ActionResult Sync1() | |
{ | |
using (var soapClient = MySoapClient()) | |
{ | |
var task = soapClient.Method1Async().ConfigureAwait(false); | |
ViewBag.Result = task.GetAwaiter().GetResult(); | |
} | |
return View(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Mvc; | |
using Telerik.Sitefinity.Mvc; | |
namespace Ks.Sf.Web.Mvc.Controllers | |
{ | |
[ControllerToolboxItem(Name = "TestDataLoader_MVC", Title = "Test Data Loader", | |
SectionName = "Dashboard", CssClass = "sfListitemsIcn sfMvcIcn")] | |
public class TestDataLoaderController : Controller | |
{ | |
public ViewResult Index() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Data.SqlTypes; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.ServiceModel; | |
using System.ServiceModel.Activation; | |
using Ks.Sf.Config; |
NewerOlder