|
Kevin Marois wrote: I'm curious what people are using for application security in WPF/Windows apps? I personally don't like the .Net Framework Security.
I'm relying on Active Directory; has little to do with likings, I'm simply outsourcing that part of the development to Microsoft
Bastard Programmer from Hell
|
|
|
|
|
I am doing a project title "Evaluating the efficacy of FEC coding in Network packet loss" I need report and code for this project..
|
|
|
|
|
This is really not a valid question. You cannot just post the title of your thesis and expect someone to provide the complete solution for you. If you cannot make the effort to do your own work then you cannot reasonably expect anyone else to do it for you?
|
|
|
|
|
Basavaraj Neelagund wrote: need report and code for this project..
Steps to achieve that.
1. Research the topic.
2. Learn to code
3. Write the code
4. test the code
5. Write the report (presuming that is different than the code.)
|
|
|
|
|
FEC in network packet loss? ...packets use CRC checks to determine errors, then retransmit when detected... are you sure your report even makes sense? 
|
|
|
|
|
and I need money; you give me money and I'll tell you where to find what you want.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
You don't seem to want to do much work. Let me introduce you to my friend Google. [^]
|
|
|
|
|
Your link is broken... It seems we can't meet your friend...

|
|
|
|
|
Odd. Works for me. No, don't tell me it's an invisible friend.
|
|
|
|
|
wizardzz wrote: No, don't tell me it's an invisible friend.
Does this friend talk to you and tell you to do bad things to other people? 
|
|
|
|
|
My real friends do enough of that.
|
|
|
|
|
Let me be honest here. I am quite rusty having not done any development work for past year. Now, I am planning to create a WCF service based application. I am planning to go for a basic 3-tier architecture and using LINQ2SQL in the background.
I need to know the following:
1. How good is LINQ2SQL provided that I use the objects carefully and dispose them as soon as they are out of use? Is it good enough when we have large number of joins and sometimes, image and file streaming involved?
2. I know I do not need this but how easy or difficult it will be to move to a new database provider if I use LINQ2SQL? Is IOC a better choice?
3. If I go for IOC, has MS done anything good with Enterprise Library recently? I have used V4 and V3 and I didn't quite liked it.
"The worst code you'll come across is code you wrote last year.", wizardzz[ ^]
|
|
|
|
|
Look at Castle. It provides an excellent container, WcfFacility and ActiveRecord.
http://docs.castleproject.org/[^]
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
(if you can suggest a better subjet text...)
In Windows Explorer when you copy/paste a file in a folder you will have something like:
test.txt
test - Copy.txt
test - Copy (2).txt
test - Copy (3).txt
...
and if you copy/paste
test.txt
test - Copy.txt
test - Copy - Copy.txt
test - Copy - Copy (2).txt
Is there a known (described in the Windows UI guideline) algorithm for that?
Is it simple brute force search for the "next valid" name ?
Thanks.
Max.
Watched code never compiles.
modified 25-May-12 15:41pm.
|
|
|
|
|
Why don't you name them TWINS
Jago
|
|
|
|
|
Huh?
Watched code never compiles.
|
|
|
|
|
The way that Windows names files on clash depends on your Windows version. Easiest way to duplicate this is by getting the filename, and checking if there's an entry in the same directory with that constant attached;
SomeDocument.docx
OtherFile.txt
Dialogs.bin
SomeDocument - Copy.docx
Desktop.ini
Iterate the files, check for the constant - and add 1 to the value if appropriate. AFAIK, there's no existing API that does this for you. If there is, I definitely like to know
Bastard Programmer from Hell
|
|
|
|
|
Yeah, that's what I tought.
Thanks.
Watched code never compiles.
|
|
|
|
|
I was wondering if there are any design patterns in object oriented programming that address cross cutting concerns, i.e. I'm looking for approaches that don't involve an aspect oriented language (or AOP features added to an existing OOP language).
The closest I've come to so far is the decorator pattern. Say you have a class with a method called doIt. You want to log (a classic cross cutting concern) the results of this method, so you create a decorator class to wrap the original class. Inside its doIt method, it logs the results returned from the object it's decorating.
Thoughts?
|
|
|
|
|
Leslie Sanford wrote: , so you create a decorator class to wrap the original class. Inside its doIt
method, it logs the results returned from the object it's decorating.
Thoughts?
Sounds like a nice academical excercise; you'd be creating an additional (and relatively complex) object for every class that you'll be using. That might amount to a lot of work.
Simplest solution is a static class (would work similar to Debug.Print), solution I like most would be injection (Some ILogger), solution to be advised would be the logging component of the EntLib.
Bastard Programmer from Hell
|
|
|
|
|
Eddy Vluggen wrote: you'd be creating an additional (and relatively complex) object for every class that you'll be using. That might amount to a lot of work.
Sounds more like 'will' to me.
|
|
|
|
|
Leslie Sanford wrote: I was wondering if there are any design patterns in object oriented programming that address cross cutting concerns,
As stated I doubt it. There might be a pattern for specific situations but I don't suppose it can be generalized for all situations.
Leslie Sanford wrote: You want to log (a classic cross cutting concern) the results of this method, so you create a decorator class to wrap the original class
Nope. Not how I would do it at all. I have been doing logging for 20 years and originally I thought that very idea (logging on all methods) was a good approach. Spending that same 20 years creating back end servers and some with very high volumes I now realize that that sort of approach does not work. One must carefully place logging with careful consideration, otherwise one must deal with massive logs (hundreds of gigs daily) and be overwhelmed with non-essential data when trying to diagnose the very problems that logs exist to solve.
I suspect that a database API layer where one wants logging might be a better example in that one might want to track the actual database calls. However for a case like that I would generate the API code anyways rather than trying to dynamically impose a solution.
|
|
|
|
|
If you are using Castle you can wire up interceptors.
http://docs.castleproject.org/[^]
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
Interesting topic.
I agree with jschell. It is really hard to get the right data logged out from compiled software. It really requires a multidimensional matrix e.g. class x instance id x methods or something like that.
Since, you will never get coders to insert handles in each and every method, the only viable solutions I can see are
1) a set of base classes with carefully placed handles,
2) AOP or
3) code generation.
I think some OOP Patterns like Command, Stategy and State tries to structure computation in a uniform manner, so base classes supporting these patterns might be the place to add handles into.
At work we make code generated Command implementations. If we have the logging level set to debug, we get a log entry when a command completes/aborts. In most cases this is information overload, so we instead raise the the General logging level to Info and add some logging exceptions per class. However, this is currently requiring a recompile.... Pattern-wise this should be possible to generalize e.g. into a LoggingManager with a configuration that can be changed at runtime.
Log4Net can monitor when its config file is changed at runtime. Maybe it also can filter logging based on classes, but I don't think there is a concept filtering per entity id or method tags.
|
|
|
|
|
Dear All,
I want to develop an Hospital Management System, that will include EMR(Electronic Medical Records)
This will be a Huge Application, But i am Stuck, From Where to Start.
I am Developing in .Net and Ms Sql
So, if any one has already developed something like this. I have already started work on this.
Any Scope documents, Features List, DFD etc
All Help is Appreciated
Thanks in Advance
Santosh Pathak
Business Analyst | Project Manager
www.regaliya.com
|
|
|
|