On Fri, 3 Mar 2006 12:05:57 -0600, Marc Brooks <[EMAIL PROTECTED]>
wrote:
>
>One other product I didn't see on your list... Compuware's DevPartner
>Studio does an excellent job of source code analysis. You should
>really download the trial and play.
>
Hi Marc, I take a look at the on-line docs b
On Fri, 3 Mar 2006 09:28:55 -0500, Peter Ritchie
<[EMAIL PROTECTED]> wrote:
>...
>The reason I ask about FxCop is that I've been working on a metrics-based
>rule add-in for FxCop. I've been experimenting with reasonable thresholds
>and with what to raise warnings about. FxCop is automatable; but
On Thu, 2 Mar 2006 12:48:37 -0500, Peter Ritchie
>Are you doing any automatic FxCop analysis as well?
I did it in the former project gradually activating one check at time
based on quality requirements (Naming Rules first, then Design Rules,
Maintanability, then Reliability and so on).
In the cu
>For my own curiosity, how will you be using these metrics? Will you be
>using them to monitor evolution of code (e.g. this week MethodA has
>increased in Cyclomatic Complexity by 5 or 10%)? Or would you be looking
>to have the automated tool flag items based on configurable thresholds?
>(e.g. on
Hi all, I'm selecting a tool to collect OO metrics.
The tool I'm looking for hopefully:
- is integrated in VS.NET IDE and easy to use
- have a command line version (to call it in the automatic night buid) and
produce flexible (i.e. XML+XSLT->HTML) reports
- compute/collect the most used OO metrics
Hi Jeff, as I told to Christopher the ObjectDataSource class of ASP.NET 2.0
serve as DataSource to bind a business entity with an ASP.NET 2.0 control
like GridView (note that it's a bidirectional binding):
GridView <---> ObjectDataSource <--+--> my 'Author' Business Entity (Update)
Hi Christopher,
>How can you update a data record (or set of records) without passing in
the changed information as parameters?
I can do it calling the Author.Updade() instance method (the changed
information is in the Author internal state).
The ObjectDataSource class in ASP.NET 2.0 serve as Da
In a Business Layer with Busines Entities with CRUD Behaviors (has
described here [1] at Cap. 'Defining Custom Business Entity Components with
CRUD Behaviors') typically
1) the Update() method have zero parameters
2) the Update() method is in a Business Entity class say Author, while the
SelectAuth
On Fri, 28 Nov 2003 12:55:33 -0800, Shawn A. Van Ness <[EMAIL PROTECTED]>
wrote:
>...At the end of the day,
>the same amount of bits are transmitted in either case (actually,
>fragmenting will have to transfer more).
Just wanna add that it is not all about amount of bits but also about
response-
As you suggested I've strong named all the assemblies and I've given Full
Trust. This help me to exclude that CAS security was the problem.
Running a .NET SDK sample (QuickStart\howto\samples\net\tcpudp\cs chat
sample) I was able to exclude that the problem was on W2K3 network security.
So the pr
Here are some extra infos:
- The remoted object is a CAO (client activated object).
- The CAO is hosted in a .EXE Windows Forms application (while the remotable
object is defined in a .DLL Class Library application).
- All the assemblies (Client WinForm, ServerWinform, Remorable object Class
Libra
I've used the .NET Framework 1.1 Configuration Console.
With it I've:
- Added the remore W2000 Server to the W2003 Server Full Trust Sites
- Increased Assembly trust in W2003 Server of remoted Assembly on W2000
Server (in the W2K svr file system)
- Evaluated Assembly security and all remoting Asse
On Fri, 7 Nov 2003 09:55:46 -0600, james <[EMAIL PROTECTED]> wrote:
>
>Is the 2003 code strongly named and or digitally signed?
>
No, actually it isn't strong named. Does it have to work with W2003 remoting?
Note that when I do remoting from w2k to w2003 I just invert Client with
Server so the ass
I'm testing a remoting application with 2 server:
- SvrA (Windows 2003 Server, VS.NET 2003)
- SvrB (Windows 2000 Server, .NET 1.1)
I can do remoting from SvrA (the client of a Client Activated Object) to
SvrB (the CAO server) but when I try to do remoting from SvrB to SvrA I get
an exception:
Do you already look at this;
http://www.ingorammer.com/RemotingFAQ/BINARYVERSIONMISMATCH.html ?
bye (luKa)
On Wed, 29 Oct 2003 00:34:29 -0500, dotnetminer <[EMAIL PROTECTED]> wrote:
>I am serializing an object and sending it through networkstream to another
>computer. However when i try to deser
Thomas is right,
first of all check if the bug is in the serialization or in the transission.
You can see this: try to deserialize your object just after you have
serialized it (in the 'client') and before sending it. This will help to
localize the bug.
To give you an idea, the code follow.
HT
I would suggest to use specific .NET Data Provider types (as
System.Data.SqlTypes, System.Data.OracleCient, etc) in the Data Layer,
I mean where you are moving data from the Db (with a DataAdapter or with a
DataCommand) to the memory (DataSet, variables, Array, etc.) and vice versa.
That's because
I'm implementing the IXmlSerializable to enable a type to be used with Web
Services.
I've implemented the IXmlSerializable GetSchema() method that does return
the xml schemas for xml serialization of my type .
In debug I can see that the run-time call the GetSchema() method anyway if I
return a s
Thanks Jason! I'll look the code.
bye (luKa)
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
NEW! ASP.NET courses you may be interested in:
2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet
Guerrilla ASP.NET,
How can I get the xml schemas that .NET Framework uses when serializing .NET
built-in datatypes (Byte, Int16, ...)?
TIA, (luKa)
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
NEW! ASP.NET courses you may be interested in:
2 Days of ASP.NET, 29 S
est Driven Development
Comments and suggestions (and helps) are welcome.
Regards,
Luca Minudel
NullableTypes Project Manager
NullableTypes for .NET are a very reliable and efficient version of built-in
value-types that can be Null. NullableTypes pass more than 800 diff
I'm deploying an assembly that is a library
(http://nullabletypes.sourceforge.net/) with an assembly that contains NUnit
tests for that library, all with source code.
The assembly with tests is never signed (no strong name). When I'm deploring
a beta version even the library assembly is not signed
>http://msdn.microsoft.com/msdnmag/issues/1000/metadata/default.aspx
Thanks Brian for the the link, I will read that article.
>The code Matt wrote is currently in C++ and looks very useful so I may
>port it over to C# when I get home tonight. If interested, I can send
>the code on to you.
Yes,
I've found APIs for the MVIS in the doc.
I will search the web for a wrapper.
I've not found APIs for the Assembly hash value.
Are them there?
On Mon, 15 Sep 2003 17:49:34 -0600, Mike Woodring <[EMAIL PROTECTED]> wrote:
>Keeping in mind that I've never used the API myself, I think you'll need t
I like to get a unique identifier of a compiled assembly, this identity will
be attached to results of tests logged in a file.
The assembly source code is available thus it can be changed and/or
recompiled by someone else.
Because one of the assemblies does not have a strong name I cannot rely only
I think it isn't symmetric.
I mean, take a pool of programmers that just know the standard format
characters ("C", "R", "X",...) - they can do ToString("C") and they know
what it means - then count how many of them know about NumberStyles and
IFromatProvider (probably less then 20%) - they can do
I can agree with you Gaurav and Robin but I think that there are two other
options that make ToString and Parse more symmetric:
1) do not accept "C" format for a Decimal, that is Decimal.ToString("C")
should throw a FormatException as it do for "R", "X", etc.
2) actually Decimal.Parse(string) imp
On Tue, 2 Sep 2003 13:04:31 -0500, Robin Debreuil <[EMAIL PROTECTED]> wrote:
>How can it derive that you mean a currency from just a string?
By the currency symbol, i.e. "$1,237,129,843.00" with en-US culture and
"L. 1.237.129.843" with it-IT culture.
ciao, (luKa)
http://nullabletypes.sourceforg
When I use ToString with a Decimal in this way
Decimal d = 1237129843M;
string s = d.ToString("C");
the following way to parse string 's' do NOT work:
Decimal r = Decimal.Parse(s);
indeed I get a FormatException.
To parse 's' I _have_ to do this way:
Decimal r = Decimal.Parse(s
do not guarantee that programmers will do it right so
Attributes (that you suggested), Reflections, FixCop like tools or just
simple human code review came in help.
ciao, (luKa)
>
>-Original Message-
>From: Moderated discussion of advanced .NET topics.
>[mailto:[EMAIL PROTECTED]
I would suggest to use an interface.
Anyway ask yourself who need use that interface (or the GetList method from
the abstract base class) without knowing which is the actual object type.
If you are planning to write code that implements services/functions for all
your BO classes (derived from the
On Thu, 22 May 2003 08:45:42 -0600, Mike Woodring (DevelopMentor)
<[EMAIL PROTECTED]> wrote:
>> Do publisher policies only work with assemblies installed within the
>> GAC?
>
>Correct.
>
I think to remember that the assembly must be strong named but it can be
out of the GAC while the Publisher Po
t;EntityBroker.
>
>Besides this there area couple of source generators outside.
>
>Regards
>
>Thomas Tomiczek
>THONA Consulting Ltd.
>(Microsoft MVP C#/.NET)
>
>
>-Original Message-
>From: Luca Minudel [mailto:[EMAIL PROTECTED]]
>Sent: Mittwoch, 12. Febr
Hello Frans,
I think that statefull/stateless is just an option and it is not the
problem here.
I mean that the interesting part of CMP is the declarative programming
approach: it gives programmers the ability to declare a map from Object
Properties to Db Columns and then automagically obtain
R
I'm looking around to find something similar to Container-Managed
Persistence (CMP, from the Java world) in the .NET world.
I've got this idea because I've just finished to code interfaces and
services that help to code persistence for entity objects just like Bean-
Managed Persistence (BMP, fro
35 matches
Mail list logo