Recent Blogs Posts

  1. Links to architectural materials

    In this blog, I'm going to try and start recording links to good materials I run across.

    Today in reading Programming Microsoft Asp.Net 4 by Dino Esposito, I ran across this link.

    Big Ball of MUD
    http://www.laputan.org/mud/

    Then introduction alone I think is wonderful if you are in an environment with developers who don't have a clue about architecture and you find yourself constantly debating Design Principles & Patterns with Business Managers/Owners ...
    Categories
    Patterns , ‎ Design Patterns
  2. How to retrieve a machine name in a Silverlight Application

    Silverlight itself does not provide a way to do this. However, since Silverlight is hosted in Asp.Net, we can use InitParams to get the host name.

    First whatever your asp.net landing page is, add a public property called HostName.

    In the Page_Load event, we assign a value to HostName.

    Code:
     
    public string HostName { get; set; }         
     
    protected void Page_Load(object sender, EventArgs e)        
    {
    ...
    Categories
    Silverlight , ‎ .Net , ‎ UI
  3. Converting Properties of an inherited class back into the base property

    Today I had a scenario where we have a class that inherited from a base class. We had a need to use only the base properties. Trying to cast the child class to the base parent didn't work like we needed. The new object was still of a Type of the child.

    Example
    class BaseAuto
    {
    int EngineSize{get; set;}
    int NumberOfDoors{get; set;}
    }

    class truck : BaseAuto
    {
    decimal TowingCapacity{get; set;}
    }

    So I have a Truck ...
    Categories
    Reflection , ‎ .Net 4.0 , ‎ .Net
  4. WCF UserNameOverTransport using HTTP

    Hello, in some cases you want to enable UserName authentication to your WCF services but yet not incur the overhead of HTTPS encryption.

    In .Net 4 this seems as if it would be easy because the Binding Element's, Security element contains an allowInsecureTransport attribute.

    Setting this = false would seem to allow this to work.

    In theory it does, however, there is a problem when you try to generate a proxy from your WSDL.

    You will get the following ...

    Updated 03-07-2011 at 10:20 AM by frosty

    Categories
    .Net
  5. Entity Framework v2 - First impressions

    I'm new to Entity Framwork. V1 wasn't appealing at all to me. Presently I use Linq To Sql as it provides for most of what I need. Mostly databases I work with are created in SQL. I use an ORM that allows me to create strongly typed data objects to reference in code.

    This helps increase efficiency for me tremendously. Also it helps cut out mistakes trying to write T-SQL strings. The most important reason for me is being able to build dynamic predicates on the fly with little effort. ...
    Categories
    .Net 4.0 , ‎ Entity Framework , ‎ ORM
Page 1 of 6 123 ... LastLast