C# - Generate and Deliver PDF Files On-Demand from a Template Using iTextSharp
Generate Custom PDF documents populated with data on a "just-in-time" basis, and stream to the user as a download, without persisting to memory on the server.
View ArticleSplitting and Merging Pdf Files in C# Using iTextSharp
I recently posted about using PdfBox.net to manipulate Pdf documents in your C# application. This time, I take a quick look at iTextSharp, another library for working with Pdf documents from within the...
View ArticleVisual Studio–Painlessly Renaming Your Project and Solution Directories
The history of people struggling with project and solution renaming in Visual Studio is long. While experienced users generally understand how to do this (or how to figure it out), the first time you...
View ArticleASP.NET MVC: Show Busy Indicator on Form Submit using JQuery and Ajax
Use JQuery to make an Ajax call to a long-running process and throw up a "busy" indicator on your ASP.NET MVC page
View ArticleASP.NET MVC: Show Busy Indicator on Form Submit using JQuery and Ajax
As we all know, users are impatient. We also know that if we don't tell them our application is "doing something" they tend to do silly things like click the mouse repeatedly, seeking some sign that...
View ArticleIs Duck Typing a Type System, or a Way of Thinking?
Ok, so there is what might be my first-ever "link bait" title. Especially dangerous because I am about to jump into a discussion propagated by some well-known, highly-respected developers against whom...
View ArticleASP.NET MVC Display an HTML Table with Checkboxes to Select Row Items
Often we need to create a table for our ASP.NET MVC web application with a checkbox next to each row, in order to allow the user to select one or more items from our list for additional processing....
View ArticleIs Duck Typing a Type System, or a Way of Thinking?
Ok, so there is what might be my first-ever "link bait" title. Especially dangerous because I am about to jump into a discussion propagated by some well-known, highly-respected developers against whom...
View ArticleASP.NET MVC: Add a Select All Checkbox to a Checklist Table Using JQuery
Often, we find we need to present our users with a list of items in a table or list, with checkboxes such that the user can select one or more items from the list for additional processing. Most of the...
View ArticleASP.NET MVC 5 Identity: Extending and Modifying Roles
Extending the basic ASP.NET IdentityRole class, and working directly with roles from an administrative perspective, requires some careful consideration, and no small amount of work-around code-wise.
View ArticleASP.NET MVC 5 Identity: Implementing Group-Based Permissions Management
Adding Group-Based permissions management to your ASP.NET MVC application. For applications of moderate complexity, which require a little more granularity in authorization permissions, but which may...
View ArticleC#: Using Reflection and Custom Attributes to Map Object Properties
I have a general distaste for decorating my code with Attributes and Annotations. Most of the time, I can't help but feel like there must be a better way to accomplish what I am trying to do, and/or...
View ArticleASP.NET MVC: Keep Private Settings Out of Source Control
It is just too easy to accidentally push confidential information up to a publicly hosted source repository such as Github. Also, when managing a project with multiple developers, it can become messy...
View ArticleASP.NET Identity 2.0: Setting Up Account Validation and Two-Factor Authorization
The Identity team has created a terrific sample project/template which can effectively serve as the starting point for just about any ASP.NET MVC project you wish to build out with Identity 2.0...
View ArticleASP.NET MVC and Identity 2.0: Understanding the Basics
Identity 2.0 represents a substantial revision from the original version introduced last year. With the numerous new features, comes some added complexity. If, like myself, you had just recently found...
View ArticleASP.NET MVC and Identity 2.0: Understanding the Basics
The ASP.NET team released the RTM version 2.0 of the new Identity framework. The new release brings with it some long-awaited new features, and marks a substantial expansion of the security and...
View ArticleASP.NET Identity 2.0: Customizing Users and Roles
In this post we will dig in and see what we need to do to extend the basic ApplicationUser and ApplicationRole types by adding some custom properties to each.
View ArticleCreating A Basic Make File for Compiling C Code
I recently began taking a Harvard computer science course. As pretentious as that sounds, it's not as bad as it seems. I am taking Harvard CS50 on-line, for free, in an attempt to push my knowledge and...
View ArticleASP.NET Identity 2.0 Extending Identity Models and Using Integer Keys Instead...
In the course of this article, we will basically re-implement the Identity Samples project with integer keys. you can clone the completed source code from my Github repo. Also, if you find bugs and/or...
View Article| ASP.NET Identity 2.0: Extensible Template Projects
We've spent the last few posts looking at various customizations of the basic Identity Samples project. I decided to take what we've learned so far and create a general, easily extensible template...
View ArticleASP.NET Identity 2.0: Implementing Group-Based Permissions Management
The code we used to implement Group-based permissions under Identity 1.0 breaks in moving to Identity 2.0. Simply too much has changed between the two versions to make a clean, easy upgrade. In this...
View ArticleC#: Building a Useful, Extensible .NET Console Application Template for...
How often do you find yourself tossing together a console application for the purpose of trying out code, "testing" in the sense of seeing what works best, or, possibly, as a means to demo some library...
View ArticleASP.NET Web Api: Unwrapping HTTP Error Results and Model State Dictionaries...
When working with ASP.NET Web Api from a .NET client, one of the more confounding things can be handling the case where errors are returned from the Api. Specifically, unwrapping the various types of...
View ArticleSetting Up for Mono Development in Linux Mint/Ubuntu
In this article, we will look at how to get a proper Mono development environment set up on Ubuntu-based systems, including the most recent (as of this writing) release of MonoDevelop. We will also...
View ArticleASP.NET Web Api and Identity 2.0 - Customizing Identity Models and...
We have previously looked at customizing User and Role models in the context of an ASP.NET MVC application, and how we need to modify the stock MVC project to accommodate these customizations. In this...
View Article