WebLog

Server-side, client-side, code snippets, scripts, automation, best practices, proven approaches, tips & tricks...

Serving embedded resources through WebAPI in Umbraco

Make package deployment easy with single file deployment
0
Recently I've deploying GoogleMap Editor package to Umbraco community. During development I realized that package will have to include script, some html templates, images... I had no problem with that but when it came to actual package build I realized that I will have to deal with bunch of files and even during development, so se some changes which were not dll related I had to restart app by touching web.config. ...read more

Fetching image cropper cropped file path

IPublished content extension for getting crop image file easily
0
ImageCropper datatype was once part of uComponents, but because it is so usefull, it is now included into standard Umbraco instalation. However as much it is useful, I could not find the way to get cropped image file properly with anything that was shipped with Umbraco installation. Therefore I decided to write my own extension and to make life easier while working with ImageCropper in Umbraco. ...read more

Extending WebForms Page class for registering stylesheet include

Extension method which enables registering stylesheet file reference
0
I recently started working on an Umbraco package for GoogleMap manipulation. Since initial version of package is planned only for Umbraco 6 I decided to use WebuserControl for creating a package custom datatype. It means that for one document type I might have multiple control instances on the page. ...read more

JSON error when loading HTML content with AJAX using $.get

Forcing datatype when loading content with AJAX
0
I'm currently working on a package for Umbraco which involves loading of some HTML forms dynamically with AJAX. Biggest part of the package relies on JavaScript, so everything in script has to be perfect in order to make package work properly. Therefore I started development of JavaScript library independetly of the rest of the package logic...read more

JavaScript

read more

Umbraco CMS

read more

.NET

read more

SQL/T-SQL

read more