contract

Interface Contract, Class Object?

Is contract to interface as object is to class? What is the need to differentiate identical things like this, from the code to the executing code? I sort of get the idea behind naming a class a class and the instantiated executing class an object, but overall, is that the only reason for these semi-redundant terms? ...

In WCF web programming model, how can one write a operation contract with an array of query string parameters (i.e. with the same name)?

Using WCF Web Programming model one can specify an operation contract like so ... [OperationContract] [WebGet(ResponseFormat = WebMessageFormat.Xml,         UriTemplate = "SomeRequest?qs1={qs1}&qs2={qs2}")] XElement SomeRequest1(string qs1, string qs2); Now if we had to make a contract that acce...

Should an interface that is inherited from base-class be implemented explicitly in subclass?

My question is, if an interface that is implemented implicitly by extending a class that already implements it, should be explicitly implemented by the class, if the class wants to advertise the fact, that it fulfills the contract of that interface. For instance, if you want to write a class, that fulfills the contract of the interface...

Looking for a legal contract template for software project

Where can I get a free legal document template for a contract agreement for a freelance website project I am working on? I live and work in the US. I just need something to start with. Thanks! ...

Duplication of properties in Data contract and BAL

I have a Silverlight Project which passes data using the Data Contract to a WCF service. The WCF method then invokes a BAL class which again has the same properties. Is there any way to avoid this duplication of properties ? Thanks, Chak. ...

Snafu in a developer employment contract? Advice pls

Background: I'm fresh out of school with only solo contract development while I was going to school, so I've never worked as a developer for a company. So I've applied for a position at a company as a (jr) software dev. I had the interview, it went well, references checked out and the company wants to hire me. Yay me! I get the employm...

How to show if a method may return null

After posting this question and reading that one I realized that it is very important to know if a method is supposed to return null, or if this is considered an error condition and an exceptions should be thrown. There also is a nice discussion when to return ‘null’ or throw exception . I'm writing a method and I already know if I want...

MS Robotics Studio: "contract is different from that of the namespace"

I'm trying to build a DSS service using MS Robotics Studio and VS 2008, but when I build, I get an error from dssproxy.exe saying: The class MyServiceName has a ContractAttribute but the contract is different from that of the namespace. and the build fails because dssproxy returns code 10. Does anyone know what this message means...

Does someone have a sample software consulting proposal and/or contract?

In the past, I've always done independent contracting work for people and they pay me via a 1099. Never really a formal contract or proposal, etc... I now have a software consulting company and will be invoicing customers under that name. I'd like to begin doing more formal proposals and contracts based on the work I'm given. I've be...

Web Development Contract

I'm about to develop a website for a company and I need a development contract for me to give them and for us to both sign. Does anyone have any templates that I'd be able to modify for this purpose? Are there any places to look? Of course I'd prefer a free contract, but I'll pay for one if it's worth it. Obviously if anyone suggest ...

Can anyone offer legalese for retaining intellectual property as a programmer?

I was recently talking to one of the guys in charge of the contracts for employees. I kind of lamented about the work-for-hire clause that says anything I create at work, even if completely unrelated to the business, belongs to the business. For instance, if I write a tool that helps me do my job, even if that tool is totally generic, th...

Portable / Interoperable WCF Contracts

I was wondering if anybody out there had some good tips/dos and don'ts for designing WCF contracts with a mind for web-service interoperability, both in terms of older Microsoft web service technologies (e.g. WSE) and non-Microsoft technologies such as Java calling WCF web services. For example: are there any special rules that need t...

In WCF, can data contract classes inherit from one another?

In a WCF service, I have two classes with the [DataContract] attribute. One of these classes has an "is-a" relationship with the other - so class B can inherit from class A. However, when I configure inheritance between these two classes, both denoted with a [DataContract] attribute, the metadata fails to load when testing the services...

Web design contracts

When you get hired by an individual or company, what do you provide as a contract for your services? What if the client isn't paying the full amount until the product is delivered? Are there pre-written contracts available on the internet for freelance web designers to use? Thanks in advance, Brendan ...

Should I sign a non-competition clause in freelance contract?

I'm trying to establish myself as an iPhone freelancer, and are currently negotiating with a startup about a bigger project. They have expressed that they want me to sign a non-competition agreement, so that I wouldn't be allowed to develop a similar product for companies in competition on the same geographical market. Needless to say, I...

Design by Contract library (interface) thoughts?

I am looking at design by contract for a Java library, this what I came up with so far in terms of the interface. The user could call executeContract and executeContract invokes invokeContract after calling 'require'. ensure is called after executeContract to ensure the correctness of what is returned by invokeContract. This code also...

What do I need to know before I sell a software license?

I've developed a web-based application that a company is interested in licensing. I suspect they intend to appropriate the features they want, and add to their existing codebase, so a license is likely to be a one-time affair. Since it's interpreted at run-time, I'd have to turn over the source, and it's not immediately apparent that I c...

Should i program alongside a webdeveloper if i am not a webdeveloper?

I want to develop a site and maintain it. I dont do web development (i know some php and sql). It will have significant ajax. Should i program this site and pay a web developer to do this with me or should i have him do it all and check the code for quality purposes? I'm mostly afraid javascript and ajax will take me to long to write an...

Freelance web development: who pays for hosting?

I've never bid on any freelance jobs on GetACoder, eLance, oDesk etc. I've only done sites for friends and family so I've setup the hosting and have performed any updates that we needed after the initial design myself. I know it probably varies from job-to-job, but what is the typical arrangement for hosting and subsequent maintenance ...

Consuming a method not mentioned in OperationContract

I have a WCF services. Which has two methods, say Get and Save. I want to expose only the Get method to the third party who will be consuming the service while my application should be able to consume both Get and Save. Is there a way to consume a method not in OperationContract? I am thinking of verifying the host name of the request a...