|
Thanks for the reply Luc.
Starting to think that may be the solution, but it does seem to be a rather large sledgehammer to crack a pretty small nut lol! Particularly when considering the fact that all of the other sites on the same server use the same source code (albeit in differently versioned dlls) and are all just hunky dory
Having already unregistered and reregistered asp.net, a reinstall of the site would probably be the next logical step, with a reinstall of the framework if that doesn't fix it.
Many thanks
C# has already designed away most of the tedium of C++.
|
|
|
|
|
You're welcome.
You aren't trying to mix .NET versions on a single IIS, are you? as that is not supposed to work AFAIK.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
OK - now that's something we DIDN'T know....though we do have that situation on many of our other servers.....wondering now if you're actually correct and it's not SUPPOSED to work, we've just been lucky in that it has, but now we're seeing the problem.
Again, many thanks chap.
C# has already designed away most of the tedium of C++.
|
|
|
|
|
It can be that you have encoded your connection string and while the user account has sufficient permissions to decode it on your own servers, it doesn't has so on the production servers.
|
|
|
|
|
Hi,
We aquired another company some time ago. That company used to be a software vendor which used the Delphi7 language to make their applications. These applications will be retired as they were way past their end-of-life. This brings me to this question. These developers whose world is Delphi, they will be writing software for us using the .Net framework (3.5/4.0) and C#. We have a number of dead-tree books here, but I was wondering if there is a good place online to learn C#. They already have the concepts of OOP.
What online course can you recommend for them? It needs to be available internationally, since the developers are in Europe and some in the Asia.
Thanks for advice!
The consumer isn't a moron; she is your wife.
|
|
|
|
|
.NET Book Zero[^] by Charles Petzold, is a great starting point for experienced programmers to learn C# and .NET basics.
I must get a clever new signature for 2011.
|
|
|
|
|
|
IMO any "dead-tree book" as you call 'em will be better than the typical on-line stuff.
I have studied many over the years, I can't tell you which one is best, and it is pretty subjective anyway.
Wrox has a nice one, Microsoft's Step by Step series is good too.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
I needed a quick term for physical book (offline book?). The books I have here are 900+ pages, so I'm not sure whether to call 'm reference books or studymaterial.
Thanx for the suggestion, I'll check them out later today (when the mandatory meetings have been dealt with )
A good programmer is someone who always looks both ways before crossing a one-way street. (Doug Linder)
|
|
|
|
|
I like the dead tree term. Most good books will step them through the learning curve plus they can then be used as reference for a while, until the team are up to speed.
You might do well to let them pick their own book however as everyone has there own learning style. A book you like, may not suit the other members of the team.
"You get that on the big jobs."
|
|
|
|
|
I find MSDN to be an excellent resource.
It has all the code snippets and everything!
-
Bits and Bytes Rules!
10(jk)
|
|
|
|
|
Yeah, some of them even compile
|
|
|
|
|
I find the LearnDevNow site (www.learndevnow.com) an excellent resource. The videos are produced by the same people who do the AppDev series, and they are well done, timely, and effective. Best of all, the subscription is only $99 per year, which is a bargain! And of course if you are a serious developer, you have to have a Safari Books Online subscription. www.safaribooksonline.com. I have the universal subscription, which at $42.99 per month is a steal the way I go through technical books. And with that subscription, I have *all* the books, on demand, and can, if I choose, download them to PDF or now even mobi for my Kindle (yay!) for an additional fee. An excellent bargain, both of these.
Lisa Morgan
|
|
|
|
|
This[^] is a good start for the basic's of C# and The Visual Studio Environment.
(maybe not for the more experienced programmer)
Mvg,
André Laan
I used to laugh at Dilbert cartoons, now I often confuse it with reality.
-- Xiangyang Liu --
|
|
|
|
|
|
I moved over to C# from Delphi several years ago, I used the following
.NET 2.0 for Delphi Programmers
http://www.amazon.co.uk/NET-2-0-Delphi-Programmers-Shemitz/dp/1590593863
Microsoft Visual C# Training
http://www.appdev.com/csharp.asp
The learning curve to Winforms was easy, getting up to Silverlight/WPF took a bit longer and much more effort.
|
|
|
|
|
For a website, I personally love http://code.professor-mustard.org/index.htm[^]. There are some "beginner" programming concepts in there, but it's laid out well enough that an experienced programmer from another OO language could navigate around to find the bits they are looking for. It's a one way site where the author remains anonymous (i.e. no blog, forum, or contact area).
The other "indispensable" book for me is "C# 4.0 in a Nutshell" by author's Joe & Ben Albahari. These are the same guys who wrote the program LINQPad[^]. It covers the entire gamut of the language and can be a great read through as well as a great desktop reference. Especially for experienced OO developers coming to C#.NET.
-Brian Hall-
|
|
|
|
|
Thanks for the links people!
A good programmer is someone who always looks both ways before crossing a one-way street. (Doug Linder)
|
|
|
|
|
|
I've been using Safari Books Online for several years now. They have a large selection of C# books as well as Visual Studio, SQL Server, Oracle and almost any other technical subject. You can compare books, search particular topics and copy code from the books into your projects. They have several plans, but the full access lets you ready any book they have and includes training videos. The monthly cost of the full plan is less than most computer books.
|
|
|
|
|
Hi HelfDane,
Please note this alleged quote from a direct message from AppDev: re what they provide that LearnDevNow does not: (link to where I found this on request):
"LearnNow, LLC (owner of http://www.learndevnow.com) is a separate, Internet-only, company that has an exclusive reselling arrangement with AppDev. LearnNow, LLC only licenses our streaming media and sample files. They do not have access to our written courseware, hands on labs, the AppDev Edge site, AppDev support, etc… Those are the reasons for the difference in price; however they are definitely an official reseller and are legit."
First, I'm going to assume that all your programmers, independent of location, will be using materials in English: if that assumption is incorrect: just disregard what follows except for your English reading folks, please.
Second: I think you need to narrow the range of what you are looking for here: are your employees going to be morphing from Delphi to exactly what in the "NET.verse" ? ... ASP.NET, WPF, SilverLight, Win Phone 7 development, Windows Forms, websites using new initiatives from MS like "Matrix," ... or ... ? Are they doing server-side, client-side, or doing both ? If either-side, within ASP-whatever-flavour, are they going to plunge for MVVM, or the latest monster framework, named by a set of varying initials, between two "M's," from MS (at least "Matrix" doesn't have two "M's.") ?
Are they going to be heavily oriented to the "newer" .NET C# programming style "creeping over" from F#, and other "functional languages," using 'dynamic,' 'var,' LINQ==>everything, and, everything==>LINQ ?
If what they are doing now involves a lot of XML, you might evaluate what that means in terms of their willingness, and ability, the costs/benefits, etc., of their coming up to speed with XAML, essential to WPF and SilverLight.
Third, I'm going to argue that buying your programmers carefully selected latest version C# books by Jesse Liberty, Matthew McDonald, Jon Skeet, Andrew Troelsen, Chris Sells, and getting them up to speed on using CodeProject and StackOverFlow as self-education tools, and vast resources of code examples, tutorials, in-depth discussions of the warts, and the glories, of MS Tools and technologies, etc. : is a better investment than these on-line video subscription services (of course many of these books can be bought, for less, as PDF files ... and I bet you could get a discount from publishers if you bought ten copies each). This recommendation certainly reflects my bias that you learn more from intense concentration studying a book coupled with hands-on coding experiments, and prototyping, than watching video.
imho there is no better resource anywhere for educating yourself re .NET and C# than CodeProject !
And StackOverFlow, a different paradigm, a different paradise, imho, is just as valuable. On StackOverFlow, not only will you find that one-of-a-kind "Mt. Everest" of the C# and .NET universe, Jon Skeet, but also luminaries like Marc Gravell, a virtual one-man encyclopedia of .NET and C#, who make comments, and long replies, often with working code examples, worth their "weight in gold." His comments are so frequent I wonder when he sleeps, if ever !
Plus, you've got excellent blogs coming from the many MS MVP's, many active here on CP, publishing articles, and so generously contributing their time in responses to others' articles, and in response to questions, etc. To mention only two of these remarkably generous MVP guides participating here: the phenomenal Luc Pattyn, and the ever-responsive, all round .NET guru, and Exalted Sublime Mage of the WPF Disciples, Pete O'Hanlon.
Then you've got the really excellent blogs from MS employees that range from top-down, broad-overview, vision of .NET's future (like Scott Guthrie's great blogs), to advanced technical explorations with invaluable examples (I'm thinking of Eric Lippert 's blogs, here, in particular, from which I have learned so much).
Lastly, depending on how vital to your company's future this transition is, and the resources you have on hand: I'd suggest you hire a consultant to create a detailed curriculum custom-tailored to facilitate this transition: someone with a deep background in the humanities, experience as a teacher at the University level, and someone who can write articulately, with a sense of humour, and a mastery of metaphor, as well as relate to, and build educational relationships with, programmers, as well as technical managers. Someone who has had their name in the about-boxes, as a full team-member, of world-known name-brand software products that have generated millions of dollars in revenues, and who thinks that's much less important, in the long run, now, than finishing his current novel
Very strange: but, the only person that immediately comes to mind, capable of performing such a magician's act, while not letting any rabid rabbits escape, is: myself
Of course, that's mere self-mocking pseudo-vanity from an old guy who's about as hot as an iceberg technically right now: and, if I were in your shoes, I'd consider hiring Somali pirates to hi-jack any or all of Skeet, Gravell, O'Hanlon, Sells, Pattyn, Liberty, or MacDonald, or Petzold ... and maybe give them a bounty for Chris Maunder ?
best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
modified on Friday, March 4, 2011 3:50 AM
|
|
|
|
|
<a href="http://guru-code.blogspot.com/">http:
This is a good blog you can get good solution from that.
|
|
|
|
|
Hello friends.
I hv one application that runs continuously for Month or two.And the application is using any remote PC database.
When i start the application i set all connection object required for that.
In some of the cases When i go for insert/update/delete operation at that time connection is broken so application stops working.it goes into idle state.Nothing is happening over there.
So i want to check that is there connection is exist or not with Remote PC in C#.NET?
Please reply.
Thanks in advance.
modified on Friday, February 18, 2011 2:25 AM
|
|
|
|
|
I don't think you are doing this in the most efficient manner. Most guides agree that you should only open a connection to the database when you need to perform some function, and you should immediately close it afterwards. This should allow you to check whether the connection is available when you need it, rather than checking when your app starts, and then assuming it still exists at some later time.
I must get a clever new signature for 2011.
|
|
|
|
|
Yes i am already doing it in this way.
i am going to open the connection when i need to perform Insert/Update/Delete.
<br />
public void Insert(string str)<br />
{<br />
try<br />
{<br />
if (con.State == ConnectionState.Open)<br />
{<br />
con.Close();<br />
}<br />
con.Open();
cmd = new SqlCommand(str, con);
cmd.ExecuteNonQuery();<br />
}<br />
catch<br />
{ }<br />
finally<br />
{<br />
con.Close();<br />
}<br />
}<br />
|
|
|
|
|