Brian Sherwin's Blog

Moving at the Speed of .Net
posts - 98, comments - 62, trackbacks - 30

My Links

News

Twitter












Tag Cloud

Archives

Links

April 2007 Entries

Generating a PDF from Reporting Services without the Report Viewer
This post is primarily for Steve since he has been bugging me about it. (Forgive the VB, but this is what I did the demos in). Steve doesn't like doing SQLRS, but personally, I'd like to do more of it. I just can't seem to come up with any clients that want to do it. Any way, here is the process of creating the PDF without using the Report Viewer. Create a reference to the Reporting Services Web Services then get a variable reference for it: Dim ws As New SQLRS.ReportingService Dim creds As New System.Net.NetworkCredential...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Sunday, April 29, 2007 10:04 PM | Feedback (20) |

Two ASP.NET Configuration Best Practices
Here are a couple of things that I have read or heard in the past, but I needed them again this last week. Therefore, I thought I'd blog them so I know where to find them next time. 1) Disable the ability to request WSDL definitions from ASP.NET web services. Typically this is done by typing "?wsdl" after the web service (http://…webservice.asmx?ws... You may want to turn this off in a production environment. To do so, add the following to your web.config: <webServices> <protocols> <remove...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, April 26, 2007 6:22 PM | Feedback (1) |

Insert Code Snippet...change of plugins
I had been using the "Insert Paste from Visual Studio" as a plugin for Windows Live Writer. Well, I found out today while changing blog skins that that particular plugin messes with the background styles and whopper-jaws the whole mess. So I went looking for another way to do code in Live Writer. I found this great plugin called "Insert Code Snippet..." It brings up a dialog window and allows me to pick the language for the code formatting. The cool thing about this is that I am not tied to what...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, April 24, 2007 4:04 PM | Feedback (2) |

Outlook Links in OneNote 2007--Very Cool for me
I learned something today about linking Outlook tasks to OneNote. I can't vouch if this works for 2003, but it sure works great for 2007. So anyway, there's a button in the toolbar that looks just like the little flags in Outlook. You can also hotkey these by pressing CTRL+Shift+1 through 5. This automatically creates an Outlook task. If you open up the Task in Outlook, you see a direct link back to the OneNote post. Here's how I am using it. I am sitting in a meeting taking notes on my tablet. A...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Monday, April 23, 2007 11:20 AM | Feedback (0) |

Day of .NET in Ann Arbor
I've slacked off on posting this, and I know that attendees bloggin about an event is a big part of these community events not having to spend big money on advertising. So here it is (and I'm not just attending, I am speaking too): Click the image to find out more
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, April 19, 2007 12:36 PM | Feedback (0) |

XML Web Services and Inheritance
After beating myself over the head a couple of times this week, I finally found a solution to doing what I wanted to in regards to Web Services and Inheritance/Interface serialization issues. Basically what I wanted to do is to create something along the lines of: public abstract class Response { } public class ZipResponse : Response { } public class StateResponse : Response { } Ultimately what I wanted to do was get a single webservice definition that looked like this: [WebMethod] public Response...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, April 17, 2007 4:13 PM | Feedback (2) |

Powered by: