background preloader

ASP.NET

Facebook Twitter

MSDN Blogs. With the latest drop of ASP.NET WebHooks we have added a generic JSON WebHook receiver, which can be used to receive WebHooks from services like IFTTT and Zapier.

MSDN Blogs

Both IFTTT and Zapier provide a huge number of integrations in areas such as productivity, automotive, blogging, CRM, commerce, project management, IoT, social, mobile, collaboration, and much more. For a full list, check out IFTTT channels and browse Zapier zaps. A really cool thing about both IFTTT and Zapier is that they enable regular HTTP requests to be output of an integration. That is, you can build integrations that when something happens, a Web request is sent to some specified destination. Here we’ll show how to leverage this to build two simple integrations – one with IFTTT and one with Zapier – and then use ASP.NET WebHooks to receive the result. Configuring Generic WebHook Handler Install the Microsoft.AspNet.WebHooks.Receivers.Generic Nuget package. Integrations using IFTTT’s Maker Channel Trying it Out Have fun! Home · NWebsec/NWebsec Wiki. Elmah - Error Logging Modules and Handlers for ASP.NET.

ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable.

elmah - Error Logging Modules and Handlers for ASP.NET

It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment. Once ELMAH has been dropped into a running web application and configured appropriately, you get the following facilities without changing a single line of your code: Logging of nearly all unhandled exceptions. A web page to remotely view the entire log of recoded exceptions. A web page to remotely view the full details of any one logged exception, including colored stack traces. ELMAH 1.2 Service Pack (SP) 2 now available for download. More Features Log errors to several back-end storages: Supports ASP.NET 1.x, 2.0 and later versions. ELMAH in Action Following is a screenshot of Firefox displaying the error log page as provided by ELMAH: StrathWeb StrathWeb. A free flowing web tech monologue.StrathWeb StrathWeb. A free flowing web tech monologue.

Excel Style Data Filtering in ASP.NET MVC using DataTables.js Plugin. DataTables is a really cool jQuery plugin for adding LOTS of nifty features to data laid out in tabular format. Yes, Today I’ll show how we can use DataTable to do Excel style filtering in an ASP.NET MVC application where we have filter-dropdowns on the footer of each column and filtering data by one column, adjusts the filtering options in other columns. Getting started with DataTables.js Unfortunately DataTables is not available as a Nuget package yet, so we do it the old fashioned way by downloading it from the source site at .

Bundling and Minification The Official Microsoft ASP.NET Site. Bundling and minification are two techniques you can use in ASP.NET 4.5 to improve request load time.

Bundling and Minification The Official Microsoft ASP.NET Site

Bundling and minification improves load time by reducing the number of requests to the server and reducing the size of requested assets (such as CSS and JavaScript.) Most of the current major browsers limit the number of simultaneous connections per each hostname to six. That means that while six requests are being processed, additional requests for assets on a host will be queued by the browser. In the image below, the IE F12 developer tools network tabs shows the timing for assets required by the About view of a sample application. The gray bars show the time the request is queued by the browser waiting on the six connection limit. The preceding image shows the Start event, which gives the time the request was queued because of the browser limit the number of simultaneous connections.

Bundling Minification After minification, the function is reduced to the following: Using a CDN. Aspnet.

Forms

WebAPI. MVC. StrathWeb StrathWeb. A free flowing web tech monologue.StrathWeb StrathWeb. A free flowing web tech monologue.