Tab Content
About Me
Blog
About frosty

Basic Information


About frosty
Location:
Charlotte, NC

Signature


Short term planning leads to long term disasters
There are only 10 types of people who know binary code. Those who do and those don't.

Statistics


Total Posts
Total Posts
80
Posts Per Day
0.11
General Information
Last Activity
01-29-2012 12:01 PM
Join Date
02-20-2010
Referrals
4
View frosty's Blog

Recent Entries

Links to architectural materials

by frosty on 10-30-2011 at 10:24 AM
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

Read More

Categories
Patterns , ‎ Design Patterns

How to retrieve a machine name in a Silverlight Application

by frosty on 09-13-2011 at 03:26 PM
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)        
{

Read More

Categories
Silverlight , ‎ .Net , ‎ UI

Converting Properties of an inherited class back into the base property

by frosty on 06-03-2011 at 11:53 AM
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

Read More

Categories
Reflection , ‎ .Net 4.0 , ‎ .Net

WCF UserNameOverTransport using HTTP

by frosty on 03-07-2011 at 11:17 AM
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

Read More

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

Categories
.Net

Entity Framework v2 - First impressions

by frosty on 03-05-2011 at 02:39 PM
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.

Read More

Categories
.Net 4.0 , ‎ Entity Framework , ‎ ORM