--- Jeff <[EMAIL PROTECTED]> wrote:
> is there a "rule of thumb" that will tell us whether we should use com+ for
> our db transactions or not? We are converting a system from com/vb
> to .net. I am trying to figure out whether we should just keep our
> transaction layer in ado.net, the sproc le
--- Daniel Morgan <[EMAIL PROTECTED]> wrote:
> If I read the docs correctly, Close ( ) calls Dispose ( ) for the
> Connection.
Yes.
> However, I would like to know more about the proper way to dispose of
> resources.
If an object implements Dispose() then you should call it when you are complet
--- "Marsh, Drew" <[EMAIL PROTECTED]> wrote:
> Brian Weeres [mailto:[EMAIL PROTECTED]] wrote:
>
> > That's not quite what I was looking for. I would like the
> > pages to be cached as long as they are signed in but once
> > they signout I would like to remove them from cache or cause
> > them to h
--- "Beauchemin, Bob" <[EMAIL PROTECTED]> wrote:
> database cursors, so if you don't call it, you will indeed run out of cursors. There
>is at least
> one ADO.NET book out that discusses this. ;-)
I assume this is yours? [1] :-)
> Database programmers are used to calling Close; Dispose is .NET
--- Chris Anderson <[EMAIL PROTECTED]> wrote:
> I just would like to know what the most appropriate techniques are for
> Disposal of ADO.NET objects
>
> Basically..Am I going overkill on the Dispose methods?
Not IMO.
> Also...What resources are actually being disposed?
It depends. The connecti
--- Alex Henderson <[EMAIL PROTECTED]> wrote:
> 1. web server (ASP.Net - C#)
> 2. middleware server (web pages connect via remoting)
> 3. SQL server 2k database backend.
>
> The middleware layer will be quite heavy and I want to make use of caching
> objects etc. to improve the syst
--- Yogesh Shetty <[EMAIL PROTECTED]> wrote:
> I would like to know the view of other developer/architects in this
> group
>
> I am also desperately looking out for benchmark info between VC++ and C#...
> if they have been conducted..
C++ has generics and MI, which can make it preferable for
--- "Marsh, Drew" <[EMAIL PROTECTED]> wrote:
> This avoids the overhead of IEnumerable and IEnumerator and allows the MSJIT
> will optimize away bounds checking on the array.
Wow Drew!
I think it is time you wrote a Scott Meyers-esque Effective .Net book. Ever
considered it? I
would urge you
--- John <[EMAIL PROTECTED]> wrote:
> By giving the aspnet account write permissions to my chosen directorys it
> seems to allow my class to generate the html pages even though write
> permissions is unchecked within IIS.
That's correct. The write option in IIS is a permission for the remote use
--- Mike Woodring <[EMAIL PROTECTED]> wrote:
> As just one example, one of the things that made this list so valuable in
> the early days was the contribution of members of the various .NET
> development teams. This list was effectively a direct pipeline into those
> teams. Participants could po
--- Reggie Burnett <[EMAIL PROTECTED]> wrote:
> It would seem the problem is not just volume but that the volume covers
> the entire spectrum of skill level. .Net is such a new technology that
I agree somewhat, but this list IMHO is currently technically above most newgroups and
other
lists. T
Searching the archive has always been a good source of information in the dotnet list,
and the
atl/dcom lists before them.
Given the new partitioning, is there going to be an easy way to search multiple
list-archives at
once? At a minimum it should be new group + old DOTNET, and I'd prefer if
--- Bill Schmidt <[EMAIL PROTECTED]> wrote:
> Thomas,
>
> Your suggestion about DOTNET-DATA seems like a good one, and I would
> support it. However, this shows the folly of partitioning the list, at all.
Too right. There I was trying to tell the difference between DOTNET and
ADVANCED-DOTNET,
--- Jon Jagger <[EMAIL PROTECTED]> wrote:
> The ECMA C# specification says that you can overload based on ref/out
> parameters. Eg 10.6
>
> interface ITest
> {
> void F(ref int x);
> void F(out int x);
> }
>
> The Microsoft C# compiler used to allow this overload but now it doesn't.
> Does
--- Bryan Batchelder <[EMAIL PROTECTED]> wrote:
> http://www.microsoft.com/windows2000/docs/NLBtech2.doc
Thanks Bryan. I realized that I've actually skimmed this document before - I'll take
the trouble
to read it fully this time!
"When inspecting an arriving packet, all hosts simultaneously pe
--- Thomas Tomiczek <[EMAIL PROTECTED]> wrote:
> You could, for example, compute the hash based on the source IP - so all
> requests form one ip would be handled on one server :-)
:-)
Seriously, has anyone got a link to something describing how this works? I couldn't
find anything
on MSDN.
Ap
--- Greg Reinacker <[EMAIL PROTECTED]> wrote:
> There isn't a single load balancing server, per se. With NLB, there is a
> virtual IP address of the cluster. Every server in the cluster will see
> every request to the virtual IP at it's network interface. Then each
> server individually execute
--- Greg Reinacker <[EMAIL PROTECTED]> wrote:
> Actually, I know of many web farms that are load balanced with NLB. There
> isn't any gathering of performance information with NLB, although as you
> mention the software algorithm does take a small amount of overhead. And
> we've seen in a lab th
--- Andrew Gayter <[EMAIL PROTECTED]> wrote:
> In general web farms don't employ Microsoft Component Load Balancing
> (CLB), or software enabled Network Load Balancing (NLB) due to the
> following reasons
I don't think you can lump these two together. CLB is very niche, because most people
stic
To clarify a previous email:
Clustering service provides:
Windows 2000
Advanced Server - 2 nodes
Data Center - 4 nodes
.Net Servers
Advanced Server - 4 nodes
Data Center - 8 nodes
And all do support some kind of Active/Active clustering (but I've never used it so I
don't know
details). Also,
Ideally you should be able to customize a library to client requirements. That means
the ability
to add logging if required, and the ability to avoid any performance hit if you don't.
That goes
for any concern with cross-cuts the library. Tracing, logging, error-handling etc.
The ability to
--- Brad Wilson <[EMAIL PROTECTED]> wrote:
> However, if you use Windows Load Balancing, my understanding is that the
> multiple machines all appear as one large, single machine to the outside
> world. In that scenario, I'm not sure how/if you could move the request to
> another machine. In realit
--- Brad Wilson <[EMAIL PROTECTED]> wrote:
> Brad Wilson wrote:
>
> > However, if you use Windows Load Balancing, my understanding is that the
> > multiple machines all appear as one large, single machine to the outside
> > world.
>
> My mistake. This is clustering, not load balancing. That'll tea
--- George Mladenov <[EMAIL PROTECTED]> wrote:
> I am trying to design my web application so that it can be run in a web
> farm but I've never actually had any experience with web farms. I am
> assuming that in a web farm some load balancing software (MS Application
> Center?) routes HTTP requests
--- Wayne Lee <[EMAIL PROTECTED]> wrote:
> I have an asp.net app written using c#. What I'd like to do is when
> someone clicks a hyperlink, say:
>
> Click
>
> I'd like that to open a new page, run a db query which returns the
> filename of that doc, and triggers the download of the pdf. A
The issue here is not ASP.Net, but HTML and browser standards. There is no standard,
flexible
equivalent of dialogs, and certainly no equivalent of modal dialogs. The high degree
of
navigational flexibilty presented to users by browsers makes trying to do this as
pleasantly as in
thick client
You can set bookmarks.
Peter
--- Bill Conroy <[EMAIL PROTECTED]> wrote:
> [Yes, I liked something.]
>
> There was a feature "Last Position". For those who never saw it...It
> allowed you to quickly jump to the code where you "just were" if you went
> to another place in code.
>
> Anyone know of
--- Juval Lowy <[EMAIL PROTECTED]> wrote:
> [MethodImpl(MethodImplOptions.Synchronized)]
> public void DoSomething()
> {
> /* Method code */
> }
My personal opinion is that this is a bit of a hack - it's place in the framework is
in Interop
rather than Threading. The documentation seems t
--- Stephen Simpson <[EMAIL PROTECTED]> wrote:
> switch (i)
> {
> case 1:
>StreamReader inFile
> =new StreamReader("type1.txt", Encoding.ASCII);
>FileMgrType1
> fileMgr = new FileMgrType1();
>break;
> case 2:
>StreamReader inFile
> =new StreamR
The ones Brent is talking about are probably on your hard disk:
C:\Program Files\Microsoft.NET\FrameworkSDK\Tool Developers Guide\DOCS
They come with the framework.
Peter
--- "Kompella, Kamesh S APX" <[EMAIL PROTECTED]> wrote:
> I saw lot of replies with reference to section so and so.
> Does
--- franklin gray <[EMAIL PROTECTED]> wrote:
> For connection pooling to work, doesn't the objects that create the connection be
>working in a
> Com+ environment?
In the ADO model connection pooling was implemented by a resource dispenser in the
driver. So it
was in no way dependent on COM+.
I
--- Serge Lidin <[EMAIL PROTECTED]> wrote:
> Clearly, this deficiency needs fixing. And I extend our profound thanks to Brent,
>The Intrepid
> Vigilante of Partition II and Surrounding Territories!
Indeed, perhaps time for a separate partition II mailing list... ;->
Your discussions make me real
--- Ron Jacobs <[EMAIL PROTECTED]> wrote:
> >Compose in any order? Sounds like a good way to get deadlocks.
> >I've found this, whilst a nice sounding idea, isn't very practical.
> >But it could just be me. ;-)
>
> COM+ is designed to prevent deadlocks and has a long history of doing
> just that.
Come on guys! You can expect it all on day one. Microsoft have the same number of
hours in the
day as the rest of us. Given how many years it has taken the Windows API and MFC to
get where
they are I think the level of support in WinForms is pretty amazing.
In many areas it is superior to AP
--- Ron Jacobs <[EMAIL PROTECTED]> wrote:
> There are many benefits that you get in return for a small performance
> cost.
Do you (or anyone else) have any performance data on relative costs?
1) COM+ DTC transactions
2) ADO.Net transactions
3) Stored procedure transactions
> What if you wanted t
--- "Sills, Adam" <[EMAIL PROTECTED]> wrote:
> The goal of our abstracted data classes were to give us the ability, if
> necessary (and I doubt it will ever be necessary), to rewrite the data layer
> for any data source, and have the business layer not know the difference,
> and to provide very si
--- "Knebels, Francis" <[EMAIL PROTECTED]> wrote:
> How do you resolve transactions that span multiple table classes? Say a
> registration need to insert a person and a location if one doesn't exist.
> I've been reading the thread on "developing a middle tier" and from what I
> got is that you ca
--- David Brown <[EMAIL PROTECTED]> wrote:
> Designing a little clock .Net beastie. I'm unable to determine how, if even
> possible, to have .Net tell me when the system clock updates (specifically, the
> second). Currently I have a simple WinForm Timer object at 100ms and checking
> the DateTime.
the sort IMHO. It is
really a
business transactions layer. I usually refer to this as a transactions layer, because
the
difference to the human ear between BLL and BTL can appear too subtle. People can
think they are
the same.
Peter Foreman
__
--- Jacob Grass <[EMAIL PROTECTED]> wrote:
Thanks Jacob - ControlDesigner was what I was after.
> > Links to any good articles on this area would be appreciated.
>
> Any article by Shawn Burke on MSDN.
These certainly seem to be the right thing.
Much appreciated,
Peter
___
A few user controls questions:
1) How do I create a control which has a fixed size in the form design view in VS. I
tried
overriding OnResize but didn't like the effect - is there a better way?
2) ControlStyles - FixedHeight, FixedWidth - what do these actually do?
3) By what mechanism is a U
till use OOA to design this
kind of system.
It just means that there is more of an indirect mapping between analysis and the
implementation
model.
.Net gives you the chance to structure your code better than traditional ASP, COM,
COM+.
Peter Foreman
__
--- Scott Weston <[EMAIL PROTECTED]> wrote:
> What is a really good reference book to buy that has all the functions and such
>listed in
> alphabetical order similar to the msdn help, but better documented? I for one have
>never liked
> MS's documentation or help systems. Books onlien was cool,
be
> moved into managed space by Microsoft in the future, the context
> infrastructure required for it is already there. There will surely still
> be some overhead over manual transaction management, but it will
> hopefully be less than going through COM+.
>
> Regards
> Csaba
>
--- Thomas Tomiczek <[EMAIL PROTECTED]> wrote:
> So if I make a component that MIGHT be used in a transaction with others
> (which, btw,, imho is more or less a requirement if you make "building
> blocks"), then it IS COM+ :-)
I'd wholeheartedly agree that that would be the best route in that cas
1) Is anyone working on AOP for .Net?
2) Is anyone working on or has anyone got anything similar to AspectJ?
3) Are there any mailing lists?
Thanks in advance,
Peter Foreman
__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http
--- Ted Neward <[EMAIL PROTECTED]> wrote:
> Be careful with that DF comment--Chris is already diving into Rotor to
> figure out how to do it
:-)
Of course now it's been publically announced he'll not be able to give up without
losing face.
Peter
__
--- Thomas Tomiczek <[EMAIL PROTECTED]> wrote:
> *** Resources. Like in Just In Tame Activation, like in Resource
> Managers - I was talking of omputer resources.
Given the memory overhead of a context in COM+, JITA is only worthwhile for objects
that take up
quite a bit of memory in terms of da
Myself and everyone else on this list can think of a number of solutions to that.
Do you have some special need for a specific memory layout?
--- Eric Gunnerson <[EMAIL PROTECTED]> wrote:
> The 2048 character limit is an artifact of how we do parsing within the
> IDE. We're considering increasin
ld work.
Again someone could do the same.
There is no real solution to hiding secrets in code. Only things that will make it
harder to
find.
Peter Foreman
__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
You can
--- Ted Faison <[EMAIL PROTECTED]> wrote:
> For detailed information on creating and installing Windows Service
> components, you might also want to check the new book
> "Component-based Development in Visual C#". In the chapter on Services, it
Hey, sounds good, who's the author? Oh, it's you.
much less important in .Net.
Peter Foreman
__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other
e archives for
"obfuscator", and see
[1]. (There is also another product, which I can't recall offhand).
To what extent you can get around it depends on the exact details of your application.
Peter Foreman
[1] http://www.wiseowl.com/products/products.aspx
everytime it happened. ;-)
I would agree but that would rule out most of the best discussions on this mailing
list. Go on
mention deterministic finalisation - I dare you. ;-)
Peter Foreman
[1] http://www.sellsbrothers.com/spout/#conference.net.notes (Day 3)
[2]
http://www.amazon.com/exec/o
nly the other
> way around.
>
> It is really just a very convinient way to avoid writing business logic
> layers that I have had to write for years.
>
> Thanks,
>
> Shawn Wildermuth
> [EMAIL PROTECTED]
>
> > -Original Message-
> > From: dotnet discussi
--- Andreas HÃ¥kansson <[EMAIL PROTECTED]> wrote:
> >*** B - wrong. You ARE invasive if you ask for custom attributes.
> >You will never be able to serialize private attributes "non-invasive".
>
> [Andreas] I would be intressting to see how you could utilize
> aspect-orientated programming to g
with
objects?
Peter Foreman
[1] www.martinfowler.com
--- Shawn Wildermuth <[EMAIL PROTECTED]> wrote:
> On another note, as soon as I finishing shipping my manuscript to the
> publisher, I am going to get back to work on my DBFormatter that would
> allow you to serialize directly t
It's definitely worth looking hard into this before doing it IMO. Depending on the
nature of your
application there are performance implications in going down an OR route.
Scott Ambler's papers are a good starting read. But it's worth having at least a
cursory glance
at CORBA persistence, 'en
ine where possible.
SOAP is relatively costly (at the moment) in terms of 2) data size. A binary protocol
is going to
be lighter.
Peter Foreman
__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
You
--- Simon Robinson <[EMAIL PROTECTED]> wrote:
> I'm guessing these particular complaints actually concern
> other publishers. Dean/Tom - is that correct? (Sorry to
> be pedantic but in the context of this thread it's probably
> important to be clear about that).
To be fair it isn't just Wrox tha
--- Rachael Ross <[EMAIL PROTECTED]> wrote:
> And in this method, after the DataBind() method call, I loop through the
> datagrid items (should be present since I just bound the data to it) and
> test one of my viewstate values for a person's guid and if they've been
> chosen before, check the che
an you not use construction strings? If
several
places use the same information it can be worth putting this in a separate COM+ object
so you only
need to put the construction string in one place. The minor performance hit is worth
it compared
to the lowered ad
What about their Professional ADO.Net Programming?
Peter
--- Marshall Harrison <[EMAIL PROTECTED]> wrote:
> I've gone a little sour on WROX books lately si I think I'll avoid ADO.Net
> Programmer's Reference.
>
> Is it just me or has WROX quality gone down?
>
> Marshall
>
> -Original Message
Any sample chapters to see if it is worth the wait? Shawn, Bob?
Hey what about your books anyway Chris? I hear you've got a top class Windows Forms
book on the
way? :-)
Peter
--- Chris Sells <[EMAIL PROTECTED]> wrote:
> Well, you won't get to see it for a couple more months yet, but I'm reall
--- Steve Holak <[EMAIL PROTECTED]> wrote:
> If it's an object that maintains state, then there's no problem. If it's a
> stateless COM+ component, then no. I do recommend ditching the Intit
> method and initializing the property values in the constructor call :
Doh! We're going round in circl
Although every other browser except IE holds a small market share (even if you add
them all
together), Netscape 4.7, Web TV, etc need to be supported by commercial applications.
It's not
nice, but it is a commercial fact IMHO. Could you imaging the uptake in ASP.Net if
they had left
these beh
at transactional boundaries.
>Dim objMyObject as New TransactionalObject()
>objMyObject.Init(x,y,z)
>For c = 1 TO n
>objMyObject.TransactionalMethod(.. , .. , ..)
>Next
You probably need to move your Init inside the loop, since any state set up
in Init is gone after the first transaction
--- Alan Williams <[EMAIL PROTECTED]> wrote:
> But could you tell me why I should DisableCommit for JIT activated
> objects.
I should really have said for transactional components. (Since you are using
transactions you are
also using JIT activation implicitly). You'll never want to commit a tr
s will be no good to you).
3) Drop COM+. It may be easier to add transactions explicitly in your code.
Peter Foreman
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
You can read messages from the DOTN
MO is quickest tool for doing initial layouts.
My 2pence,
Peter Foreman
--- Rob Mc <[EMAIL PROTECTED]> wrote:
> We are in the early design stages for an ASP.Net application and are trying
> to determine whether to use frames or an IBUYSPY type presentation
> approach. We would ve
70 matches
Mail list logo