|
What is DotNetOpenMail and why do you need to use more than the mail libraries built into the framework ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i've been using it for a long time, i've actually never used the built in library..i once head it was not very good..
|
|
|
|
|
DotNetCoderJunior wrote: .i once head it was not very good.
Never take another person's "advice" without trying it out yourself (at least when it comes to programming )
There are always people who are going to say this or that "sucks" but without trying it yourself you don't know if it's true.
Also that person's advice could be misguided, he could have try'd to use it for something to complex or that it wasn't designed to do.
|
|
|
|
|
Tom Deketelaere wrote: Never take another person's "advice" without trying it out yourself (at least when it comes to programming )
With all due respect, but no undue respect, that's a bit silly. The logical implication is that we should try every possible library and technique and tool in the universe, which means it would take a lifetime to accomplish "hello world".
Obviously one should and must take advice without first-hand investigation, in programming as in every other walk of life. Learning VB6 well enough to make absolutely certain for myself that it sucks is not necessary and would not be productive, for example.
I'd agree though that just reading "somewhere" that something "isn't very good" is not a solid base for dismissal. Especially not when it's the FrameWork, which I think we all know is mostly of very high quality.
|
|
|
|
|
DotNetCoderJunior wrote: i once head it was not very good..
Sounds like a compelling reason to tie yourself to a third party library no-one has heard of, and therefore no-one can help you with. I've been mailing through .ENT code for years, never had a problem. Guess I checked it for myself instead of listening to what I overheard someone say in an elevator.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Christian Graus wrote: third party library no-one has heard of
Christian Graus wrote: .ENT
What library is that, I never heard of it
|
|
|
|
|
Hello people,
I read so many articles why not to use dynamic and how powerful it is, so it can lead to misusage and so on. But I found very few articles, that are really about practical usage, most of them are just examples of what is dynamic and quite simple usage.
I am curious to get some examples, not how it works, but where/when you really need dynamics and why?
Thanks!
|
|
|
|
|
I'm not up-to-date in C# 4.0, but it sounds like the devil to me.
Regards,
Rob Philpott.
|
|
|
|
|
|
@Richard: If you can't or don't want to answer my question, then it's easy - just don't.
I didn't ask you how to google, and if you read my question - I did NOT ask how it works or about simple examples, but about interesting solutions that somebody used about specific problem and has a valid reason to use dynamic.
|
|
|
|
|
I've used C# 4.0 for normal development since .NET 4.0 Beta 1 was released; and I haven't used dynamic a single time. I don't see any use for it except for talking to IronPython code.
There might some interesting other uses for dynamic in combination with custom IDynamicObject implementations; I would have to take a closer look at IDynamicObject.
In fact, the only C# 4.0 feature I use is covariance (and even that only for IEnumerable).
|
|
|
|
|
We have a couple of old COM components that are interacted with using late binding. We use configuration entries to determine which component to call because they have the same signatures, but they talk to different types of components, i.e. one communicates with certain hardware using TCP, while the other uses COM calls directly. The code that controls this is quite gnarly, and isn't fun to write because it requires lots of late binding work which is a complete PITA in .NET.
With dynamic, we can replace this code with a simple class that takes this pain away. So far, it's the only use I can find for using dynamic .
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hey guy,
When to use c# preset attributes in general, like
[MethodImpl(MethodImplOptions.Synchronized)] and is it possible to not use it at all??
Any help appreciated, thanks in advance.
|
|
|
|
|
Use them when you want to specify something that is specified by attributes, and don't use them when you are happy with the default value.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
could you give an example!!!!!
|
|
|
|
|
For your particular example, never use MethodImplOptions.Synchronized
It locks on the Type for static methods and this for instance methods - both bad practice.
Nick
----------------------------------
Be excellent to each other
|
|
|
|
|
Thanks for your nice reply, actually it benefits me a lot, but that's not what I need to know. What I was asking about was "When it become a necessity to use attributes in your code???"
Thanks a lot
|
|
|
|
|
Hi!
I have implimented Client Application Services in my Windows Application. I have a DAL and a Web Application as well. I am using ASP.NET Membership framework to enable my windows application to login a user against the same database that he uses to logon to the website.
The problem is that I can logon with a username and password on the website without any problem but when I try logging on to the windows app I cant authenticate.
I checked my connectionstring, membershipprovider, roleprovider etc but everything is fine. When I logon using my ID I can logon to both windows and web but when I create a new id using the ASP.NET Configuration tool I cannot logon to the windows app. I can logon to the website.
Any thoughts and/or ideas??
Illegal Operation
|
|
|
|
|
You told that your connectionstring,membershipprovider,roleprovider etc. are fine and when you are creating new account, it can't be authenticate..
This might because your new account is still deactivated..so checkout in your database, whether that user is active or not??
|
|
|
|
|
i want to join a tables multiple column with another tables single column, how can i do this. i am getting answer when i m doing it with single column to single column, can any body help me. Thanks in advance
|
|
|
|
|
Have you tried it? Are you getting any errors?
|
|
|
|
|
thank you for your response my problem is solved now
with the help of alias names
|
|
|
|
|
|
This is a SQL question and we have a SQL forum. If you bother to ask there, try to ask a question that actually explains what you want to do, what you've tried and where you are stuck.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
sorry for posting sql question here
thank you for ur response my problem solved now
with the help of alias names
|
|
|
|