Tagged articles - C#

Found 175 articles tagged with C#

Reading Umbraco dictionary item in Ajax request
The workaround for getting proper dictionary value in Ajax request
0
You probably had to make some Ajax call in your Umbraco website. This is really easy in versions star6ting from version six and above...read more
Detecting request from mobile device
Take control over what is and what is not mobile device for your web app
0
Microsoft made is easy to detect whether request to your web application is coming from mobile device or not by adding a property to Request class. Usage of this is Request.Browser.IsMobileDevice. This works pretty fine for most of mobile devices, but this property is based on list of mobile browsers which is configured in .NET framework itself. ...read more
Bitmap manipulation extension methods for C#
Helper methods for bitmap manipulation in .NET
 
0
This is a class I used few years back for some image manipulation in C#. Over the years, I was adding more methods and code snippets I needed and some stuff I found on Internet, so it grow to a useful collection of Bitmap manipulation methods...read more
Simple configuration class
Adding configuration without having to restart app pool
0
Very often you need to store some settings in your configuration. Web.config files are designed for that but there are two things I found very annoying: ...read more
Image Cropper Auto Create
Auto generate cropped images after image upload
0
It probably happend you often that you need to add image cropper to a page or custom media type. Right after you upload image cropper property does not generate cropped image file. You would have to save the page/media once againg, so that image cropper is initialized and cropped files are generated. ...read more
Umbraco backend customization - custom buttons
Add you custom buttons to umbraco toolbar and extend CMS
 
0
This article is about extending Umbraco back-end with custom button to which you can attach your custom click handlers and force Umbraco back-end to work according to your needs. ...read more
Easy data visualization with Google Graphs API
Free and easy way to display data on website
 
0
Google graph are really easy to use on website for the main reason that you do not need to maintain code and because it is free for use. Samples and documentation can be found at https://developers.google.com/chart/...read more
Handling ajax request in WebForms
Elegant way to do AJAX in WebForms
 
0
In case you want to add JQuery Ajax calls to your page, you would basically need to add one more page which will be invoked with Ajax call. In order to reduce number of physical pages you can reuse the same page, but make it act differently for normal GET/POST HTTP request and totally different for Ajax GET/POST HTTP request...read more
Detect ajax request in C#
Easier way to detect whether request is an ajax request
0
Sometime you need to determine whether your request is standard GET/POST request or Ajax POST/GET http request. This info is stored in request value isAjax or X-Requested-With. By checking these values of request you can easily determine whether http request is ajax or not. ...read more
Extending Umbraco API with extension methods
Nullreference exception safe property accessing
 
0
Often during writing partial view for page you need to read value from property which is content or media picker. In order to get integer value you need to cast value acquired with GetPropertyValue method which is object type. ...read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more