Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to start reading about multithreading and parallel computing in C# / .Net 4.0.
I understand the basics of multithreading so I'm looking for something that is going to provide more than just the basics. I'm also looking for something that is up to date with the changes in .Net 4.0.
Can you recommend a book?
Many thanks.
I suppose when it comes to anything in C#, I would recommend CLR via C#. It has got two chapters on threading-parallelprocessing which is a must read.
I would recommend Patterns for Parallel Programming: Understanding and Applying Parallel Patterns with the .NET Framework 4, which cover different senarios and implementation:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=86b3d32b-ad26-4bb8-a3ae-c1637026c3ee&displaylang=en
I'm making my way through http://www.albahari.com/threading/ which I find to be a very useful resource. It's been updated to cover the new parallel options in c# 4.0.
I would recommend this chapter from C# in nutshell 4.0, It's really a greate resource.
Good luck!
Concurrent Programming on Windows by Joe Duffy. It has everything you need to know about concurrency multi-threading including PLINQ.
This will be a good start: Parallel Computing Developer Center
A Tour Through the Parallel Programming Samples for .NET 4
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've built a robust system that has many core functions that might actually get mess to use if I keep on expanding the code - therefore I decided to implement a scripting language and ability for program to read scripts from external files.
My first idea was to use C# by default, but then I've remembered how easy and readable Lua was, so I went with that - sadly, I can't find a simple yet effective library that would allow me to incorporate lua into my software.
tl;dr — is there a simple library one could use to implement lua and thus make usage of software built-in functions way easier? What are your thoughts and opinions on that?
First, there's MoonSharp.
I did experiments with it a while ago. Ultimately, I found it unsuitable for my needs, but it was straightforward to make use of.
Edit: dug up my GitHub repo where I tried this out.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've seen quite a few examples of XMPP clients in .Net, and I've seen quite a few servers in various languages, but I'm looking for a .Net version (opensource if possible) of a XMPP server. It doesn't particularly have to be stable, or full of features, I just want something that works a little. Reliability is not really an issue.
Here are some that I found:
http://code.google.com/p/goodwarejabber/downloads/list (a bit old...)
EDIT: Note the comment below by the author of jabber-net, noting that jabber-net is not for writing servers:
http://code.google.com/p/jabber-net/wiki/FAQ_License
As an alternative, take a look at this SO question:
Jabber-net integration
or at these libraries:
http://code.google.com/p/jabber-net/
that would allow you to create your own (if that is an option for you).
You can download and take a look at trial version of MatriX library. It contains a sample on how to implement your own server.
http://www.ag-software.de/matrix-xmpp-sdk/download/
Download the MatriX for .NET version.
You could ask the support forum for help actually
http://forum.ag-software.de/
Coversant solution : SOAPBOX Server
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
is there a Bible for Sockets programming in .NET that utilizes the 3.0 or later framework? An example of the caliber that I am looking for should be on the level of Concurrent Programming on Windows by Joe Duffy if this were a .NET threading and concurrency question.
C# is my prefered source code book samples but any language on the .NET framework are welcome.
I'm looking for a book, but if there exists a website or blog of similar content, they are welcome too.
I've purchased and read this book:
TCP/IP Sockets in C#: A Practical Guide for Programmers
http://www.amazon.com/TCP-IP-Sockets-Practical-Programmers/dp/0124660517/ref=pd_cp_b_1_img
Its not specific to 3.0, but its a very good book - covers most of what you'd expect to see, and as a beginner to sockets (like I was) it answers the questions you find yourself trying to Google :-)
Shameless self-promotion: I maintain a FAQ on .NET TCP/IP on my blog. It covers things that a lot of books skip over (in particular, proper application protocol design). It doesn't cover things like comparing the three socket APIs (synchronous, async via Begin/End, async via Async) or higher-level APIs (TcpClient, NetworkStream, etc).
CPoW is pretty hefty. I doubt there's a .NET sockets book that addresses the subject to that depth (though I haven't read Adam's recommendation). The best resources I've found are just the classic socket books (e.g., Stevens volume 1). Since the Socket class is almost exactly a 1:1 mapping to WinSock calls, this approach worked quite well for me.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Based on a Memory Efficient Programming question on StackOverflow ..... I want to know about Memory Efficient C# Programming.... Any good Websites/Blogs/Books to know about Memory Efficient C# Programming.....
EDIT:
Some tips how to write Memory Efficient C# Programming....
Rico Mariani's blog is good for general performance, although it's not updated terribly frequently.
Maoni Stephen's blog has a lot of details on the inner workings of the .NET garbage collector.
It doesn't give explicit tips on how to optimize your code, but knowing how the GC works, will help you make the right decisions in many cases.
You may also want to check this questions, as it deals with reducing memory usage of .NET applications.
Along with Websites/Blogs/Books, you should consider Profiler tools too, that will show you the problems in real time...
this post Best C# Profiler? discusses the tools in detail.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 months ago.
Improve this question
What books would you guys recommend if one has been a java developer for years and is now trying to take the c#/asp.net route?
First read this whitepaper:
C# From a Java Developers Perspective
Then, you can move onto books that cover the .NET framework, as you'll see the langauges differences are very quick to learn.
CLR Via C# is a great book for C# for people with experience programming. Especially experience in other managed languages
I have recently done exactly this and found the two most valuable books to be:
CLR via C# by Jeffrey Richter. Very well written and gives a great insight into the .net runtime - lots on the concepts you will already know from java such as garbage collection, threading, generics, etc. Plus really good in depth coverage of c# constructs like delegates and events that don't come with java (yet).
and
Pro C# and the .net 3.5 Platform by Andrew Troelsen. This is much more of a general text on the .net ecosystem. It has an excellent core language section, but then also gives a really good overview of the major libraries and apis - WPF, WCF, ASP.net, etc.
Those should provide you a solid foundation and are both pitched perfectly for the experienced programmer. After that, you'll probably end up looking for something more specific to the technology you are working in - a detailed ASP.net book in your case - but I constantly refer to both of these, so it is money well spent imho.
I find
Pro C# with .NET 3.0, Special Edition
by Andrew Troelsen
Apress © 2007 (1238 pages)
ISBN:9781590598238
to be an excellent book.