On the road again...
The life of a .NET commuter.
-
app_offline.htm
This is probably old news, but if you temporarily need to take an ASP.Net Application offline, simply drop a file called app_offline.htm into the root directory of the app. This could be helpful when upgrading a live app. That way, you don't get the ugly app errors that often crop up. Like I said, old news to most of you, but still a helpful reminder.
-
Render the contents of a ReportViewer control directly to PDF.
Rendering the output of a ReportViewer control (SQL Reporting Services) directly to PDF is fairly easy. It involves simply rendering the Report Viewer output to a byte array, and then pushing it to a MemoryStream object and writing to the Output Stream. Code below:
-
IISRESET on Remote Machine
I posted this on my GeeksWithBlogs blog a while ago (3 years)... I've gotten a few questions about it recently, so I figured I'd post it here and see if it's helpful.
-
Dynamic Code Compliation
My day job is working in the IT department for a school district. It's an environment where I need to automate a bunch of tasks, and the parameters of the tasks frequently change. I currently have the system set up so that it runs the tasks through a VB.Net console app, and it works. But, I have to recompile the app every time it changes. I needed something more flexible.
-
Drag – Drop Interaction with jQuery
A few days ago, I posted about getting started with AJAX, Facebox and jQuery. Well, I've been doing a little more work with it, and wanted to do a quick demo of the Drag and Drop interaction that is possible with jQuery, and a little preview of how to deal with this stuff and AJAX. It's pretty slick.
-
jQuery, Facebox and AJAX
One frustration that I've had for the 4 years that I've been working with AJAX is how messy the front-side code can get. There's lots of JavaScript, and that can get kind of annoying. Plus, there's the design perspective of trying to find the right real-estate to put things in. Where do you have a hidden div pop up and provide space for an update? I've been working on a project for my wife, and I've found a nice way to get around some of that, separate my code a little bit, and clean things up so they aren't so cluttered.