help.net

<font size="2"><br />Musing on .Net</font>

  • Kaxaml


    Project description
    Kaxaml is a lightweight XAML editor that gives you a "split view" so you can see both your XAML and your rendered content (kind of like XamlPad but without the gigabyte of SDK).

    Current version
    Version 1.0 is the most current stable release.

  • 10 ASP.NET Performance and Scalability Secrets

    ASP.NET 2.0 has many secrets, when revealed, can give you big performance and scalability boost. For instance, there are secret bottlenecks in Membership and Profile provider which can be solved easily to make authentication and authorization faster. Furthermore, ASP.NET Http pipeline can be tweaked to avoid executing unnecessary code that gets hit on each and every request. Not only that, ASP.NET Worker Process can be pushed to its limit to squeeze out every drop of performance out of it. Page fragment output caching on the browser (not on the server) can save significant amount of download time on repeated visits. On demand UI loading can give your site a fast and smooth feeling. Finally, Content Delivery Networks (CDN) and proper use of HTTP Cache headers can make your website screaming fast when implemented properly. In this article, you will learn these techniques that can give your ASP.NET application a big performance and scalability boost and prepare it to perform well under 10 times to 100 times more traffic.

    In this article Omar al Zabir have shown the following techniques:

    • ASP.NET Pipeline optimization
    • ASP.NET Process configuration optimization
    • Things you must do for ASP.NET before going live
    • Content Delivery Network
    • Caching AJAX calls on browser
    • Making best use of Browser Cache
    • On demand progressive UI loading for fast smooth experience
    • Optimize ASP.NET 2.0 Profile provider
    • How to query ASP.NET 2.0 Membership tables without bringing down the site
    • Prevent Denial of Service (DOS) attack

    The above techniques can be implemented on any ASP.NET website especially those who use ASP.NET 2.0's Membership and Profile provider.

  • [Book Review] Pro LINQ: Language Integrated Query in C# 2008

    Pro LINQ: Language Integrated Query in C# 2008 book coverLINQ is latest interesting tool to come from Microsoft, along with Silverlight, WPF and the Ajax toolkit. One of difficulties about these new technologies is that there is not enough documentation readily available. This book is the first one that has really captured my attention, maybe because it's the first one on the subject. Apress books are always a great buy, however in this instance, I reviewed the eBook version, which I have to say is not the easiest to navigate. I might be a cutting edge developer but I am also an old fashion type of guy, I like the feel and smell of new books! Anyway back to the subject, LINQ. I think we can all say we are newbies on the subject except for those who are familiar with ORM (Object Relation Mapping) technology. LINQ implementation is quite different than the other ORM tools and can be surprising in some ways sometimes for beginners. The author here has taken the broad option of covering LINQ for both beginners and professionals. It something I like a lot because it avoids the need for two books on the same subject, which often can mean you never quite find the right piece of code you are looking for. Kudos to the author who admits that this is his first book; I think he should continue writing. I would have no problem recommending another book by the same author .
    The introduction is a well written exercise, where the writer gets the reader's attention using some clever basic 'hello' messages coded with LINQ before he delves into a deeper understanding of the language. The style is straightforward, taking an honest approach. You won't find any pompous statements in the book saying something like 'I know what I am talking about, I was born with LINQ!', but instead you find a more frank admission that the author has also learned by writing on the subject himself. I am looking forward now to a VB version of the book, because this is the only negative comment I can make. It would have been easy to write the examples in VB and C# in the same book. I can code in both, but I know you have subtle differences. LINQ is not only for database gurus, and I like the fact that in the book the LINQ to SQL has been pushed further down the content list. What is also good is that because the book is well structured you can jump directly to any section. I would have added more diagrams and graphics to the text to lighten what is a heavy read. Another little thing but useful for the beginners would have been to have some explanations on using the LINQ designer class in Visual Studio 2008, which is quite absent as far as I could see.
    Now I do hope that my review will encourage you to buy this book because not only is it the first one on the subject, but because it covers almost everything you need to know on the subject.

  • Multithreaded WPF Progress Dialog

    With this WPF progress dialog, you can display a progress window and invoke a method on a background thread with just a few lines of code. Let’s say, you have a worker method called CountTo100, then all you need to get things running is this:

  • Building a Simple Blog Engine with ASP.NET MVC and LINQ

    Microsoft released the first CTP of ASP.NET 3.5 Extensions and it includes ASP.NET MVC Framework as one of the main extensions for ASP.NET 3.5. In the first part of this article series about building a simple blog engine with ASP.NET MVC and LINQ, Keyvan introduces the MVC pattern, ASP.NET MVC Framework, and the fundamentals of a simple blogging engine.

  • Understanding Single Sign-On in ASP.NET 2.0

    In this article, Masoud Tabatabaei discusses the concept of Cross Application Authentication using ASP.NET authentication model consisting of Membership Providers, web.config configuration, encryption, and decryption of configuration files. At the end of the article he also examines the application of the concept using ASP.NET login controls.

  • A Naming Scheme for Database Tables and Fields

    Database developers have historically used a somewhat cryptic system for naming database tables and fields. Originally a result of the limitations of database management systems (DBMS), these naming schemes - or the lack thereof - have been adopted by convention and tradition. However, as database applications become more complex, with more tables and larger teams of developers, and as developers come and go, it becomes much more important to implement a robust and disciplined naming scheme for database objects. A well-defined naming scheme becomes more important when you adopt object relational mapping (ORM) technologies or automatic code generation.