Boy Genius Report .NET Framework Programming in Visual Studio This section of the documentation discusses application development with the .NET Framework in Visual Basic, Visual C#, Visual J#, or Visual C++. Any of these programming languages can be used equally well in the subjects covered in this section. Applications are built on the services of the common language runtime and take advantage of the .NET Framework class library. You can download the .NET Framework 3.5 from the Microsoft Download Center. Provides a table of links to the main technology areas of the .NET Framework. Describes key features that have been added or modified in the latest versions of the .NET Framework. Describes key .NET Framework concepts such as the common language runtime, the common type system (CTS), cross-language interoperability, managed execution, assemblies, and security. Discusses aspects of incorporating data access functionality into your applications. Discusses security issues covering the lifetime of an application.
C# Tutorials (C#) The C# tutorials provide an overview of the basics of the language and identify important language features. Each tutorial includes one or more sample programs. The tutorials discuss the sample code plus provide additional background information. They also link to the corresponding sample abstract topics, where you can download and run the sample programs. See Also WOW! eBook Book Description Design and build Web APIs for a broad range of clients—including browsers and mobile devices—that can adapt to change over time. This practical, hands-on guide takes you through the theory and tools you need to build evolvable HTTP services with Microsoft’s ASP.NET Web API framework. In the process, you’ll learn how design and implement a real-world Web API. Ideal for experienced .NET developers, this book’s sections on basic Web API theory and design also apply to developers who work with other development stacks such as Java, Ruby, PHP, and Node. Table of Contents Chapter 1. Develop next-generation web applications with ASP.NET MVC Go deep into the architecture and features of ASP.NET MVC 5, and learn how to build web applications that work well on both the desktop and mobile devices. Discover how to: Table of Contents Download Now » Table of Contents Chapter 1. Comprehensive guide to Visual Studio 2013 Visual Studio is your essential tool for Windows programming.
Slashdot Stories (10) Threading in C# - Free E-book Threading in C# Joseph Albahari Last updated: 2011-4-27 Translations: Chinese | Czech | Persian | Russian | Japanese Download PDF Part 1: Getting Started C# supports parallel execution of code through multithreading. A C# client program (Console, WPF, or Windows Forms) starts in a single thread created automatically by the CLR and operating system (the “main” thread), and is made multithreaded by creating additional threads. All examples assume the following namespaces are imported: using System; using System.Threading; class ThreadTest{ static void Main() { Thread t = new Thread (WriteY); t.Start(); for (int i = 0; i < 1000; i++) Console.Write ("x"); } static void WriteY() { for (int i = 0; i < 1000; i++) Console.Write ("y"); }} The main thread creates a new thread t on which it runs a method that repeatedly prints the character “y”. Once started, a thread’s IsAlive property returns true, until the point where the thread ends. Done static void Go(){ if (! Done Done (usually!) Join and Sleep
Delegates Tutorial (C#) This tutorial demonstrates the delegate types. It shows how to map delegates to static and instance methods, and how to combine them (multicast). Sample Files Further Reading Tutorial A delegate in C# is similar to a function pointer in C or C++. A delegate declaration defines a type that encapsulates a method with a particular set of arguments and return type. An interesting and useful property of a delegate is that it does not know or care about the class of the object that it references. Note Delegates run under the caller's security permissions, not the declarer's permissions. This tutorial includes two examples: Example 1 shows how to declare, instantiate, and call a delegate. In addition, it discusses the following topics: Delegates and Events Delegates vs. Example 1 The following example illustrates declaring, instantiating, and using a delegate. The use of delegates promotes good separation of functionality between the bookstore database and the client code. Output Code Discussion
Code Arsenal Tonido - Run your own Personal Cloud