in

Drowning In Technical Debt

C# | ASP.NET | SharePoint | SQL | Architecture | SOA |

Browse by Tags

  • Top 10 "Why XML Sucks" Articles

    As many of my colleagues know, I am not a really big fan of XML. I think it's bloated. I think it's not needed. I don't think it accomplishes much if anything that couldn't be done before just by sending text delimited in a different way. I'm not sure why if I want to tell someone...
    Posted to roy ashbrook (Weblog) by royashbrook on 07-09-2007
  • Top 10 Articles on Storing XML BLOB data in SQL2005, maybe using compression, sqlclr or encryption =)

    SERIOUSLY too long of an article name, but hey, it covers a large amount of stuff. I basically had some large XML blobs (wordml docs) I needed to store in SQL and I wanted to store them as compressed BLOBs to save space. These are the articles I found most useful at the time when I was working on that...
    Posted to roy ashbrook (Weblog) by royashbrook on 07-08-2007
  • re: XmlDocument-to-Byte-Array - don't forget your usings. =)

    This is in response to this article and is me giving dennis a hard time. =P byte [] XmlToByte(XmlDocument d) { using (StringWriter sw = new StringWriter()) { using (XmlTextWriter xw = new XmlTextWriter(sw)) { d.WriteTo(xw) ; ASCIIEncoding encoding = new ASCIIEncoding() ; return encoding.GetBytes(sw.ToString...
    Posted to roy ashbrook (Weblog) by royashbrook on 06-22-2007
  • SQL 2005 XML Primer

    -- create a mini inventory structure -- let's say it has toys in it declare @x xml set @x = '<items> <item id="1" type="toy"> <name>car</name> <description>toy car</description> <price>10</price> </item> <item id="2"...
    Posted to roy ashbrook (Weblog) by royashbrook on 06-18-2007
  • passing csv to sql is bad mm'kay

    passing csv to a stored proc is bad m'kay. it leaves you open to sql injection attacks and in general isn't the best practice anyway. i'm going to avoid entire code samples just because it's too much typing, but let's take a sample proc and assume you are passing in a varchar(1000) (@csv) comma delimited...
    Posted to roy ashbrook (Weblog) by royashbrook on 03-09-2007
  • IBM's Web Service Definition

    IBM's Definition of Web Service: (A Web Service is a Web Application) Web services are a new breed of Web application. They are self-contained, self-describing, modular applications that can be published, located, and invoked across the Web. Web services perform functions, which can be anything from...
    Posted to Dennis J. Bottjer | MVP ASP.NET (Weblog) by admin on 10-11-2006
  • XmlDocument to Byte[]

    1 2 3 4 5 6 7 8 9 StringWriter sw = new StringWriter(); XmlTextWriter xw = new XmlTextWriter(sw); / / Save Xml Document to Text Writter. doc.WriteTo(xw); System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); // Convert Xml Document To Byte Array. byte [] docAsBytes = encoding.GetBytes...
    Posted to Dennis J. Bottjer | MVP ASP.NET (Weblog) by admin on 10-10-2006
  • RSS Event Logs

    I saw this article on Code Project and thought it was a really cool idea. The author has created a solution for exposing a server's event log via an RSS Feed. As the author mentions it is important to consider security. I really like this concept b/c so much information seems to gets trapped within the...
Page 1 of 1 (8 items)
Community Credit
Powered by Community Server (Commercial Edition), by Telligent Systems